This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

[solved] DFU swap region remains contents

when using secureDFU with sdk12.2, only changed the mac address. my application is more than 60KByte, when i test the firmware for two files, one is 62K and an other is 64K. it got a trouble, when data send througth finish.and bootloader reboot.

it still remains some contents in swap region. try readback the flash what in application and swap region fond it. and s_dfu_settings told it's already finish.

re-send the zip file with nrf connect it will be allright. I'm trying to trace and found what is going wrong. maybe try using the default bootloader without any change。

founded and it's made by me wdt.

when Copy the application down safely app_sched_execute is never called

  • s132 end with 0x1F000

    my bootloader start with 0x76000

    when dfu finish and it did not enter the application.

    read back 0x1F000-0x76000 got 1.hex

    try again and success.

    read back 0x1F000-0x76000 got 2.hex

    compare with 1.hex and 2.hex found it looks like swap did not finished

    0x2C000 in 1.hex got 0xFF and in 2.hex got correct content.

    and check 2.hex found it still in 0x3F000

    my reserved page configed is 5 pages

  • @Jasonbu: if you solved the issue please close it.

Related