|ARM Technical Support Knowledge Articles|
Applies to: CX51 C Compiler
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)
Article last edited on: 2006-11-15 17:46:15
Did you find this article helpful? Yes No
How can we improve this article?