Hello,
I use an Atmega328p with a bootloader installed to upload code with an FT232RL using Arduino IDE.
I'm wondering weather I can use also avrdude from a command line to upload code.
I tried several options:
avrdude -c stk500 -P /dev/ttyUSB0 b 9600 -p m328p -U flash:w:M_Xively.cpp.hex
avrdude -c stk500v1 -P /dev/ttyUSB0 b 9600 -p m328p -U flash:w:M_Xively.cpp.hex
avrdude -c stk500v2 -P /dev/ttyUSB0 b 9600 -p m328p -U flash:w:M_Xively.cpp.hex
and
avrdude -c avrftdi -P /dev/ttyUSB0 b 9600 -p m328p -U flash:w:M_Xively.cpp.hex
I get timeout and sync errors.
What -c (programmer) option I have to use.
Thanks Martin