Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

put a eram variable to a specific address

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR
View previous topic :: View next topic  
Author Message
Duval JP

Bascom Member



Joined: 22 Jun 2004
Posts: 919
Location: France

france.gif
PostPosted: Sat Feb 14, 2015 4:23 pm    Post subject: put a eram variable to a specific address Reply with quote

Hello,

what had to happen happened ...
I made an error in my program, I had to write my eram variable only 2 times a year. I did it every second and reading the memory location has become false Evil or Very Mad
So I try this :
...
...
Dim Emem As Eram Byte At &h66
...

it looks good. but is this correct, in other words

if an EEPROM cell is corrupted, is what others are good ?

thank you very much for your answers
JP

(BASCOM-AVR version : 2.0.7.8 )
Back to top
View user's profile Visit poster's website
MWS

Bascom Member



Joined: 22 Aug 2009
Posts: 1801

blank.gif
PostPosted: Sat Feb 14, 2015 4:47 pm    Post subject: Reply with quote

Unlikely. If you wrote the EEProm once every second, it must have been 28 days of continous run, till 100k writes are done. Furthermore, 100k writes is the guaranteed count, afaik the EEProm was tested up to 900k writes, till memory cells got unreliable.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum