Hi,
I'm trying to setup some application code to be used with a homemade bootloader . The bootloader is set up at the first sector , and my app at 0x1000.
So I have to copy the interrupt vectors of the app in RAM an the remap with MEMMAP.
In the asm options of the project I set RAM_INTVEC and REMAP . It compiles well , but when I look at the .map file it doesn't seems the firts bytes of RAM (0x40000000) are filled with the interrupt vectors ...
I guess I missed something :)
Hello Yann Suisini,
You have to exclude the RAM area to which you copy the INT VECs from the RAM area used by the stack and other variables.
e.g. set IRAM1 to 0x40000100 so RAM area 0x40000000 - 0x400000FF is unused.
Best Reagards, Martin Guenther