Pages: [1]   Go Down
Author Topic: Reading sketch inside arduino  (Read 227 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Offline Offline
Edison Member
*
Karma: 19
Posts: 1041
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

no
Logged

UK
Offline Offline
Faraday Member
**
Karma: 99
Posts: 4153
Where is your SSCCE?!?!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Get 10% off all 4D Systems TFT screens this month: use discount code MAJENKO10

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 303
Posts: 26350
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

"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.

Pages: [1]   Go Up
Jump to: