Im using a pic 16f877 with a MPLAB ICD programmer, i have written a = program which takes the voltage converted by the A/D convertor and writes it to eeprom when i use the program in MPLAB simulator the program runs fine, the A/D section of the code runs alone fine both on the sim and on the the chip the EEPROM = write works alone on the sim but MPLAB crashes when i try to program writes on the = chip. Has anybody else experienced this problem or got any ideas as to the = cause? cheers chris -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics