-
Notifications
You must be signed in to change notification settings - Fork 3k
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
IAR exporter: extended debugger settings template with modifiable options needed for Nordic targets #3911
Conversation
…ions needed for Nordic targets.
@theotherjimmy Could you have a look? |
@anangl does it work with the existing CMSIS DAP firmware from Nordic ? |
Yes. I've tested it with version 0221 on both, NRF51_DK and NRF52_DK. |
@anangl I'm able to start a debug session now but I still can't flash the flash the application from IAR. |
7.60.2 |
/morph export-build |
Result: SUCCESSYour command has finished executing! Here's what you wrote!
Outputmbed Build Number: 133 All exports and builds passed! |
@anangl Please can you update to 7.8 and verify that it works? |
@anangl Any update with IAR 7.8 ? |
@0xc0170 Not yet. I'm in the process of upgrading IAR to 7.8. Unfortunately, my current license does not allow to use version newer than 7.6, so it takes a bit more time (I need license renewal), but it should be finished soon, hopefully. |
I finally checked it with 7.80.4. The behavior is the same (to be exact, almost the same, 7.60.2 reported an unknown option CADI_ID used in the project). The only problem I encounter is that when I plug the board to a USB 3.0 port I get some (probably) communication errors - IAR reports either a memory verification error:
or a problem with loading the flash loader:
When I use a USB 2.0 port instead, the flashing and debugging goes without any problems. Maybe @pan- is encountering a similar problem? But I think it's not related to the exporter, rather to the USB driver used by IAR - when I try to debug with Keil uVision or pyOCD (via plug-in in eclipse), everything works well no matter if I use USB 2.0 or 3.0. |
@anangl Thanks |
Description
The default CMSIS-DAP interface speed (Auto) is causing troubles in debug communication (at least on Nordic's DKs). It was changed to 2 MHz for Nordic targets. An extra option "--drv_vector_table_base=0x0" was also added for these, so the debug session is not started with a jump to the application's reset handler, but to the SoftDevice's one instead.
Status
READY
Migrations
NO
TODO