sketch retrieve

Is it possible to retrieve a sketch which has been loaded into an arduino?

I lost a hard disk and got a sketch loaded Into the board.

It is not possible to retrieve the source code from an Arduino.

Ok. Thanks.

intertronic: Is it possible to retrieve a sketch which has been loaded into an arduino?

I lost a hard disk and got a sketch loaded Into the board.

You can retrieve and save the compiled code, that is loaded in the controller ("hex file"). You then could use the hex file to program another controller with exactly the same program.

But you cannot get the source code ("sketch") back from the controller.

But if you don't need to make changes you can always use AVRDude and a USBasp (or any other avr programmer) to pull the hex file so that you can save it for later use. You won't have the source, but you will at least have the final code.

Great. Thanks guys.