Hi, I am unsure if my Arduino Uno has a broken bootloader or is totally fried (or something completely different happend?).
I tried to upload a c program with this commands, which worked perfectly fine in the past:
I suspect that i had a terminal on another desktop still sending serial data to the arduino (but i am unsure) and this corrupted something.
Even with verbose output i only get:
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xe0
and so on.
I got this before when something was connected to the 0th or 1st pin, but there isnt anything.
So i searched and started to suspect my bootloader got corrupted. ok, luckily enough i had something that i could identify as an arduino nano. Then i followed this guide :
But only got the same message when pressing "burn bootloader". Also something about being unable to clear chip, but i am not able to reproduce it (again, dont know why).I read that a capacitor between the reset and the ground of the programmer could help - only had a 100microF; didnt work, same message.
Since i am out of ideas what i could do i ask: Did i fry my arduino or what is wrong here?
Also did a system update on arch today, any chance that that had some impact?
Thanks in advance for any help
Yes: Bus 001 Device 007: ID 2341:0043 Arduino SA Uno R3 (CDC ACM)
Also yes, checked that too, because i already had that one before
No, absolutely sure after a restart of the pc
Also yes, tested the usb with another device
5.:
[ 8098.528396] usb 1-4: new full-speed USB device number 7 using xhci_hcd
[ 8099.014202] usb 1-4: New USB device found, idVendor=2341, idProduct=0043, bcdDevice= 0.01
[ 8099.014209] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=220
[ 8099.014212] usb 1-4: Manufacturer: Arduino (www.arduino.cc)
[ 8099.014214] usb 1-4: SerialNumber: 44236313735351901272
[ 8099.030252] cdc_acm 1-4:1.0: ttyACM0: USB ACM device
That does look like it should. For good measure you might check that your username is still in the uucp and dialout group. Things might have changed now but Arch didn't have the latter by default, although I don't think any update should have changed groups or group memberships. You can check with group owns /dev/ttyACM0 by checking the output of:
ls -al /dev/ttyACM0
Its also unlikely but you might also check that that brltty or modemmanager have not been (re)installed.
Other than that I am not sure. Assuming that all connections were correct, including the ground wire, then the programming procedure should have worked. I assume, that since use are using thee Nano as a programmer, when wiring it you are bearing in mind the Nano as the programmer and the UNO as the target, i.e. pin 10 on Nano to RESET on the UNO?
Why are you referring to the Uno in your title? And posted in the Uno section?
This indicates that you're trying to access the (new) boot loader which would be correct for an Uno. If you're indeed using a Nano with old bootloader, change that to -b 57600 for the old boot loader.
For reference, this is the full upload command that the IDE issues on my Windows system for the old boot loader
Because i am trying to program an uno. I used a nano to burn the bootloader on the uno after the nano stopped working. And said nano has the old bootloader
OK, i figured out a way to get the bootloader on the uno: I removed the capacitor i read about, so everything is back to the instructions in the guide. Then i got this error:Error while burning the bootloader: Failed chip erase
Since it says in the guide that i should check the cable between pin 10 and reset, I did, was perfectly fine connected. So i tried pressing down the reset button while running "burn bootloader" and it worked. Now i re-installed my old program on the uno. Says it did it successfully, but something still does not work. Shouldnt be a program issue, since i didnt change anything, probably something with the wires, which i had to disconnect in the process.
Thanks for the Help everyone.