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

dfu fails only if bonded

Hello,

Thanks for reading this! I have an odd behavior on my nrf52832 where I am capable of uploading a new firmware via BLE DFU to the peripheral device if it is not bonded to the central device. However, when I bond, the DFU always fails. I suspect it is for this reason, ie the NOINIT section in the ram is not retaining my bond information when passing to the bootloader. I am using Elcipse GCC, so in order to rectify this, I have to modify this linker script: dfu_gcc_nrf52.ld. I dont know how to do so, can anyone point me in the right direction? Is there any way to check that there is indeed bond information retention?

Thank you very much for your time.

edit for phone screenshot: image description

Parents
  • I uploaded the file using drop box and that issue is solved! The problem was with google drive not recognizing the .zip file as a .zip file. Interesting!

    So that still leaves us with the failure on bonding. It appears to fail at the same spot everytime. I will set up the bootloader for debugging and I will figure out exactly where it fails and get back to you. Thank you so much for your help!

Reply
  • I uploaded the file using drop box and that issue is solved! The problem was with google drive not recognizing the .zip file as a .zip file. Interesting!

    So that still leaves us with the failure on bonding. It appears to fail at the same spot everytime. I will set up the bootloader for debugging and I will figure out exactly where it fails and get back to you. Thank you so much for your help!

Children
No Data
Related