> I didn't exactly do what you are suggesting so I will try that. I did
> compare the code in the newly burned PIC to the code I copied from the
> original PIC and it did appear to match. Of course I could have missed
> something.
>
> 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:
>
randyabernathyspam_OUT
bellsouth.net
>
> --- On Thu, 6/10/10, Isaac Marino Bavaresco <
RemoveMEisaacbavarescoKILLspam
@spam@yahoo.com.br>
> wrote:
>
>
> From: Isaac Marino Bavaresco <
isaacbavarescospamBeGone
.....yahoo.com.br>
> Subject: Re: [PIC]Copy from unprotected PIC then programming another PIC
> To: "Microcontroller discussion list - Public." <
KILLspampiclist
.....mit.edu>
> Date: Thursday, June 10, 2010, 6:29 PM
>
>
> Em 10/6/2010 19:11, RANDY ABERNATHY escreveu:
> > I copied the HEX code directly from the PIC16C72A. Then I tried just
> burning it into another PIC16F72A and when I put the chip back into the
> circuit, nothing worked. I also tried burning it into a PIC16F72 and that
> didn't work either.
> >
>
> Did you save the file in the HEX file format? It is not just a binary
> image, it is a formated text file with hexadecimal number in it, with a
> definite structure.
>
> Did you read back the PIC that you just programmed? Did the file compare
> with the original?
>
> Try opening the original hex file in MPLAB and check in the program
> memory window to see if the instructions make sense.
>
>
> Best regards,
>
> Isaac
>
>
> > I am using a Microengineering Labs USB programmer and I also have their
> EPIC parallel programmer. This is what I used to copy the code to memory
> and also to burn the code into the new PIC. I have tried both with the same
> results.
> >
> > I hope this helps shed some additional light on the matter.
> >
> > Thanks again,
> >
> > 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:
> >
spam_OUTrandyabernathy
KILLspambellsouth.net
> >
> > --- On Thu, 6/10/10, Jan-Erik Soderholm <
RemoveMEjan-erik.soderholmRemoveME
EraseMEtelia.com>
> wrote:
> >
> >
> > From: Jan-Erik Soderholm <
KILLspamjan-erik.soderholm
spamBeGonetelia.com>
> > Subject: Re: [PIC]Copy from unprotected PIC then programming another PIC
> > To: "Microcontroller discussion list - Public." <
piclist
spammit.edu>
> > Date: Thursday, June 10, 2010, 5:57 PM
> >
> >
> >
> >
> > On 2010-06-10 23:40, RANDY ABERNATHY wrote:
> >
> >> Hello:
> >>
> >> I am fairly new to the PIC family and have some PICs with code in them,
> >> the code isn't protected, at least not according to my Melabs programmer
> >> and the person from whom I received the PIC. I want to copy the code
> >> and then burn it into another PIC, possibly a different PIC. This is a
> >> newbie question for sure.
> >>
> >> The one with the exisiting code is a PIC16C72A and I would like to be
> >> able to burn another PIC16C72A
> >>
> > That would probably be OK.
> >
> >
> >> and also a Flash version of a PIC.
> >>
> > Not "a PIC" as in "any PIC"
> > You probably want to use the PIC16F72.
> >
> >
> >> I have tried just copying and saving the code...
> >>
> > "Saving" how ? Using what tool ?
> > And what did you get efter the "save" ?
> >
> >
> >> then burning it into another PIC
> >> of the same type but nothing works.
> >>
> > Burning *how* ?
> > And what doesn't "work" ??
> >
> >
> >> I know that an "include" file needs to be sent...
> >>
> > Howe do you know that ? And what "include file" ?
> > What you need is the HEX file saved from the old PIC
> > containing the code. Nothing else.
> >
> >
> >> with the functional code and am wondering if that is my
> >> problem, even trying to burn the code into a PIC of the same type as the
> >> one from which the code was copied.
> >>
> >> Your help will be greatly appreciated
> >>
> >> 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:
RemoveMErandyabernathyspamBeGone
RemoveMEbellsouth.net
> >>
>
> __________________________________________________
> Fale com seus amigos de graça com o novo Yahoo! Messenger
>
http://br.messenger.yahoo.com/
>