This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How do I solve this SoftDevice assert when I use IAR monitor mode debugger ?

I have integrated IAR code into my company system. with the Jlink_monitor.c, jlink_monitor.h , jlink_monitor_ISR_ISR.s and enableMonitorMode.mac.

Step 1: I loaded code to Nordic NRF52 target, set breakpoint. Step 2: once IAR hit breakpoint, then I did single step, then system reboot. with the message on the RTT console: :ERROR:SoftDevice assert PC=0x0001089e <==== ==== === It looks like to me IAR still can not work with Nordic NRF52 in monitor mode.

Do you have solution for this case ( IAR, Monitor mode with Nordic NRF52 softDevice) ?

I use nRF5_SDK_12.0.0_12f24da softDevice library.

Parents
  • George,

    As Ole has pointed out, if you follow the directions and caveats in the blog post that he linked to monitor mode debugging under IAR should be functional.

    1. Are you getting the Monitor Mode missing license prompt to indicate the MMD is being invoked. mmd prompt

    2. Are you using the correct jlink-monitor ISR file for IAR Workbench, namely; JLINK_MONITOR_ISR_IAR.s This file is contained in the JLink_Monitor_Code.zip file within the linked blog post.

    3. Have you tried any of the MMD example projects and managed to get those working under IAR/MMD in your environment?

    Once you have verified the above, post back and we can try to help you further.

    Regards

Reply
  • George,

    As Ole has pointed out, if you follow the directions and caveats in the blog post that he linked to monitor mode debugging under IAR should be functional.

    1. Are you getting the Monitor Mode missing license prompt to indicate the MMD is being invoked. mmd prompt

    2. Are you using the correct jlink-monitor ISR file for IAR Workbench, namely; JLINK_MONITOR_ISR_IAR.s This file is contained in the JLink_Monitor_Code.zip file within the linked blog post.

    3. Have you tried any of the MMD example projects and managed to get those working under IAR/MMD in your environment?

    Once you have verified the above, post back and we can try to help you further.

    Regards

Children
No Data
Related