avrdude and Arduino Duemilanov

Hi

I have a Arduino Duemilanov "ATmega328P-PU" (2009) and I tryed to connect to it with avrdude.

avrdude -p m328p -P /dev/ttyUSB0 -c stk500v1 -b 19200 -F -u -U flash:w:test.hex

But it always tells: avrdude: stk500_recv(): programmer is not responding avrdude: stk500_recv(): programmer is not responding

Can someone tell my why it is not working?? I am using Fedora 11 linux. Can someone plz explain me how I can connect to my board plz.

mfg Akiyuki

Are you pressing the reset button at the correct time for the bootloader to respond?

The Arduino IDE does this automatically via the auto-reset function before handing off the uploading task to AVRDUDE. If you are using AVRDUDE in command line mode, then you have to force a reset manually, or have some scripe that toggles the DTR signal to the serial port.

Lefty

thx this was it.

mfg Akiyuki