Skip to main content
parth kothiya
Associate III
Aug 8, 2019 3:54 AM UTC
Solved

It is possible to get C or C++ code from .hex or .elf file or any other file generate when compile code?

i want to convert .hex file or .elf file in to C or C++ code if it possible. if possible then how can i do this?

    This topic has been closed for replies.
    Tilen MAJERLE
    Tilen MAJERLEBest answer
    ST Employee
    Aug 8, 2019 6:04 AM UTC

    Unfortunately it is not possible to convert hex file to C or C++ code. You could, however, convert .elf to assembly.

    1 reply

    Tilen MAJERLE
    Tilen MAJERLEBest answer
    ST Employee
    Aug 8, 2019 6:04 AM UTC

    Unfortunately it is not possible to convert hex file to C or C++ code. You could, however, convert .elf to assembly.