PDA

View Full Version : Code Copying/Transfer



Anthony
- 26th April 2009, 19:59
I have a programmed PIC 12F675 and I wish to extract the programme and "burn" it onto another PIC 12F675.

I am using a Velleman K8048 programmer along with their supplied Progpic2 and MPASMWIN. I have been able to "READ" the chip and this give me a file (.txt) called readback.

My question is please how do I use the kit I presently have to send this data back to a fresh PIC 12F675. I cannot compile the READBACK file as it gives 153 errors out of 155 lines.

Any help would be greatly appreciated as I have spent days playing around with this and am getting no further forward.

Kind regards

Tony

Bruce
- 26th April 2009, 21:53
If you can read the code from your original 12F675, then it must not be code protected.

Just change the name of the code read from the 1st PIC to whatever.HEX, and program
the 2nd PIC with the saved .HEX file.

You can't re-compile a .HEX file.

Anthony
- 27th April 2009, 18:25
Bruce,

thanks for the update. I will give this ago at the weekend when I get some more time.

Kind regards

Tony