Loading...
Pages: [1]   Go Down
Author Topic: Copying a sketch from a microcontroller  (Read 315 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Is it possible to copy a sketch from another microcontroller  to your pc to edit
Logged

Southern California
Offline Offline
Sr. Member
****
Karma: 5
Posts: 466
I like blinky lights
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Sort of, but not really. Given enough effort you can get the binary machine code off the chip and into a PC editor, but (A) it won't be easy, and (B) it won't be pretty.

What you're asking for is the equivalent of saying "here's a cake; how can I get the eggs back out".
Logged

http://en.wiktionary.org/wiki/magagna <-- My last name.  Pretty apt.

Offline Offline
Full Member
***
Karma: 3
Posts: 179
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Getting the machine code back out is easy with atmel studio or avrdude if you have an isp programmer. There's no way to get the c code back though
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you for the replays
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 279
Posts: 15320
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
What you're asking for is the equivalent of saying "here's a cake; how can I get the eggs back out".

I like that one a lot.  smiley-wink

Lefty
Logged

TX
Offline Offline
Jr. Member
**
Karma: 2
Posts: 99
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What you're asking for is the equivalent of saying "here's a cake; how can I get the eggs back out".

Not really - he doesn't want the eggs, he wants the cake recipe.
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 279
Posts: 15320
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What you're asking for is the equivalent of saying "here's a cake; how can I get the eggs back out".

Not really - he doesn't want the eggs, he wants the cake recipe.

But his is the funnier sound bite.  smiley-wink
Logged

TX
Offline Offline
Jr. Member
**
Karma: 2
Posts: 99
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What you're asking for is the equivalent of saying "here's a cake; how can I get the eggs back out".

Not really - he doesn't want the eggs, he wants the cake recipe.

But his is the funnier sound bite.  smiley-wink

True, true ... smiley-razz
Logged

Pages: [1]   Go Up
Print
 
Jump to: