I'm writing a bootloader application and I need to change the start address and size of my program in memory, how do I do this?
This is done by changing the start address and size of the memory segment the program occupies in the project's memory map file. To do this:
- Right click on the project in the project explorer and select Import Memory Map to create a local copy of the memory map file that you can edit.
- Right click on the project in the project explorer and select View Memory Map (as text).
- Locate the segment you want to modify the start address and size of (this is typically the FLASH segment) and edit the start and size attribute as required.
- Re-build your project.
Please sign in to leave a comment.