I was programing the arduino and things were going great. Then I plugged in another chip, and went to burn a boot loader. (New chips) now, I get:
avrdude: usbdev_open(): did not find any USB device "usb"
when I try to upload code to old chips, I get:
avrdude: usbdev_open(): did not find any USB device "usb"
ten times. I have tried reseting, and it doesnt do anything. when I plug the device in,
dmesg shows that the device responds to my PC
[526199.130716] usb 3-1: new full-speed USB device number 7 using xhci_hcd
[526199.149422] usb 3-1: New USB device found, idVendor=2341, idProduct=0043
[526199.149427] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=220
[526199.149430] usb 3-1: Manufacturer: Arduino (www.arduino.cc)
[526199.149433] usb 3-1: SerialNumber: 649343332353518022F0
[526199.149579] usb 3-1: ep 0x82 - rounding interval to 1024 microframes, ep desc says 2040 microframes
[526199.149766] cdc_acm 3-1:1.0: ttyACM0: USB ACM device
IDE settings: board: Audruino Uno serial posrt /dev/ttyACM0 Programer: AVRISP mkII
I also tried AVR ISP
in the command line, I tried:
avr-gcc -DF_CPU=16000000UL -mmcu=atmega328 -o Balls.out Balls.c
avr-objcopy -O ihex -R .eeprom Balls.out Balls.hex
sudo avrdude -V -F -c stk500v1 -p m328 -b 19200 -P /dev/ttyACM0 -U flash:w:Balls.hex
each time, I get:
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
How can I troubleshoot the Arduino Uno? Is this thing broken?