Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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.
 
Back
Top