Seeeduino V328 problems

1e9406 is the ATmega168’s signature. Are you sure you’ve actually got boards with the 328 ?

Thanks for the info. You are right, I have one 168 and one 328. I mixed them up and they are working now.

Dear Albert.Miao &all other,

I’m new to arduino (with my two weeks ago shipped seeeduino v328 06/23/2009) and want to follow your instructions but ran on my ubuntu system directly in problems: so I figured out that the avrdude deb-File (from apt-get) is an old Version (5-5) without ATmega328 support.
I found and downloaded the Version 5-8 from mirrors.zerg.biz/nongnu/avrdude/ and compiled it finally successful after I recognised that I need flex and bison. But now it behaves like the 5-5 Version:
FixSeeeduino_v328$ avrdude -c SeeedStudio -P ft0 -p m328p -t -B 4800
error at /usr/local/etc/avrdude.conf:19 unrecognized character: “f”

(The avrdude.conf is the one out of FixSeeeduino_v328/avrdude.conf and line 19 is:
type = ft245r;
)

Now I get stuck… Any help would be fine to get the seeeduino working under Ubuntu 9.04 Linux.
Thx ma…

Hi maeeduino,

Would you please find a windows OS computer to fix it.

Thanks
Albert

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 0x05

w 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.

I got it working again after purchasing a USB programmer, just plugged in the programmer and the 328 and used the Arduino IDE to do the writing.

Everything is fine now, but for the future this needs much better attention.

@maeeduino-

I have successfully flashed the seeeduino 328 with avrdude and ubuntu 9.04, so it can be done.

Don’t know if this will help you or not.

Two things for me are very different from your approach:

  1. I used adafruit.com USBtinyISP as the programmer, so mine read: avrdude -c usbtiny (etc.)
  2. I used the avrdude v5.5 but copied the section for ATMEGA328 from the seeeduino avrdude.conf file to the avrdude v5.5 avrdude.conf file. I copied this in right before the ATTINY2313 section in the conf file.

My guess is avrdude doesn’t like the type definition.

i had this issue on my board, soldered on the headers for UART and jumpered them to the ISP side, followed the steps verbatim, and boom problem solved. thanks for the detailed and correct documentation on how to fix this

Guys, really sorry to bring such trouble to you, we are glad to know that have managed to fix it. Here is a video from Kimio on reburning the bootloader, thanks to KM Mun for referring.

This issue is a serious lesson for us to be remembered, allow me to stick this post to top. Thank you!

Link to said video
I received a Seeeduino 328 ordered 2 weeks ago and it has the problem, when will corrected units start shipping?

Hi guys,
We will send it immediately after you start send the fault one back to us.
And please contact me you have sent it/them back
albert.miao {at} seeedstudio.com
Thanks
Albert

That wasn’t the question; I meant: “When will new orders ship without the issue?”

We have fixed the issue.

Hi,
i got my Seeduino V328 board today ( I ordered on 09/11/30).
I got the same error. Uploading the first sketch worked fine, after that i got following error:

avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

so i have no usb controller… can i send it back?

br
Patrick

I’m sorry, we think we have fix the bootloader problem On November 3rd.
But it has appeared again.
Please Try the new method to fix the problem.
First put the package to your disk:
D:\Program Files\FixSeeeduino_v328
And run the avrdude-GUI.exe
fixed as the pdf shows, page 2 is the avrdude-GUI method.
please read the fuse first, and tell us the fuse configure.
thank you very much
Albert

FixSeeeduino_v328.zip (232 KB)

It works now.

Thanks

I just received a new Seeeduino V328 to replace my faulty one.

When I connect the new Seeeduino (06/23/2009) to my laptop with USB-cable, it flashes the L a couple of times and then starts flashing wildly L and TX for some time and after that only L flashes very fast. And occasionally it goes back flashing L and TX very rapidly.

If I click Tools-menu from the Arduino 0017 UI, all the leds goes off and after about second L and TX starts flashing very rapidly for some time.

When I try to upload sketch (Blink). UI says Uploading to I/O Board and L and TX starts to flash. I have waited for a long time, but it won’t do anything.

UI settings
Board: Arduino Duemilanove
Port: COM5 (checked and is the right port)

Switches on Seeeduino: USB - 5V - A

Hi Kain,

I’m sorry, it taken bothering to you again.
Please select board in Arduino IDE : Arduino Duemilanove or Nano w/ ATmega328
select the corresponding COM port.
And upload the BLINK sketch.

Did you see the RST LED flash, after you click upload sketch button?

Albert

Yes, 3 or 4 short flashes. Could the problem be in my laptop? I have tried several different COM-ports (changed USB Serial Port from Device Manager) without success. I have Windows XP.

What is the initial program loaded in my Seeeduino, should it blink the TX and L lights? Is it sending something? The last one I got just blinked the L.

Tried with another laptop, no success.