I need help in implementing Monitor Mode Debugging (MMD) using Segger Embedded Studio development. Can you please provide detailed help and explanation please?
I need help in implementing Monitor Mode Debugging (MMD) using Segger Embedded Studio development. Can you please provide detailed help and explanation please?
Hi.
You can check out this:
https://github.com/NordicPlayground/j-link-monitoring-mode-debugging/#monitor-mode-debugging-in-keil-%C2%B5vision5-and-segger-embedded-studio
Best regards,
Joakim Jakobsen
After I inserted JLINK_MONITOR.c, JLINK_MONITOR.h and SES_NRF52_STARTUP.s in my project. I also followed all instructions but I am keep getting the following errors:
Output/SES_3e Release/Obj/JLINK_MONITOR_ISR_SES.o: in function `DebugMon_Handler':
undefined reference to `JLINK_MONITOR_OnEnter'
Output/SES_3e Release/Obj/JLINK_MONITOR_ISR_SES.o: in function `_WaitForJLinkCmd':
undefined reference to `JLINK_MONITOR_OnPoll'
Output/SES_3e Release/Obj/JLINK_MONITOR_ISR_SES.o: in function `_HandleRestartCPU':
undefined reference to `JLINK_MONITOR_OnExit'
I edited my J-Link additional options in SES with "SetMonModeDebug = 1;SetMonModeVTableAddr = 0x26000" from project in Common configuration
Can you please help with this issue? Do I have to run J-Link script and where do I get it from for my specific device 52840?
Divyesh
It seems like you're not compiling JLINK_MONITOR.c as the linker can't find the references to the functions it contains.
What SDK you using?
Are you using the SoftDevice?
yes SoftDevice
yes SoftDevice
Have you included JLINK_MONITOR.h in main.c?
What SDK are you using?