Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
MathGeek said:What I don't understand is WHY i have to write 55h and then AAh to EECON2 before I start writing EEPROM on Midrage PICs. Why?
Nigel Goodwin said:MathGeek said:What I don't understand is WHY i have to write 55h and then AAh to EECON2 before I start writing EEPROM on Midrage PICs. Why?
It's VERY simple, EEPROM corruption is an extremely common occurance, both in internal EEPROM and external EEPROM, and is actually one of the largest causes of TV faults today.
By making the conditions for writing to the EEPROM fairly complicated it helps to ensure greater reliability of the data stored there. These specific conditions are highly unlikely to occur by accident or during a device crash.
MathGeek said:I see..........but the numbers 55h and AAh seems totally out of blue.
So random!
Jay.slovak said:I wouldn't say so!
55h = 01010101b
AAh = 10101010b
See that? :lol:
MathGeek said:Oh, I see, they are 1's complement.
MathGeek said:That reminds me of some math prof's problem, where it could be solved only in binary system. No one got it.