Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] need help in using eeprom of pic

Status
Not open for further replies.

anzilkhan

Junior Member level 1
Junior Member level 1
Joined
Aug 15, 2010
Messages
18
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,283
Location
india
Activity points
1,399
i'm new at pic programming.Is there a buit in eeprom in 16f72?I dont find any eecon registers.plz help...
 

EEprom is not available however you can always connect a external eeprom with your pic and use if you are in real need for it.
 

thanx for the help.can anybody suggest me another pic with all most the same cost and a builtin eeprom? I can manage my product in a 18 pin pic, if cost can be further reduced...
 

PIC16F88 might work, it's about 2-3 times cheaper, but a lot newer I think.
 

    anzilkhan

    Points: 2
    Helpful Answer Positive Rating
jumper2high said:
PIC16F88 might work, it's about 2-3 times cheaper, but a lot newer I think.
.............thanx i'l make a try..

Added after 4 minutes:

can anybody help me by explaining what is the purpose of eecon2 in programming. I'm not clear about its use from the data sheet. I'm doing it in assembly.
 

EECON2 is not a real register, think of it as a security lock to protect the EE memory from being accidentally written to.

Inside the PIC there is a special sequence you have to follow to allow you to store EE data. The sequence is to write 0x55 then 0xAA to EECON2, note that these are 01010101 and 10101010 in binary so all the bits have to be reversed and written in the space of four instructions for the lock to 'open' and allow data in. It is very unlikely that a crashed program would accidentally manage to do this so the contents of the EE memory should be very secure.

Brian.
 

    anzilkhan

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top