This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Reset Handler Relocation Confusion

Hello,

I am locating executable code at 0x8000 in ROM. The code builds and links fine. However, since the Reset Handler is located at 0x8064 (in memory map) the reset address at 0x0000 is not loaded with the address of the Reset_Handler. I have setup options file to load IROM1 at 0x8000

How can I just place the 4 bytes of the Reset_Handler (0x00008064) at offset 0x00000000 so that I can run test this in the debugger? I have muddled with the scatterfile, but it seems that since the Reset_Handler is embedded in the AREA RESET, CODE, READONLY area I cannot just modify the Load/execution regions because the entire startup code is then located there.

Device is LPC21xx ARM7

Thanks

0