Skip to content
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

[NRF5] Impossible to debug or flash the examples with IAR #39

Closed
pan- opened this issue Dec 12, 2016 · 6 comments
Closed

[NRF5] Impossible to debug or flash the examples with IAR #39

pan- opened this issue Dec 12, 2016 · 6 comments

Comments

@pan-
Copy link
Member

pan- commented Dec 12, 2016

  • Description: It is not possible to flash or debug an application with IAR on the Nordic target. This issue is caused by a bad interaction between CMSIS-DAP IF present on the Nordic boards and IAR CMSIS-DAP debug driver.
  • Workaround: The best solution is to switch to the JLINK IF image and configure the IAR project to use it.
    • Download the JLink IF and install it on the board.
    • Open the exported project in IAR then go to its options.
    • Go to the debugger section
      • In the setup tab choose J-link/J-trace as the debug driver.
      • In the Download tab disable the Use flash loader(s) option.
      • In the Extra options tabs, tick the Use command line options and add the following content: --drv_vector_table_base=0x0.
@0xc0170
Copy link
Contributor

0xc0170 commented Mar 7, 2017

One question - what's the IAR version for this known issue ? Is this still valid for latest IAR stable version - 7.8 ?
[Mirrored to Jira]

@pan-
Copy link
Member Author

pan- commented Mar 7, 2017

yes, it is still valid for the latest stable version of IAR.
The issue lie in the CMSIS DAP IF used on Nordic boards.
[Mirrored to Jira]

@edablan
Copy link

edablan commented Aug 1, 2018

Is this valid for the UBLOX EVK-NINA-B1? It does not use the CMSIS-DAP, but uses a built in J-Link debugger. Though it uses the same nRF52832 Nordic core. I am also noticing issues in debug mode with IAR.
[Mirrored to Jira]

@adbridge
Copy link
Collaborator

adbridge commented Nov 1, 2019

Apologies, this was closed in error by the automated bot - re-opening.

@ciarmcom
Copy link
Member

ciarmcom commented Oct 1, 2020

Thank you for raising this detailed GitHub issue. I am now notifying our internal issue triagers.
Internal Jira reference: https://jira.arm.com/browse/IOTOSM-2060

@pan-
Copy link
Member Author

pan- commented Oct 2, 2020

I'm closing this, IAR isn't supported by Mbed OS 6.

@pan- pan- closed this as completed Oct 2, 2020
wernerlewis added a commit to wernerlewis/mbed-os-example-ble that referenced this issue Apr 15, 2021
Issue ARMmbed#40 is closed, ARMmbed#39 is closed as IAR is no longer supported, and
the default applications described have been changed since this issue
was added. These issues are no longer accurate and should be removed.
wernerlewis added a commit to wernerlewis/mbed-os-example-ble that referenced this issue Apr 15, 2021
Issue ARMmbed#40 is closed, ARMmbed#39 is closed as IAR is no longer supported, and
the default applications described have been changed since this issue
was added. These issues are no longer accurate and should be removed.
paul-szczepanek-arm pushed a commit that referenced this issue Apr 15, 2021
* cmake: Remove mbed_configure_app_target() calls

The CMake function `mbed_configure_app_target()` is now deprecated in
Mbed OS and should not be called in the examples.

* README: Remove incorrect Known Issues section

Issue #40 is closed, #39 is closed as IAR is no longer supported, and
the default applications described have been changed since this issue
was added. These issues are no longer accurate and should be removed.

* README: Fix grammar and markdown style

* README: Add CLI 2 instructions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants