Skip to main content
A.Caliskan
Associate III
January 27, 2022
Solved

hex file convert ?

Hello

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

    This topic has been closed for replies.
    TDK
    TDKBest answer
    January 27, 2022

    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""."

    3 replies

    Paul1
    Senior III
    January 27, 2022

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

    Tesla DeLorean
    Guru
    January 27, 2022

    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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
    TDK
    TDKBest answer
    January 27, 2022

    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""."