> writing to the flash by accident. This is very hard to do > accidentally so you may have made a mistake in writing > to data EEPROM You'd think so, because of the required write sequence > > I am not sure how many % Read the chip and see what's been corrupted and where > > I ended up reprogramming pic fixed the problem Can you use MCLR to try a reset ? It's possible the code has just gone off into space -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist