I have a UNO R3 That suffered some king of surge or other power problem. If I connect to the 12volt supply port it will not do anything, however if I connect to the USB port it seems to run just fine. It is running a 8 position relay board which in turn operates lights on a Christmas display.
To make it a bit more complicated during the same storm lost my computer and hard drive.
Is there any way to see what the programming is on the R3? It would sure save a lot of time if I could do that .
The original C/C++ code is not stored on the Arduino, only machine-specific, executable instructions.
It does turn on on 12v?
If doesnt, you might just be lucky. Try to repair/replace the MC33269ST-5.0.
There is no code uploaded to the board. Only machine language (0 and 1).
Is the USB port on your computer still working?
The uno's on-board regulator is dead.
Use a 5V power supply and power the Uno throughout the 5V pin.
Or maybe use an external 12V to 5V regulator or "buck" dc-dc converter.
You can't get your code back, sorry, it's not in there.
Are you sure the hard drive is dead? Have you tried it in another computer?
For future protection get a UPS or at least a genuine surge protector. The value of my intellectual property on my 6 hard drives/SSD's is several orders of magnitude more money.
If you have another Arduino or something like a USBASP programmer, then you may be able to read the binary code off your ailing board while it is still working and back it up to a file using something like avrdude or averdudess GUI . If anything then goes further wrong with that board then you will have a backup that you can upload onto another UNO R3. However, no, as has already been pointed out, it is not possible to reconstruct the sketch.
Take your hard drive to someone who likes Linux and ask them to create a bootable USB and install LIve CAIN Linux on the USB and try to retrieve your hard drive data.
"No". The source code isn't stored on the R3. Use the sketch from your backup.
You can't recover the original C++ sketch, but if all you need to do is transfer the working machine language from the broken Uno to a new one, then I think you can do that. You would use AVRdude, or the AVRdudess GUI for AVRdude, to do both operations, and you would need a programmer or another Arduino you could use as a programmer. Take a look at this video:
https://www.youtube.com/watch?v=d64tr0JGJ3s
Edit: I see that Electronoobs does not have a 10uF capacitor to ground on the master Arduino's Reset pin when using AVRdude. That used to be necessary, but may not be anymore. Maybe somebody knows.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.