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

ble disconnection in dfu mode

Hi All,

i am working on SDK-14.2, i am facing issue with ble disconnection in dfu mode.

by using nrf-Connect in mobile i am upgrading the firmware, but it lost connection when dfu reaches 15-20%. after that it re-connect with device and still in dfu mode.

when i re-Select  the zip file. it start again where dfu stops.

there is one more problem with the speed, it takes around 5-7 min to complete the dfu process.

please see the log in the snapshot.

please help me to resolved the issue.

Thanks,

Prateek

Parents Reply
  • Hi Prateek.

    Have you defined DEBUG in the preprocessor? If not please define DEBUG.

    And add a break point to NRF_LOG_ERROR("Received an error:0x%08x!", error_code); in the function void app_error_handler_bare(uint32_t error_code)

    This is the function found in main.c in the bootloader_secure_ble project:

    void app_error_handler_bare(uint32_t error_code)
    {
        (void)error_code;
        NRF_LOG_ERROR("Received an error: 0x%08x!", error_code);
        NVIC_SystemReset();
    }

    What error code do you get?

    Please post it.

    - Andreas

Children
Related