2022-01-27 09:52 AM
2022-01-27 12:35 PM
You can't go from a HEX file to the original source code. It is a one way conversion.
2022-01-27 11:29 AM
Please clarify exactly what you mean? What is the purpose?
2022-01-27 12:25 PM
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.
2022-01-27 12:35 PM
You can't go from a HEX file to the original source code. It is a one way conversion.