----- Original Message ----- From: "Jinx" To: Sent: Tuesday, June 15, 2004 9:26 AM Subject: Re: [PIC]: 16f628 EEPROM woes > > Jinx, I tried that write code segment and that didn't work also > > I'm certain the code is fine. This is what I'm using currently on the > 18F452 and it works OK. It's the 18F equivalent of the 628 code > > save bsf eecon1,wren ;enable write > mov 0x55,eecon2 > mov 0xaa,eecon2 > bsf eecon1,wr ;initiate write cycle > > wrend btfsc eecon1,wr ;wait for WR bit to clear > bra wrend2 > bcf eecon1,wren > return nope, I tried also just writing and reading back.. which didn't work.. > Trying another 628 should tell you what's going on yeah, I tried three.. all out of the same tube.. datestamp 040438H any clues? maybe the 628's have an issue with ee? -andrew -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads