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

DFU separate files. inside

nRF52, S132, SDK13.

I need flash two .hex files. One- firmware, second- data. It flashed on a factory. data- veans serial number and other personal chips info. Now I can separate those files and merged first like discribed: devzone.nordicsemi.com/.../

and merged with bootloader. After I can flash via nrf go studio second file with personal data. All works fine. But If I flash app_dfu_package.zip (prepared for first file) by DFU, nRF doesn't work more. I need flash app_dfu_package.zip and don't erase second file. How can I do it?

Parents
  • Hi Mikhail,

    What exactly you mean nRF doesn't work more ? Have you tried to debug if it can get to main() in the application ? Would it be the result of your application data being erased ?

    Where do you locate the your application data ? If you want to preserve your data you need to follow this guide.

    Note that the bootloader assume the application data starts right before the beginning of the bootloader.

    Make sure you also count the room for fds data if you use that module (by default used by peer manager)

  • Hi!

    I located 2.hex by address 0x77800. Nrf52 qfaab0- mean 512k?. Bootloader starts from 0x78000. But after generated packed with bootloader and app. After flash SD and this generated packed - doesn't work my app. Possible, my struct in 2.hex can't read. What is my wrong?

Reply Children
No Data
Related