> What value should it read from the code memory of a brand new device ? > I'm getting all zeros and I expected all ones. I recall having a similar problem when I first started programming 18F's but I can't remember exactly, nor what the cause or solution was. But I strongly recommend that you get a known working programmer, program the PIC with it, and then try to read it with your own progger-in-development. Wouter van Ooijen -- ------------------------------------------- Van Ooijen Technische Informatica: www.voti.nl consultancy, development, PICmicro products docent Hogeschool van Utrecht: www.voti.nl/hvu -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist