NVSRAM vs. EEPROM

Compare the two. I'm designing an 8-bit CPU and I want to know which is better for program storage.

Conventionally in 8 bit CPU's , the 'program' is in UV eraseable ROM or EEPROM, with 'data' memory in RAM or Non volatile RAM.
 
Ill mannered code can corrupt itself in RAM, making debugging difficult. It's just better practice to put it where access/alteration is a process.
 
We used NV SRAM in a Display unit... never again! Some (quite cold) boot ups destroy's the data... Moved to EEPROM never done it since..

Funnily enough, one of the major causes of faults in TV's over the last decade or two has been EEPROM corruption - and this includes Plasma and LCD.

Sharp were one of the main offenders, and even brought out sets that kept three copies of the data, and compared all three - correcting if one was faulty (those sets suffered from EEPROM corruption as well).

I suspect this is why PIC's require the complicated 0x55/0xAA to write to their data EEPROM.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…