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

example ble_app_uart_c run error

Hi Sir, 


I use the example ble_app_uart_c, the program runs to APP_UART_FIFO_INIT() in uart_init(), an error will occur, and the program jumps to NRF_BREAKPOINT_COND --> System reset, how to fix and set it? 

Development environment:
keil5
Device: nRF52840
SDK: nRFSDK160098a08e2(v16.0.0)
Softdevice ver.: nrf57-7.0.1
DeviceFamilPack: v8.32.1

example: example\ble_central\ble_app_uart_c

Regard and Thanks,

Jacky.

Parents Reply Children
  • Hello Jacky,

    It seems to me that the device fails while initializing the UART module.

    How is your hardware configuration when you power on the device?
    I have tested this example myself, without fail, but I have heard about customers receiving an error when initializing UART with the UART pins floating.
    Could you verify for me that your UART pins are connected to their target when you power on your device?

    Furthermore, your included screenshots does not show which error code is generated.
    Could you add "DEBUG" to your preprocessor defines in the keil project settings?
    This should enable you to see which specific error the app_error_handler is called with.

    Best regards,
    Karl

Related