NRF522832 FreeRTOS can't start.

Hi everyone:

I developed an application based on freertos, but when I download it, I found it can not start, but when I use the RTT to connect my device, It worked.

The commend is

nrfutil settings generate --family NRF52 --application app.hex --application-version 0 --bootloader-version 0 --bl-settings-version 2 settings.hex
nrfjprog --eraseall -f NRF52
nrfjprog --program mbr_nrf52_2.4.1_mbr.hex --verify -f NRF52
nrfjprog --program nrf52832_xxaa_mbr.hex --verify -f NRF52
nrfjprog --program app.hex --verify -f NRF52
nrfjprog --program settings.hex --verify -f NRF52
nrfjprog --reset -f NRF52

SDK is 17.1.0.

Best regards,

Lurn.

Parents Reply
  • I just realized you are the same person that I just answered to in the other ticket Slight smile

    I found it can not start, but when I use the RTT to connect my device, It worked

    Could it be that when you connect the RTT, you also connect the UART pins? A floating UART pin (RX in particular), can cause the application to fail. Looking at the ble_app_uart example for reference, in the uart event handler in main.c, you can see that it has the event APP_UART_COMMUNICATION_ERROR, which will trigger an APP_ERROR_CHECK(err), which will reset the application.

    For debugging purposes, see if you have something similar in your application, or try to disable the UART to see if the issue still occurs.

    Best regards,

    Edvin

Children
Related