Skip to main content
parth kothiya
Associate III
August 8, 2019
Solved

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

  • August 8, 2019
  • 1 reply
  • 5018 views

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.
    Best answer by Tilen MAJERLE

    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
    August 8, 2019

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