This will probably never work but i figured i'd ask.
My laptop and flash driver were stolen last night with my program on it. ( hows this for ironic, i built an alarm system for my trailer and they broke into my truck. )
Is there a way to get the hex file off the chip and convert it back to c++? or am i SOL?
i guess i'm not too upset, i have an older copy of the code and the one that was stolen had maybe 200 lines of new code added.
You can recover the hex (Avrdude), but forget about translating it back to C++.
Once you use avrdude to get the .hex from the arduino you can use avr-objdump to turn that into Assembler:
avr-objdump -j .sec1 -d -m avr yourdump.hex
Then it's just a matter of re-writing the Assembler into C++.
Then it's just a matter of re-writing the Assembler into C++.
And, we all know that that is nearly trivial.
That's what i figured.
Thanks for the fast reply's.
I'll be checking pawn shops and ebay, it should turn up. The program was on a flash drive though, not sure where that will end up.