Hi, We're new to Kinetis and Motorola S-Record files and are working with FOTA for software updates. Our FOTA tool uses srec files generated through the KDS Cross ARM GNU Create Flash Image option. I just wanted to ask whether we'll be able to decompile our srec file into its original .c files once we compile it?
解決済! 解決策の投稿を見る。
Hello,
I'm not sure if I understand your question? But the S-Records only contain the code and constant data (see S-Record, Intel Hex and Binary Files | MCU on Eclipse ), so all what you would get from a reverse engineering standpoint is an array of hexadecimal values. If you now the memory map, you can transform this with a disassembler into assembly code with no symbol/variable information: you only will see absolute addresses.
You will not get to the level of C code.
I hope this helps,
Erich
Hello,
I'm not sure if I understand your question? But the S-Records only contain the code and constant data (see S-Record, Intel Hex and Binary Files | MCU on Eclipse ), so all what you would get from a reverse engineering standpoint is an array of hexadecimal values. If you now the memory map, you can transform this with a disassembler into assembly code with no symbol/variable information: you only will see absolute addresses.
You will not get to the level of C code.
I hope this helps,
Erich