PDA

View Full Version : pic basic read



raybel
- 4th August 2014, 17:35
Hi
I lost my original pic basic program that I used to program my pic 16f628 now I would like to revise it I have the pic programed how can I retrieve the data back into pic basic so I can edit it,
I can find the data by preforming a read but it is in the 4 digit code which I don't know how to read can any one help me get my pic program back into pic basic???
Thanks Raybel

HenrikOlsson
- 4th August 2014, 19:01
Hi,

how can I retrieve the data back into pic basic so I can edit it
I'm sorry to say it but you can't.
You can read the .hex out of the chip and possible run it thru a disasembler to get it from hex to assembly language but that's about as far as you're going to get. There is no way to retreive the original PBP source.

/Henrik.

raybel
- 5th August 2014, 16:52
Thanks Henrik
I was afraid of that ,
one more question is there a way of copying and saving the file at least I could make more of them
right now I only have one and I need a few more even if I cant edit it
or if it was dissembled could I use that file??
Thanks again
Rabel

andywpg
- 5th August 2014, 17:20
If you just want to make more, you don't have to disassemble it - you just read the file off the chip and use that to program more.

towlerg
- 13th August 2014, 00:47
provided that you did not invoke code protection when you originally programmed the PIC