Has anyone figured out if it is possible to retrieve the sketch on an already programmed 328p? I lost a very complex sketch a year ago and am desperate to get it back. This is what I am trying to recover, and thans for any help.
Well using a hardware ISP programmer and using AVRDUDE in command language mode you can extract a hex file that will have the AVR machine language, but you will never get back the C/C++ source code statements that compiled to the AVR machine language. So you can extract the code for saving/archiving or transferring to another chip, but the source code is gone like the wind. The 'sketch' only ever existed on your PC.
Lefty