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

why DFU start address difference?

Hello,

In the DFU sample projects provided, the IROM1 address and sizes are different?

DFU debug mode: Start 0x73000 Size 0xB000

DFU NON-debug mode: Start 0x7800 Size 0x6000

Why are these different?

Is is a safe assumption that the start address of the non-debug version is incorrect? It doesn't seem to run.

Thanks

  • Hi,

    The IROM1 settings for both projects are correct. Compared to the non-debug bootloader project, debug-project have the logging module enabled with logging over RTT. The size of the debug-project is therefore bigger, and requires more flash. The bootloader is already located at the top of the flash area so we can't simply increase the size of IROM1 but have to move the start address of the bootloader down to make space for it.

Related