On Tue, 2006-08-22 at 11:45 -0700, Harold Hallikainen wrote: > Interesting that the ICD is "smart enough" to not do a bulk erase if the > code protection is disabled, but is dumb if code protection is enabled. I'm pretty sure the ICD2 DOES the bulk erase if code protect is on. Even if it doesn't, you can't blame it for you trying to do something out of spec. > I > GUESS that might be a protective measure keeping someone from erasing the > boot area, dropping in their own dump hex code, and then seeing the rest > of the chip. Right? It has nothing to do with the ICD2. The chip enforces this rule: if code protect is on, a bulk erase is required before any programming takes. If you don't supply the chip enough voltage to do the bulk erase, it won't happen. TTYL -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist