Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Thread Tools Display Modes
Old 7th April 2008, 05:30 PM   (permalink)
Default Problems with PIC16F877A EEPROM usage...

Hi...

Currently Im using PIC16F877A to construct a pin number lock....

My objective is that I need to save a 6-digits password into the PIC EEPROM so that when the whole circuit is OFF, the password still remain saved in the PIC...

I dont know how to use the EEPROM function in C programming....

Hope everyone can help me here... thanks...

below is the flow chart for your reference that what I need to do...
Attached Images
File Type: jpg flowchart.JPG (29.1 KB, 10 views)
chunei is offline   Reply With Quote
Old 7th April 2008, 08:00 PM   (permalink)
Default

Quote:
Originally Posted by chunei
I dont know how to use the EEPROM function in C programming....
Chapter 3 of the datasheet has what you need. There are step by step instructions for how to read and write to EEPROM. Even has example asm code that you can use to help you write your C code.

There is info in that chapter on how to write to flash as well.

While you're at Microchip's site, the midrange manual has a section on EEPROM, and I'd bet that if you dig through their App Notes you'd probably find more info there.
__________________
=========================
Futz's Microcontrollers & Robotics
=========================
futz is online now   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
NUBE with EEPROM Problems PaulF Micro Controllers 16 14th December 2007 11:02 PM
Simple EEPROM Programmer through Parallel Port mr.lemarc Electronic Projects Design/Ideas/Reviews 18 9th December 2007 03:26 PM
working with eeprom pages? justDIY Micro Controllers 1 7th October 2005 09:21 AM
problems programming a EEPROM 24c64 (inside a silver card) nikaoj13 Micro Controllers 4 17th January 2005 03:32 PM
sequential read to AT24C01A serial EEPROM giaracam Micro Controllers 2 26th October 2004 03:19 AM



All times are GMT. The time now is 04:21 AM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.