I had the problem with run-avrdude using efuse value FB instead of CB, so I modified run-avrdude and that problem went away, but now the red LED (pin 13) on the board is on solid as soon as I power up, and I cannot upload any sketches.
root@Arduino:/etc/arduino# run-avrdude ./base.hex
avrdude: AVR device not responding
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude done. Thank you.
Resetting the board doesn't help. Is there any way to reset the AVR chip from Linino, or is the chip dead? Is that what the solid red LED means?
I corrected the efuse setting in run-avrdude but it still fails to contact the device:
root@Arduino:~# /usr/bin/run-avrdude /etc/arduino/Caterina-Yun.hex
avrdude: AVR device not responding
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude done. Thank you.
root@Arduino:~# /usr/bin/run-avrdude /etc/arduino/Caterina-Yun.hex -F
avrdude: AVR device not responding
avrdude: initialization failed, rc=-1
avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0x7771b0
avrdude: Expected signature for ATmega32U4 is 1E 95 87
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude done. Thank you.
root@Arduino:~#
thanks for your advice. Yes that is the error I received. So I tried your test and I do see the voltage on the MISO swing from 0 to 4.7 back to zero as scripted. I however don't see the flashing yellow indictor 1 to 2 seconds after hitting the reset button as you described later in the thread; should I be worried? Are there similar tests that can be done on MOSI (always high by default?) and SCK pins?