Does anyone now if it's necessary to keep the EEE flag set to 1 of the EECON register (register to manage the internal EEPROM), when you launch the programming sequence on the EEPL bits ?
Ooops! Thx
That was not a link. It was the path to the example program when you have installed the software. Jon
Could you give me a correct link on your web site. I can't find your files of the examples program...
If you are using a recent version of the Keil PK51, you may also take a look to: Keil\C51\EXAMPLES\FarMemory\E2PROM on 80C51RD2. This is a C example that uses far memory to address E2PROM.
Thanks, to clear me that point !
The EEE bit within the EECON is used to select which bank of memory the MOVX instruction is mapped to access. EEE = 1 -> Mapped to EEPROM, EEE = 0 -> Mapped to XRAM For writing to the internal EEPROM, EEE must be set, but dont forget that access to XRAM is not available. Use DATA and IDATA space to store var's that are used when EEE is set. hope this helps Rob
Oops! I forgot, does someone already use the C language to adress the EEPROM in this microcontroller. Or does keil do everything that is needed ? If yes, how ?
View all questions in Keil forum