Jinx, I tried that write code segment and that didn't work also. I also tried writing static data and reading it out but that didn't work either.. maybe my chip is screwed up? Also, I tried writing to it with the programmer and reading it back with the programmer but it came back as 00's.. I don't believe code protect is set, but I'll double check. thanks, andrew -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads