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

Using XRAM and EEPROM in CC01

Hi, I'm hoping somebody can answer the following without me having to figure it out the hard way :) -

Im using the Atmel T89C51CC01 for a project. Configuration data is held in the EEPROM and retrieved from the EEPROM and stored in XRAM on startup.

At the moment the two don't need to over lap because im only using under 1K, but now i need to store over 1K.

The question is: Since the XRAM and EEPROM address spaces are shared, i presume i cannot read from the upper 1K of EEPROM and store it into an XRAM variable at the same address (or near by)?

Parents
  • Its not a case of making the EEPROM look like RAM - i treat them as two seperate entities, as you said - Treat EEPROM as an EEPROM.

    I think im getting confused - Is the EEPROM a completely seperate entity from the XRAM, EXCEPT for the fact that the address space is shared i.e. you use the same address lines to access both, but because you esentially select 'EEPROM' or 'XRAM' it gets it from the memory accordingly?

Reply
  • Its not a case of making the EEPROM look like RAM - i treat them as two seperate entities, as you said - Treat EEPROM as an EEPROM.

    I think im getting confused - Is the EEPROM a completely seperate entity from the XRAM, EXCEPT for the fact that the address space is shared i.e. you use the same address lines to access both, but because you esentially select 'EEPROM' or 'XRAM' it gets it from the memory accordingly?

Children