This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Device not connecting after DFU OTA

Hi,

I am running the BLE DFU example. I am able to perform the DFU OTA implementation successfully. The problem I am facing is that, once the application has been updated successfully, the device gets disconnected and starts advertising with new name. But when I am trying to connect to it, its disconnecting again and again.

I am using the hrm zip file for updating. The device after updating advertises as Nordic_HRM.But I am not able to connect to it.

  • Hi Bjorn,

    I am now trying to run the secure_ble example in sdk 13. I am able to upload the data over DFU successfully. But after uploading, the device is not coming out of bootloader mode.LED 1 is not glowing, its not advertising..

    Even after switching on and switching off, its not advertising. Could it be crashing in the bootloader?

  • Did you create your own image or did you use one of the test images in the SDK, if so which image did you use? How did you perferom the DFU, with nrfutil or with one of our mobile apps? Are you able to start a debug session in the bootloader and see if you reach the

    nrf_bootloader_app_start(MAIN_APPLICATION_START_ADDR);
    

    statment in nrf_dfu_init () in nrf_dfu.c?

  • Yes,I created my own image. I am performing DFU using nrfConnect.

    While running, I am getting a linker error "ELF/DWARF", as I mentioned previously. Thus I am unable to run the application.

    So I disabled "Include Debug Information" in Options->Linker->Output as suggested in one of the discussions related to ELF/DWARF error. devzone.nordicsemi.com/.../

    Still I am facing the same issue and nor am I able to debug.

    I followed the following blog - devzone.nordicsemi.com/.../ I have cross-referenced the steps multiple times.Am I missing something??

  • HI Bjorn, I was able to fix the nrfutil v 0.5.2 installation problem. The problem was with the python version. I was using python2.5. When I installed pyhthon2.7, I was able to successfully install the nrfutil.

    However after creating the zip file, I am not able to perform DFU operation. When I try to perform DFU, its reaching till "Transmitting firmware update to DFUTarg", but it does not go beyond 0% and disconnects.

    For debugging purpose, I compared the init packet of the zip file given in sdk with the one I created. There seemed to be some differences. Could you plz check and let me know.

  • Are you able to perform DFU with the test images from SDK v11? Also could you post the nrfutil command you used to generate the .zip file?

Related