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

nrf toolbox dfu max file size

Hi I have a problem when bootloading with nrf toolbox. It seems like when i flash files over 0x10000 in size the program overwrites itself. When i flash files with smaller size it works. I compile my program with gcc and use nrfutil to make a .zip file to download.

Parents
  • I seem to have solved the problem with the dfu. Atleast I think. It seems that we have a type error in the dfu. i changed the typedef uint32_t pstorage_size_t;

    to uint32_t from uint16_t. It seemed like the it wraped around and that was why i got some wiered errors when i flashed my file. The nrf toolbox can then handle ihex 16 files

  • @Andreas: Which SDK version are you using ? I thought typedef uint32_t pstorage_size_t; has always been uint32_t ?

Reply Children
No Data