cancel
Showing results for 
Search instead for 
Did you mean: 

hex file convert ?

A.Caliskan
Associate II

Hello

I have hex file.how can i return main code from hex file only

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

You can't go from a HEX file to the original source code. It is a one way conversion.

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

3 REPLIES 3
Paul1
Lead

Please clarify exactly what you mean? What is the purpose?

You'd start by disassembling, recognizing the CRT, SPL or HAL libraries.

Probably wouldn't get C source out, but you could get assembler source, and depending on your keenness, interest, size, etc you could probably get the whole or salient parts to rebuild.

Got cross-referencing ARM/THUMB disassemblers here that can ingest .HEX files.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
TDK
Guru

You can't go from a HEX file to the original source code. It is a one way conversion.

If you feel a post has answered your question, please click "Accept as Solution".