Upload code from Board to Computer

Hiii, I just wanted to ask, if it is possible to get code from an Arduino board to your Computer. I lost some code, but still have it on the board and would like to recover it.
Thanks everyone for the help! BTW I found the code :smiley:

You can retrieve the binary data and disassemble it, but you can't get back to actual source code.

1 Like

Do you remember a step in your code development where you asked for the code to be compiled and uploaded? The output of the compile is machine code instructions, not your source code that was compiled.

1 Like

The internet says, "Hold shift, click Verify to put the IDE into verbose mode which prints the temporary folder where the .hex is dumped."

not true

FILE >> PREFERENCES >> SHOW VERBOSE OUTPUT (COMPILATION) (UPLOAD)

1 Like

9 times out of 10, if you have to rewrite code from scratch, it's better code. :slight_smile:

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.