My Uno stopped being detected, because I obviously messed up. It seems to be bricked so can I just try to reflash it again with with Mega 2560 using the same chip or is that wasting time ?
I have read about ArduinoISP and also found this (Atmega Board Programmer). I dont know what is the difference or how to proceed.
I'm yet to find a clear tutorial on how to do this, Step-By-Step from Mega 2560 to Uno. Please help me if you can.
Use Nick Gammon's sketch to re-bootload the Uno.
Nick's programmer runs a sketch to program the 'slave'.
The IDE's programming method disables the programming uC and uses the USB/Serial to access the device. Most posts about it here are for failures to get it to work.
Or get a standalone programmer - I use Atmel AVR ISP MKii for all my chips.
Gonna have a hobby, get a couple of real tools.
Thanks CrossRoads,
I tried it and it didn't revive my Uno, at least entirely. The uno got damaged after I connected it wrong to a ENC28J60 as posted here. After that, it stopped being detected by the pc and the L LED on the Uno board would turn dim after a second of being connected, now after the re-bootload it doesn't happen anymore. It now blicks twice, as usual, and after a second it turns and stays on but its still not detected by the pc.
Is there anything else I can do ? Should I buy a new ATMEGA328P-PU with the bootloader ? Is that likely to work, or should I just buy a new Uno board ?