??? 04/10/10 17:15 Read: times |
#174962 - EECON Initiate programming Responding to: ???'s previous message |
Hi Yaniv,
I noticed that you're using 0x54 and 0xA4 as the control sequence to initiate programming. However, that sequence sets bit 2 of EECON in both bytes. In your post you cite the data sheet as providing this control sequence, but the EECON definition table in the data sheet clearly states that you should not set either bit 2 or bit 3. From what I saw the data sheet specified 0x5X and 0xAX as the control sequence, implying that the MSNibble was the functional part of the sequence, allowing you to leave bits 0 and 1 unaltered. I'd suggest you revisit why you chose 4s for the LSNibbles of the control sequence. It may very well have been a typographical error somewhere else in the datasheet. Good luck. Joe P.S. This really is a great posting. |
Topic | Author | Date |
EEPROM Stuck | 01/01/70 00:00 | |
I do not know about Atmel, and ... | 01/01/70 00:00 | |
the problem is in the EECON SFR, just what in it? | 01/01/70 00:00 | |
EECON Initiate programming | 01/01/70 00:00 | |
to Joseph Hebert | 01/01/70 00:00 |