Hello,
My Atmega328p has a Bootloader installed and I can program the chip with the IDE using a FT232 chip as an USB serial converter.
Now, I'd like to use a terminal to upload code:
avrdude -c wiring -P /dev/ttyUSB0 b 9600 -p m328p -U flash:w:M_Xively.cpp.hex
The chip resets and then I get a timeout message:
avrdude: stk500v2_ReceiveMessage(): timeout
In the avrdude.conf file I set the bitclock to default:
default_bitclock = 2.5;
Thanks Martin