Hi all,
I wanted to use Arduino Uno for flashing a bootloader into an (tr)uSDX transceiver.
For that reason, the arduino IDE Example code 11 "Arduino ISP" was recommended (so the stuff did - and should - work).
I had 2 Aliexpress UNOs and one "real" original UNO.
They all show the same symptom.
Loading for test the "Blinker" code works.
After that, the "ArduinoISP" code was loaded. Starting the programming with the recommended software AVRDUDESS gives some reasonable logging output, but finally fails.
After that, there is no way to load any sketch into the UNO.
It failed with both ALIs, when the Arduino was electrically connected.
I therefore tried the procedure with "real" uno, but without electrical connection (to eliminate electrical damage). Same proceeding. Afterwards, my third Andruino is in crisis....
I`m running out of Ideas now....
This is part of the IDE error message:
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x09
avrdude: stk500_recv(): programmer is not responding
Could it be that when using AVRDUDESS you accidentally programmed the Uno itself instead of the target chip, which would have erased its bootloader?
If that’s the case you’ll need to reflash the boot loader into your unos. Do you have a fourth spare one to use as the programmer if you don’t own a dedicated ISP?
The procedure and wiring is quite well described. AVRDUDESS porvides the bootloader code to the Arduino, which converts it to the ISP signals.
The IDE output log during programming is as expected, so I exclude "programming" the arduino.
So the next step is an Ali order for the "repair" arduino...
I guess the arduino has neither a reset function nor a bootloader protection... ?
Arduino MCUs do have fuses which prevent uploading or burning code for the wrong MCU, but since in this case you are working UNO to UNO, both have the same MCU and an ICSP upload wipes the bootloader....
Indeed, so if the Arduino as ISP sketch does not impact the boot-loader on the board being used as the programmer, its a bit puzzling why all three boards are now inoperable? With three available boards, there can only be a maximum of two targets, so the last one standing should still work?
OP what is "the procedure" that you were following?
Could you post a link?
BTW, from a quick Google it looks like the (tr)uSDX box also has a 328p. If the procedure was somehow done in reverse and the Arduino as ISP sketch ended up on the (tr)uSDX box, that might explain it, in which case, there is still the possibility of recovering the three UNOs and then finally uploading the (tr)uSDX firmware.