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
  • Hi Seanbites,

    S132 from SDK v0.9.2 is v1.0.0-3 alpha when the S132 from SDK v11 is v2.0.07 alpha. They are not interchange able. Could you let me know what happens when you :

    1. Flash the S132 softdevice from SDK 11 and bootloader (with no modification) from SDK v11. Would the bootloader advertise ?

    2. Use the bootloader to update the application firmware (let's start with an SDK example application) Would the DFU success ? If not, please track a sniffer trace

    3. If it manages to update the application, please try to do buttonless (switch from application to bootloader) and try update without bonding then with bonding.

Reply
  • Hi Seanbites,

    S132 from SDK v0.9.2 is v1.0.0-3 alpha when the S132 from SDK v11 is v2.0.07 alpha. They are not interchange able. Could you let me know what happens when you :

    1. Flash the S132 softdevice from SDK 11 and bootloader (with no modification) from SDK v11. Would the bootloader advertise ?

    2. Use the bootloader to update the application firmware (let's start with an SDK example application) Would the DFU success ? If not, please track a sniffer trace

    3. If it manages to update the application, please try to do buttonless (switch from application to bootloader) and try update without bonding then with bonding.

Children
No Data
Related