This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Hex file of a RFID project

Greetings,

Is it possible to find the C code( not asm) from a hex file written in Atmel 8051 series microcontroller?

My hex data is on dropbox ( 7kb ) :

www.dropbox.com/.../MetroTrainprototype.hex

Also please check the correctness of the code. It needs hardware of :- a 16x2 LCD, a EM-18 RFID reader, L293D I.C.

With Thanks

Uday

  • Is it possible to find the C code( not asm) from a hex file written in Atmel 8051 series microcontroller?

    No.

    The rest is therefore irrelevant.

  • No: because there is no direct 1:1 mapping from 'C' (or any other high-level language) to machine code - so there is no such thing as the 'C' source.

    You could construct a 'C' file which could be compiled back to the same object - but it would not be unique.

    "please check the correctness of the code"

    This is impossible without a complete definition (aka "specification") of what, exactly, constitutes "correct"...