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

16kB of blank space before my code

I upgraded uVision (from MDK-ARM v3.22 to 3.4) recently. After I tried to compile my project from previous version I noticed that the HEX file became a lot larger than before.

Before, the whole code was put into LR_1 section, but now it is separated in ER_IROM1 and ER_IROM2. ER_IROM2 begins exactly 16kB after end of ER_IROM1 and I found no way to persuade linker to put these section together.

For the moment, my project does not support HEX files as large as this, so I want to get rid of this 16kB useless space that is put in the code.

Lastly, even if I try to load the entire HEX file into my LPC2364, the code does not run as it should.

Parents Reply Children
No data