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

nRF52840 Restarting after DFU

Hi, I am facing an issue my product contains Ble dfu update, I tested my code without enabling DFU and it runs fine ... but after enabling dfu and creating package... I update the device using dfutrg file gets uploaded successful and restart to new firmware version but after 7-8 seconds it restart itself multiple times then SHUTDOWN permanently, Also my code also faces issue on Sending data over ble, at first it sends data without any error and works correctly... Later on it start returning NRF_ERROR_NOT_FOUND from function -> sd_ble_gatts_hvx(conn_handle, &hvx_params);

Parents
  • Hi,

    Please try to debug your application after completing DFU to find out what causes it to reboot. Unexpected resets are usually caused by errors being passed to the APP_ERROR_CHECK() macros in the app (Error module).

    Later on it start returning NRF_ERROR_NOT_FOUND from function -> sd_ble_gatts_hvx(conn_handle, &hvx_params);

     Have you made any changes to the initialization of this characteristic since you started getting his error?

Reply
  • Hi,

    Please try to debug your application after completing DFU to find out what causes it to reboot. Unexpected resets are usually caused by errors being passed to the APP_ERROR_CHECK() macros in the app (Error module).

    Later on it start returning NRF_ERROR_NOT_FOUND from function -> sd_ble_gatts_hvx(conn_handle, &hvx_params);

     Have you made any changes to the initialization of this characteristic since you started getting his error?

Children
Related