This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

EEPROM on the T89C51CC01

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 ?

Parents
  • 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

Reply
  • 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

Children