Wouter van Ooijen wrote: > You seem to be a few steps ahead of me Rob (now who was arguing that > using more-or-less open software is a bad idea when you want to make > money?). Maybe you also noticed (and asked Mircochip): the 18FXX39 ICSP > guide p7 mentions a full-chip-erase, but table 3-1 shows only partial > erase codes. And code 80h (which is the bulk erase on for instance the > 18Fxx2 chips) is suspiciously missing. Just an omission? Me a few steps ahead of you???? Maybe I took a shortcut ;-). I discovered the duplicate device-IDs when I wanted to added the 18Fxx39 series to the list of supported PICs by my own variant of your XWisp for the Wisp628 programmer. Only after I got some sample chips I was sure it was not a mistake in the datasheets (would not have been the first mistake of that kind!) Before I realised what I was doing I programmed an 18F2539 (as if it were an 18F252) with a 'blink a led' program incl. a bulk-erase! The whole 32 KB of memory can be read normally, but the motor kernel (0x6000 and up) was erased! Apparently the bulk-erase code that is currently in Wisp628 (1.09) seems to work (too) well for the 18Fxx39's! I didn't ask MicroChip more questions. Regards, Rob. -- Rob Hamerling, Vianen, NL phone +31-347-322822 homepage: http://www.robh.nl/ -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads