CX51: LOCATE LIBRARY FUNCTIONS
Information in this article applies to:
I use the Philips 80C51MX architecture. I download code to EEPROM (0xC00000-0xFFFFFF) defined with the ECODE memory class. I also use library functions, but these functions are placed in the CODE memory class (address space 0x800000-0x80FFFF).
How can I link C library code into the EEPROM memory address range?
You may assign the address range of the CODE memory class to any 64KB address space using the LX51 CLASSES Linker directive.
In µVision this is entered under Project — Options — LX51 Locate.
User Classes: CODE (0xC00000-0xC0FFFF)
The following Discussion Forum threads may provide information related to this topic.
Last Reviewed: Wednesday, November 15, 2006
of your data.