Seeduino v2.21 programming

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?

Dear customer,

How about you post your error or why you can’t program with it?
Give us more detail that would be helpful.

seeedstudio.com/depot/atmel- … th=132_135

This is our ISP there is a WIKI where you can find where is the correct pins you need to connect.

Best regards,

Yuri

This is what I get:
avrdude stk500_getsync() not in sync resp=0x00
avrdude stk500_disable() protocol error, expect=0x14, resp=0x51

I own a programmer like you sent me link for (which I bought from you).

This advice is use with AVR studio to upload.
Sorry for I didn’t saw you just use Arduino IDE. It is not correct.

By the way, AVR Studio is a litter bit different with Arduino IDE. :stuck_out_tongue:

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?

Hi there,

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

Is there anything else I should do?

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).
IMG_20120207_102544.jpg

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.

Dear customer,

I can’t understand why you need a cold soldering joint on it?
And can you give me more detail?
What you want?Why it is dead?

The function is ok or not?

Thanks,

Yuri

He doesn’t need it. But it can be the reason for a no working PCB :slight_smile:

Exactly this is his problem. The function is not ok.
No connection to arduino ide, no connection via ISP.
Did you read this thread?!

Hi there,

I think I get you.
On the WIKI was remind you:

Features

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

It is not with Arduino IDE.

That is upload firmware for AVR.

Yuri

Thank you, I know what AVRISP is good for (and that is why I bought it).
I tend to believe a DOA unit deserves a replacement.

Hi Zakie,

Our others engineer give you an advice.

  1. Unplug all the connects with others something.
  2. Download process, try to upload again.

Because peripheral could affect it.
Hope can help you.

Best Regards

There are zero peripherals connected to the board.