My environment is:
JLink Plus v9.3
IAR EWARM 8.30.1
My hardware is a custom board with a Rigaldo BMD300 module (contains the nRF52832) and a few SPI-to-UART bridges.
I can debug code unless the software device is running. I have a problem where my code gets lost after receiving a BLE message so I need to step through the code after the BLE message arrives.
Monitor mode should work but it seems that most of the blog entries for Monitor Mode using IAR have disappeared or are no longer available - like https://devzone.nordicsemi.com/blogs/877/monitor-mode-debugging-revolutionize-the-way-you-d/
I have found the JLINK_MONITOR.h, JLINK_MONITOR.h, and JLINK_MONITOR_ISR_IAR.s files and added them to my project.
What I have not found is how to enter the commands to the JLinkGDBServerCL:
mon exec SetMonModeDebug=1mon exec SetMonModeVTableAddr=0x26000
Any help would be appreciated. I have sent email asking for help to Segger but I've seen turn around time from Segger be anywhere from hours to weeks to never.
I've made a new tutorial for SDK14.2, and working on SDK15, for SES and Keil, but not for IAR.See https://github.com/NordicPlayground/j-link-monitoring-mode-debugging and the SDK14.2 branch."What I have not found is how to enter the commands to the JLinkGDBServerCL:
Any help would be appreciated. I have sent email asking for help to Segger but I've seen turn around time from Segger be anywhere from hours to weeks to never."I believe this should be set in the j-link settings file. I've not used IAR myself, but I believe the setting file is described here https://wiki.segger.com/IAR_EWARM, under 'J-Link settings file'.
See also: https://devzone.nordicsemi.com/f/nordic-q-a/38438/a-working-demo-of-monitor-mode-debug-mmd-on-sdk-15-please
haakonsh said: I have sent email asking for help to Segger
Surely, you need to be asking IAR that?