World's most popular travel blog for travel bloggers.

[Solved]: Why we need EEPROM in this micro-controller

, , No Comments
Problem Detail: 

PIC16F887 Block Diagram

According to the block diagram above, since we already have Program Memory, which may be used to store our program, why should we still need EEPROM? What is it for?

Asked By : AlbertK

Answered By : frafl

See EEPROM#Related_types on Wikipedia. Your Program Memory is likely flash memory, which you'll flash (i.e. completely erase and rewrite) with your program every time you like to change it. 8KB is smaller than the usual size of blocks for flash memory, so its unlikely that you can erase only a half or a quarter of your Program Memory.

The program itself may store small quantities of information (a few bytes for important data) without erasing itself by using the EEPROM, which can be written to bytewise (or wordwise).

So the EEPROM is like a tiny hard disk and the Program Memory is more like a tiny rewritable CD.

Best Answer from StackOverflow

Question Source : http://cs.stackexchange.com/questions/11192

 Ask a Question

 Download Related Notes/Documents

0 comments:

Post a Comment

Let us know your responses and feedback