Go Down

Topic: Reading sketch inside arduino (Read 509 times) previous topic - next topic


Hi.... i got an arduino... i want to read the code inside it...there is any method to read the sketch or  the source code inside the arduino ??....Thnks


Unless there is code protection enabled, you can read the binary data off the chip into a hex file.  That hex file you could then disassemble into assembly language.  That's the closes you can come.  You would then have to read and understand the assembler - not easy to do.

avrdude can read the data off the chip.  Quite how you'd then disassemble it I can't say.


.there is any method to read the sketch

Yes, you can recover the compiled binary code.
the source code inside the arduino ?

There is no source code in the processor.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.
I speak for myself, not Arduino.

Go Up