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
  • Bootloader just works like that. Withthat kind of design you don't double your code by having functions of flashing and veryfying the image both in the app and in bootloader. In app you just have to restart (jump) to bootloader and do the rest of the work there. It is a bit annoying using nrftoolbox though, but it is some kind of compromise.

Reply
  • Bootloader just works like that. Withthat kind of design you don't double your code by having functions of flashing and veryfying the image both in the app and in bootloader. In app you just have to restart (jump) to bootloader and do the rest of the work there. It is a bit annoying using nrftoolbox though, but it is some kind of compromise.

Children
No Data
Related