I have 2 of these boards that are afflicted. I tried re-flashing using my stk500 and the info in this thread.
This is what I did:
[code]$ avrdude -c stk500v2 -P /dev/cu.PL2303-00001004 -p m328p -B 4800 -t
avrdude: stk500v2_set_sck_period(): p = 4800.0 us too large, using 276.7 us
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.13s
avrdude: Device signature = 0x1e950f
avrdude> erase
erase
avrdude: erasing chip
avrdude> w efuse 0 0x05w efuse 0 0x05
avrdude> w hfuse 0 0xda
w hfuse 0 0xda
avrdude> w lfuse 0 0xff
w lfuse 0 0xff
avrdude> quit
quit
avrdude: safemode: Fuses OK
avrdude done. Thank you.
$ avrdude -c stk500v2 -P /dev/cu.PL2303-00001004 -p m328p -B 20 -U flash:w:atmega328.hex
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.05s
avrdude: Device signature = 0x1e950f
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file “atmega328.hex”
avrdude: input file atmega328.hex auto detected as Intel Hex
avrdude: writing flash (32670 bytes):
Writing | ################################################## | 100% 6.45s
avrdude: 32670 bytes of flash written
avrdude: verifying flash memory against atmega328.hex:
avrdude: load data flash data from input file atmega328.hex:
avrdude: input file atmega328.hex auto detected as Intel Hex
avrdude: input file atmega328.hex contains 32670 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 70.97s
avrdude: verifying …
avrdude: 32670 bytes of flash verified
avrdude: safemode: Fuses OK
avrdude done. Thank you.
$ avrdude -c stk500v2 -P /dev/cu.PL2303-00001004 -p m328p -t
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.05s
avrdude: Device signature = 0x1e950f
avrdude> w lock 0 0x0f
w lock 0 0x0f
avrdude> d efuse
d efuse
0000 05 |. |
avrdude> d hfuse
d hfuse
0000 da |. |
avrdude> d lfuse
d lfuse
0000 ff |. |
avrdude> d lock
d lock
0000 0f |. |
avrdude> quit
quit
avrdude: safemode: Fuses OK
avrdude done. Thank you.
$ [/code]
Everything seemed to work OK. The Seeeduino reverts to the default blinking. However when I upload a program with the IDE I get the same behaviour… I can upload once and then it won’t upload again.
Any idea what I am doing wrong? I do not have Windows to use the supplied avrdude.exe and would prefer not to solder the header on.
UPDATE:
Turns out the Auto-reset switch had been switched to manual. Once I set it to Auto it worked fine.