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

MMD error

I am adding  JLINK_MOITOR.c and JLINK_MONITOR_ISR_SES.s and add write 

#if CONFIG_JLINK_MONITOR_ENABLED
NVIC_SetPriority(DebugMonitor_IRQn, _PRIO_SD_LOW);
#endif

at starting of main loop but code is not compiling some error is comming pls. see error below.

Output/ble_app_uart_c_pca10040_s132 Release/Obj/JLINK_MONITOR_ISR_SES.o: In function `DebugMon_Handler':
1> D:\NORDIC\Nordic\sdk\nRF5_SDK_16.0.0\examples\ble_central\j-link-monitoring-mode-debugging-master/JLINK_MONITOR_ISR_SES.s:159: undefined reference to `JLINK_MONITOR_OnEnter'
1> Output/ble_app_uart_c_pca10040_s132 Release/Obj/JLINK_MONITOR_ISR_SES.o: In function `_WaitForJLinkCmd':
1> D:\NORDIC\Nordic\sdk\nRF5_SDK_16.0.0\examples\ble_central\j-link-monitoring-mode-debugging-master/JLINK_MONITOR_ISR_SES.s:183: undefined reference to `JLINK_MONITOR_OnPoll'
1> Output/ble_app_uart_c_pca10040_s132 Release/Obj/JLINK_MONITOR_ISR_SES.o: In function `_HandleRestartCPU':
1> D:\NORDIC\Nordic\sdk\nRF5_SDK_16.0.0\examples\ble_central\j-link-monitoring-mode-debugging-master/JLINK_MONITOR_ISR_SES.s:228: undefined reference to `JLINK_MONITOR_OnExit'
Build failed

Parents Reply
  • it can build without error now, but problem is not resolve . 

    I wants to use break point in project but when i set break point then 4 or 5 times working after that goes to NRF_BREAKPOINT_COND, I am using nRF52832. so guide me where is the problem.


    NRF_BREAKPOINT_COND;
    // On assert, the system can only recover with a reset.

    #ifndef DEBUG
    NRF_LOG_WARNING("System reset");
    NVIC_SystemReset();
    #else
    app_error_save_and_stop(id, pc, info);
    #endif // DEBUG

Children
No Data
Related