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

Stuck at NRF_BREAKPOINT_COND

I am using TWI sensor example to read data from mpu6050. The program runs without error and showing expected values in watch window. In order to see the real time values i used J-link viewer. Since i am using this for the first time i couldnt connect it with the program first. I changed the NRF_LOG_DEFERRED to 0 in sdk_config.h as seen in a forum about this. When doing this,  program got stuck in NRF_BREAKPOINT_COND in app_error_weak. When i search about this error i have seen solutions like changing the memory regions in Linker configuration file editor. But this didnt help me. My primary objective is to see the values of accelerometer  in realtime.

I am using IAR with nrf 52832 DK and nrf5_SDK_15.3.0 

Parents
  • Hi,

    Have you enabled nrf log module and also the rtt backend?

    // <e> NRF_LOG_ENABLED - nrf_log - Logger
    //==========================================================
    #ifndef NRF_LOG_ENABLED
    #define NRF_LOG_ENABLED 1
    #endif
    
    
    
    //==========================================================
    // <e> NRF_LOG_BACKEND_RTT_ENABLED - nrf_log_backend_rtt - Log RTT backend
    //==========================================================
    #ifndef NRF_LOG_BACKEND_RTT_ENABLED
    #define NRF_LOG_BACKEND_RTT_ENABLED 1
    #endif

Reply
  • Hi,

    Have you enabled nrf log module and also the rtt backend?

    // <e> NRF_LOG_ENABLED - nrf_log - Logger
    //==========================================================
    #ifndef NRF_LOG_ENABLED
    #define NRF_LOG_ENABLED 1
    #endif
    
    
    
    //==========================================================
    // <e> NRF_LOG_BACKEND_RTT_ENABLED - nrf_log_backend_rtt - Log RTT backend
    //==========================================================
    #ifndef NRF_LOG_BACKEND_RTT_ENABLED
    #define NRF_LOG_BACKEND_RTT_ENABLED 1
    #endif

Children
Related