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 dont think it's the case, I remember doing just one DFU flashing : when advertising my app I perform DFU with nrftoolbox and it succeed. I assume that I used softdevcie 7 and a precompiled bootloader which doest resemble to the one given in example (I had no access to code). so my question : can I perform some modifications on the bootloader or in my app to DFU flashing at one step? can you advice me any related source code. :)

Reply
  • I dont think it's the case, I remember doing just one DFU flashing : when advertising my app I perform DFU with nrftoolbox and it succeed. I assume that I used softdevcie 7 and a precompiled bootloader which doest resemble to the one given in example (I had no access to code). so my question : can I perform some modifications on the bootloader or in my app to DFU flashing at one step? can you advice me any related source code. :)

Children
No Data
Related