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

Unable to dfu bootloader nrf52

In order to perform dfu to softdevice S132 v3 sdk12 (secure bootloader) from sdk11 softdevice S132 v2 (legacy bootloader).I've change the legacy bootloader as it it says here: devzone.nordicsemi.com/.../

The "fix_legacy_bootloader" works fine if I flash it with a programer but if I try to update with dfu OTA it doesn't work. The dfu process in nRF Toolboox Android app finish succesfully but the dfu services are not advertising. I need it because I have devices that can't be flash again.

I tried creating different zips (only bootloader / SD+bootloader) but I didn't have different results. Also, I tried to dfu the "unfix" legacy bootloader with the same Android App and it works properly, so It can't be the way of creating the image .zip or the app.

The only change I apply are the explained in the previous link:

  • use the dfu_dual_bank_fix.c.
  • Change the BOOTLOADER_REGION_START to 0x78000
  • Change in the target options the IROM1 start adress to 0x78000 in fix legacy bootloader keil project

Do I have to change also the followings defines or not ?

#define BOOTLOADER_SETTINGS_ADDRESS         0x0007F000
#define BOOTLOADER_MBR_PARAMS_PAGE_ADDRESS 0x007E000

What I'm missing?

Thanks.

UPDATE 07/12/2016 Include flash read file in petition of Bjørn Spockeli

nrf52_hexdump.txt

Related