I just opened a new Seeduino v2.21, but I can’t program it through the USB.
Arduinoi IDE set to right Serial port for sure, Board selected is Duemilanova.
The Seeduino switches are on Auto an 5V
I can program other boards (Uno and another Seeduino) .
If what is needed is to upload bootloader again, How do I connect AVRISP?
Can you please just say which pin goes where from the programmer to the board?
Do I understand correctly that the recommendation is indeed to upload bootloader to the board?
You misunderstand what i said, it was told you what software you need to use with programmer.
But before our board shipping, there was already upload bootloader.
If you want to change the bootloader, then you can take that way.
The pins was attached on WIKI.
I just wanted to make sure I am well understood:
The device is actually Dead-On-Arrival one.
Now, connected the AVRISP, pin 1 of the cable connected to the pin right next to the I in the ISP label on the board.
Then, following guidelines from: http://www.sparkfun.com/tutorials/247 I did the following:
avrdude -P com25 -b 19200 -c avrisp -p m328p -v -e -U efuse:w:0x05:m -U hfuse:w:0xD6:m -U lfuse:w:0xFF:m
and the result I am getting are:
C:\Users\zakiem>avrdude -P com25 -b 19200 -c avrisp -p m328p -v -e -U efuse:w:0x05:m -U hfuse:w:0xD6:m -U lfuse:w:0xFF:m
avrdude: Version 5.10, compiled on Jan 19 2010 at 10:45:23
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "C:\Program Files\WinAVR\bin\avrdude.conf"
Using Port : com25
Using Programmer : avrisp
Overriding Baud Rate : 19200
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude done. Thank you.
I already looked suspicious to me with the not in sync message, but since got nothing else to think of, continued.
I then followed to upload the hex file:
C:\Users\zakiem\Documents\Arduino\arduino-0022\hardware\arduino\bootloaders\atmega>avrdude -P com25 -b19200 -c avrisp -p m328p -v -e
-U flash:w:ATmegaBOOT_168_atmega328.hex -U lock:w:0x0F:m
avrdude: Version 5.10, compiled on Jan 19 2010 at 10:45:23
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "C:\Program Files\WinAVR\bin\avrdude.conf"
Using Port : com25
Using Programmer : avrisp
Overriding Baud Rate : 19200
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude done. Thank you.
but still getting same results when trying to program the Seeduino from the Arduino IDE.
avrdude: stk500_getsync(): not in sync resp=0x00
avrdude: stk500_disable(): protocol error, expected=0x14, resp=0x51
Please tell us what software/hardware/settings you use…
Seeeduino v2.21. Reset switch in Auto position?
OS? XP/Vista/7/Ubuntu/…
Arduino IDE Version? which board? which serial interface?
Which AVRISP did you use for burning the bootloader?
Power supply?
The error
means “i cant talk to this AVR”.
This can have much reasons…
Seeduino switches on Auto and 5V
PC OS is Windows7 64bit
Arduino IDE is 0022, setting to Serial COM24 and Board set to ‘Arduino Duemilanove w/ ATMedga328’
The AVRISP is the one I bought from you http://www.seeedstudio.com/depot/atmel-avrisp-stk500-usb-isp-programmer-p-207.html?cPath=132_135
For power supply I connected the Seeduino to the USB as well, so it gets the power from the bus as well.
This is not the first Seeduino I used, and previous one was just great, only it is now part of a working device.
Hmm
ISP Connected right? (see picture)
If this is ok i think the atmega is dead (wrong fuses burned/short circuit on a digital pin/…) or its a hardware problem (cold solder joint).
From what I can tell the ISP is connected correctly.
Visually I did not see any cold soldering joint (but that is not a real test).
So I guess this is a dead board.
It can supports a wide range of ATMEL AVR microcontrollor.
It can works with AVR Studio or WINAVR(GCC)
It works with ATMEL AVR Studio 4.13, you can upgraded it’s firmware,in upgrade firmware Completed,it can work at a higher version of the AVR Studio and to be able to support more device,
Compact Size - 75mm x 57mm x 27mm