Converting HEX file

Status
Not open for further replies.

Vikky

New Member
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
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.
Download WinPICPro and use that to disassemble the hex file.

Vikky

New Member
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

• 165 KB Views: 306

colin55

Well-Known Member
Here is a program that will produce a .asm from a .hex for 12 bit 14 bit and 16 bit PIC chips

Attachments

• 248.1 KB Views: 377

Thanks colin

ericgibbs

Well-Known Member
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,
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

New Member
here is the hex file

Attachments

• 251.3 KB Views: 232

ericgibbs

Well-Known Member
here is the hex file
hi,
Thanks for that.
The problem is its an INTEL hex [text] file.

Vikky

New Member
Actually the forum was not allowing to upload the .hex file . so i posted the txt file.

Here is the original file zipped.

Attachments

• 60.8 KB Views: 142

ericgibbs

Well-Known Member
Actually the forum was not allowing to upload the .hex file . so i posted the txt file.

Here is the original file zipped.
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
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
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.
I have come to the same conclusion.

Last edited:

Vikky

New Member
Have you manged to disassemble the INTEL hex file using the Mikado.???
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.

Status
Not open for further replies.