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
  • You have to downgrade back to the previous evaluation version. Keil has added 16kB of blank noise just to make it harder for anyone to use the evaluation version for commercial projects.

    At the same time, they managed to get the evaluation version to fail building at least some of the demo applications that the previous eval version could build. Hopefully, this has already been corrected, but I haven't seen any note to that fact.

Reply
  • You have to downgrade back to the previous evaluation version. Keil has added 16kB of blank noise just to make it harder for anyone to use the evaluation version for commercial projects.

    At the same time, they managed to get the evaluation version to fail building at least some of the demo applications that the previous eval version could build. Hopefully, this has already been corrected, but I haven't seen any note to that fact.

Children