|
|||||||||||
|
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 in the example for implementation details. Last Reviewed: Thursday, February 25, 2021 | ||||||||||
|
|||||||||||
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.