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

BLE UART Mode Example test

Hello, I am using the ISP1507-AX and want to compile the BLE UART Mode Example "ble_app_uart_pca10040_s132" with SEGGER Embedded Studio in order to generate a hex file like the  "ble_app_uart_pca10040_s132.hex" which can be loaded on the nRF52832 by using nRF Connect v3.7.0 but during execution of the example I am running into an error and the program stops at NRF_BREAKPOINT_COND in app_error_weak.c. Since I have not changed the example file at all is there any solution for this or are there additional settings to consider.

Thanks for helping!

Parents Reply
  • In the sdk_config.h, you can set
     

    // <q> NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED - For each printed LF, function will add CR.
    
    #ifndef NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED
    #define NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED 0
    #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

    Then, you are supposed to get the RTT log in the segger as 

    Please provide the debug log. Thanks.  

    -Amanda H.

Children
Related