• Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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
Most Helpful 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

ericgibbs

Well-Known Member
Most Helpful 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.
 

ericgibbs

Well-Known Member
Most Helpful 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
Most Helpful 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.
 

ericgibbs

Well-Known Member
Most Helpful 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.

Latest threads

EE World Online Articles

Loading
Top