V Vikky New Member Sep 17, 2009 #1 Hi all, I got the hex file of a program developed for PIC12F675. I somehow what to reverse engineer it and to generate the code written in it. Need the idea how to start with.
Hi all, I got the hex file of a program developed for PIC12F675. I somehow what to reverse engineer it and to generate the code written in it. Need the idea how to start with.
ericgibbs Well-Known Member Most Helpful Member Sep 17, 2009 #2 Vikky said: Hi all, I got the hex file of a program developed for PIC12F675. I somehow what to reverse engineer it and to generate the code written in it. Need the idea how to start with. Click to expand... Download WinPICPro and use that to disassemble the hex file.
Vikky said: Hi all, I got the hex file of a program developed for PIC12F675. I somehow what to reverse engineer it and to generate the code written in it. Need the idea how to start with. Click to expand... Download WinPICPro and use that to disassemble the hex file.
V Vikky New Member Sep 17, 2009 #3 I tried, but here i am only able to view the opcode. If i want to view the mnemonics or can anybody pass on me the opcode and mnemonics of this microcontroller? Attachments 11.JPG 165 KB · Views: 499
I tried, but here i am only able to view the opcode. If i want to view the mnemonics or can anybody pass on me the opcode and mnemonics of this microcontroller?
C colin55 Well-Known Member Sep 17, 2009 #4 Here is a program that will produce a .asm from a .hex for 12 bit 14 bit and 16 bit PIC chips Attachments Mikado3.3.3e.zip 248.1 KB · Views: 593
ericgibbs Well-Known Member Most Helpful Member Sep 17, 2009 #7 Vikky said: Hi all, I got the hex file of a program developed for PIC12F675. I somehow what to reverse engineer it and to generate the code written in it. Need the idea how to start with. Click to expand... hi, I see that you have done it using a disasm prog.OK. If you post your hex file I will show how to use WinPICPro.
Vikky said: Hi all, I got the hex file of a program developed for PIC12F675. I somehow what to reverse engineer it and to generate the code written in it. Need the idea how to start with. Click to expand... hi, I see that you have done it using a disasm prog.OK. If you post your hex file I will show how to use WinPICPro.
V Vikky New Member Sep 17, 2009 #8 here is the hex file Attachments PIC_program.txt 251.3 KB · Views: 397
ericgibbs Well-Known Member Most Helpful Member Sep 17, 2009 #9 Vikky said: here is the hex file Click to expand... hi, Thanks for that. The problem is its an INTEL hex [text] file.
Vikky said: here is the hex file Click to expand... hi, Thanks for that. The problem is its an INTEL hex [text] file.
V Vikky New Member Sep 17, 2009 #10 Actually the forum was not allowing to upload the .hex file . so i posted the txt file. Here is the original file zipped. Attachments PIC_program.zip 60.8 KB · Views: 311
Actually the forum was not allowing to upload the .hex file . so i posted the txt file. Here is the original file zipped.
ericgibbs Well-Known Member Most Helpful Member Sep 17, 2009 #11 Vikky said: Actually the forum was not allowing to upload the .hex file . so i posted the txt file. Here is the original file zipped. Click to expand... him I had guessed that, so I did change the extension from txt to hex... Have you manged to disassemble the INTEL hex file using the Mikado.??? extract from you hex file prommer file. Code: 3A 30 31 30 30 30 30 30 30 30 35 46 41 0D 0A 3A 30 31 30 30 30 31 30 30 32 38 44 36 0D 0A 3A 30 31 30 30 30 32 30 30 46 46 46 45 0D 0A 3A 30 31 30 30 30 33 30 30 33 46 42 44 0D 0A
Vikky said: Actually the forum was not allowing to upload the .hex file . so i posted the txt file. Here is the original file zipped. Click to expand... him I had guessed that, so I did change the extension from txt to hex... Have you manged to disassemble the INTEL hex file using the Mikado.??? extract from you hex file prommer file. Code: 3A 30 31 30 30 30 30 30 30 30 35 46 41 0D 0A 3A 30 31 30 30 30 31 30 30 32 38 44 36 0D 0A 3A 30 31 30 30 30 32 30 30 46 46 46 45 0D 0A 3A 30 31 30 30 30 33 30 30 33 46 42 44 0D 0A
Nigel Goodwin Super Moderator Most Helpful Member Sep 17, 2009 #12 That file doesn't appear to be a correct MicroChip HEX file, it makes no sense when you load it (or even if you just look at it). BTW, MPLAB disassembles as well, but not this non-functional file.
That file doesn't appear to be a correct MicroChip HEX file, it makes no sense when you load it (or even if you just look at it). BTW, MPLAB disassembles as well, but not this non-functional file.
ericgibbs Well-Known Member Most Helpful Member Sep 17, 2009 #13 Nigel Goodwin said: That file doesn't appear to be a correct MicroChip HEX file, it makes no sense when you load it (or even if you just look at it). BTW, MPLAB disassembles as well, but not this non-functional file. Click to expand... I have come to the same conclusion. Last edited: Sep 17, 2009
Nigel Goodwin said: That file doesn't appear to be a correct MicroChip HEX file, it makes no sense when you load it (or even if you just look at it). BTW, MPLAB disassembles as well, but not this non-functional file. Click to expand... I have come to the same conclusion.
V Vikky New Member Sep 17, 2009 #14 Have you manged to disassemble the INTEL hex file using the Mikado.??? Click to expand... I disassemble the code using the mikada. I can see the mnemonics their doing all the things like moving the values, starting timmer etc. BTW, i am in process to understand the code written.
Have you manged to disassemble the INTEL hex file using the Mikado.??? Click to expand... I disassemble the code using the mikada. I can see the mnemonics their doing all the things like moving the values, starting timmer etc. BTW, i am in process to understand the code written.