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 .
EEPROM starting address
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!
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.
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
Light travels faster than sound. That's why some people appear bright
until they speak!