| ||||||||
Technical Support Support Resources Product Information | C51: SPLITTING CODE BETWEEN EPROM AND FLASH/EEPROMInformation in this article applies to:
QUESTIONI'm using the Keil 8051 tools C and Assembly code for a project I'm designing. I need to create 2 separate code areas: one for code in EPROM and one for code in FLASH or EEPROM. The code in the EPROM will be fixed and will never change. The code in the FLASH/EEPROM will be downloaded from time to time to update the firmware. The EPROM must call functions in the FLASH/EEPROM but not vice-versa. What's the best way to go about this? ANSWERThere are a number of good ways to do this. The following method is only one suggestion.
The above "rules" were used in this bootloader example which you may download from the Keil web site. Refer to the ABSTRACT.TXT file for details about the implementation. FORUM THREADSThe following Discussion Forum threads may provide information related to this topic. Last Reviewed: Thursday, September 22, 2005 | |||||||
| ||||||||