EEPROM starting address

Started by R Ramesh July 29, 2003
Hi
 
I need to store the value in eeprom . I m using PIC 16f877 C Microchip . I dont know which is the starting address of eeprom .
 
i need to store the the time how long my machine run at the customer place .It is possible to store that much data can store .
 
thx
ramesh
 



Hi,
 
It is h'0', and goes up to h'FF'. Look on the data sheet on www.microchip.com for more info.
 
It is possible to store the data, i would write the program so it stores seconds(maybe?), minutes, hours, days, years(maybe?) as seperate addresses. But thinking about it, you would run into problems with the days as you can only to 255 with the pic (8 bit system), so would need somet thinking about! Also leap years, but that is probably going to far!
 
Actually, you have given me an idea! :-) I might put something like that in my programme for a new control system i am working on! Cheers!
 
Paul
----- Original Message -----
From: R Ramesh
To: p...@yahoogroups.com
Sent: Tuesday, July 29, 2003 1:36 PM
Subject: [piclist] EEPROM starting address

Hi
 
I need to store the value in eeprom . I m using PIC 16f877 C Microchip . I dont know which is the starting address of eeprom .
 
i need to store the the time how long my machine run at the customer place .It is possible to store that much data can store .
 
thx
ramesh
 




">Yahoo! Terms of Service.


Ramesh

On the 16F series it begins at 0x2100 on the 18F series 0xF00000

There is 256bytes of EEPROM if this gets filled up you'll need to
code in a rotating address.

There is also an approximate 100,000 write cycles before the EEPROM
starts to fail.

Colin
On Tue, 29 Jul 2003 05:36:24 -0700 (PDT), R Ramesh wrote:
::I need to store the value in eeprom . I m using PIC 16f877 C
::Microchip . I dont know which is the starting address of eeprom .
::
::i need to store the the time how long my machine run at the
::customer place .It is possible to store that much data can store .
::

--
cdb, on 30.07.2003

I have always been a few Dendrites short of an Axon and believe me it
shows.

Light travels faster than sound. That's why some people appear bright
until they speak!