-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CORESIGHT_AddAP doesn't execute #189
Comments
Could you try to use the |
If I use the coresight functions instead I would have to define the ir_pre and post and dr_pre and post. I don't know those parameters. How would you do it given the code I provided before? |
AFAIK, you can omit those parameters (they're optional). What have you tried? |
If there are multiple cores on the JTAG chain, then you unfortunately have to use the arguments: https://pylink.readthedocs.io/en/latest/pylink.html#pylink.jlink.JLink.coresight_configure I personally haven't used an ARM device with multiple cores on a single scan chain, so I can't tell you what the arguments you would pass for each of those would be. Sorry to say. I would look up a reference manual for your part to see if it specifies anything about that. I'm guessing the |
@hkpeprah thank you for your response. I will look into this more. |
Hi,
i'm executing a the commands below to connect to Cortex-M55 however I was not successful:
response_1 = jlink.exec_command('CORESIGHT_AddAP = Index=4 Type=AHB-AP Addr=0x00300000')
response_2 = jlink.exec_command('CORESIGHT_SetIndexAHBAPToUse = 4')
It seems that the second command works fine but not the first command. I wrote a jlink script and ran it from keil following the same exact procedure and I was able to connect to the device. I'm trying to override AP[4] address to 0x00300000.
Can someone help me implementing this using pylink?
The text was updated successfully, but these errors were encountered: