View previous topic :: View next topic |
Author |
Message |
guest Guest
|
is there a way to retrieve the source code again? |
Posted: Wed Nov 23, 2005 1:48 pm |
|
|
Hi,
I accidently deleted all the source code, but I still have the object flashed in the chip. I could read the object file from the chip out ( I hope!)
Is there a way can we convert from the object file to the source code again?
Many thanks.
Jim |
|
|
Guest
|
|
Posted: Wed Nov 23, 2005 2:21 pm |
|
|
yeah, you can retrieve the assembly, but it will be all hexadecimal digits and assembly code. You're better off re-writing the program from scratch.
I think you would use MPLAB to do that. And the chip must not be secured from reading. |
|
|
SherpaDoug
Joined: 07 Sep 2003 Posts: 1640 Location: Cape Cod Mass USA
|
|
Posted: Thu Nov 24, 2005 1:16 pm |
|
|
A disassembler will get you the assembly code. There is probably one out there somewhere for your PIC. I know of no way to get the C code back.
Beware some may suspect you are trying to steal someone else's code! _________________ The search for better is endless. Instead simply find very good and get the job done. |
|
|
Kieran
Joined: 28 Nov 2003 Posts: 39 Location: Essex UK
|
|
Posted: Thu Nov 24, 2005 2:15 pm |
|
|
The list file includes the source, with editing its posible to recover the source. |
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
Posted: Thu Nov 24, 2005 10:42 pm |
|
|
Look in the recycle bin |
|
|
|