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

DFU SDK10 peer data not exchanged DfuTarg (normal address + 1)

I'm trying to perform OTA programming with DFU.

when I load only softdevice and bootloader I got address xx:xx:xx:xx:xx:2E

then I load the app with DFU, now the address is xx:xx:xx:xx:xx:2D which means that the peer data is not exchanged

then I try to flash using DFU, I got error, then it jump to DfuTarg advertising again and now DFU is working (it only preform DFU when advertising is DfuTarg)

according to Nordic answer to this question RAM data may be reinitialized. Im' using keil and the bootloader configurations are below. I'm not using any customized linker script

image description

image description

Parents
  • I am not 100% sure but i think the oldest bootloader also worked in similar way. I am using custom script which starts DFU, waits for DfuTarg and performs the rest automatically so I am not annoyed by nrf toolbox. Maybe someone from Nordic will clarify this for You, but i think I have seen thread that described that issue, you can do some search for it here.

Reply
  • I am not 100% sure but i think the oldest bootloader also worked in similar way. I am using custom script which starts DFU, waits for DfuTarg and performs the rest automatically so I am not annoyed by nrf toolbox. Maybe someone from Nordic will clarify this for You, but i think I have seen thread that described that issue, you can do some search for it here.

Children
No Data
Related