Are you erasing the chip before programming? Have you erased its clock calibration?heers Craig c -----Original Message----- From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf Of= RANDY ABERNATHY Sent: Friday, 11 June 2010 9:07 AM To: Microcontroller discussion list - Public. Subject: Re: [PIC]Copy from unprotected PIC then programming another PIC Thanks, I take it that the programmer may report no protection but in reali= ty there might be protection.=A0 I do have=A0the exact same=A0PIC with=A0al= most the exact=A0code that does show protection is ON.=A0 The PIC I am tryi= ng to read and copy is one with some minor changes that were made to the co= de in the protected chip.=A0 When I read it the protection shows OFF.=A0 Ho= wever, I will be the first to admit things are not always the way they appe= ar.=A0 I will check regarding the fuses you mention. Randy Abernathy CNC and Industrial Machinery = service, repair, installation and = design 4626 Old Stilesboro Rd NW Acworth, GA 30101 Fax: 770-974-5295 Phone: 678-982-0235 E-mail: = randyabernathy@bellsouth.net --- On Thu, 6/10/10, Bob Blick wrote: From: Bob Blick Subject: Re: [PIC]Copy from unprotected PIC then programming another PIC To: "Microcontroller discussion list - Public." Date: Thursday, June 10, 2010, 6:26 PM On Thu, 10 Jun 2010 15:11:02 -0700 (PDT), "RANDY ABERNATHY" said: > I copied=A0the HEX code directly from the PIC16C72A.=A0 Then I tried just > burning it into another PIC16F72A and when I put the chip back into the > circuit, nothing worked.=A0 I also tried burning it into a PIC16F72 and > that didn't work either. > = > I am using a Microengineering Labs USB programmer and I also have their > EPIC parallel programmer.=A0 This is what I used to copy the code to memo= ry > and also to burn the code into the new PIC.=A0 I have tried both with the > same results. A couple of things come to mind. = One is that the PIC may actually be protected so the data you read from it is bad. The second is that the fuses may not be getting saved correctly, so your new PIC, although programmed correctly, may have the wrong oscillator or WDT setting. Cheerful regards, Bob -- = http://www.fastmail.fm - One of many happy users: =A0 http://www.fastmail.fm/docs/quotes.html -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist