Go Down

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

adizhavo

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

WizenedEE


majenko

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.
Get 10% off all 4D Systems TFT screens this month: use discount code MAJENKO10

AWOL

Quote
.there is any method to read the sketch

Yes, you can recover the compiled binary code.
Quote
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.

Go Up