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
  • Hi,

    Enable TIMER1_ENABLED in the sdk_config.h

    // <q> TIMER1_ENABLED - Enable TIMER1 instance

    #ifndef TIMER1_ENABLED
    #define TIMER1_ENABLED 1
    #endif

    Sangram singh said:
    I am facing one another problem basically i am  sending some AT command from central to peripheral but after some time its hang and wait app_erroc. c (__disable_irq();->while (loop);->__enable_irq();)  file or ses_startup_nrf52.s file(pls. find attaced file)

    Please create a new support case for the new issue. This is away from the original scope. 

    --Amanda H.

     

Children
Related