Hi all, The Overlay mechanism implemented by Keil is ingenious. Moreover if we want add some functionnality in Eeprom without change ROM code is to my mind impossible because DATA GROUP area will be modified with new local variables used in our new functions in Eeprom. What do you think about this? Thanks a lot, Daniel
On the command line, add NOOL to the linker options. This disables overlaying of variables. Be aware that the use of RAM will most likely increase.
By "Linker Controls" I mean the command-line options for the linker. There are very many Linker Controls for controlling all aspects of the Link & Locate process. See the Linker manual for details.
Thank you Andrew, but what do you mean about linkers control? Is it the following makefile modification in linker part: "DATA(_DATA_GROUP_(<fixed_address>)"?
By careful use of linker controls you should be able to avoid problems. Or, if you don't need to overlay, you could just disable it altogether.
View all questions in Keil forum