Hello everyone!
I just built my own Arduino, with an ATMega328 with bootloader.
Unfortunately I can't upload my sketches to it. As I read over the internet, is a very common problem, but the solutions explained didn't work for me.
Here's the circuit:
I'm using WinXP and a Prolific USB-to-RS232 cable on com5 (I've tested it with a multimeter, it gives 5V, not 12V). No firewalls or external programs interfering with com ports.
Here's the error message:
Binary sketch size: 896 bytes (of a 30720 byte maximum)
C:\Documents and Settings\ech0s\Desktop\arduino-0018\arduino-0018\hardware/tools/avr/bin/avrdude -CC:\Documents and Settings\ech0s\Desktop\arduino-0018\arduino-0018\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega328p -cstk500v1 -P\.\COM5 -b19200 -D -Uflash:w:C:\DOCUME~1\ech0s\IMPOST~1\Temp\build7908517036656830585.tmp\Blink.cpp.hex:iavrdude: Version 5.4-arduino, compiled on Oct 11 2007 at 19:12:32
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/System wide configuration file is "C:\Documents and Settings\ech0s\Desktop\arduino-0018\arduino-0018\hardware/tools/avr/etc/avrdude.conf"
Using Port : \.\COM5
Using Programmer : stk500v1
Overriding Baud Rate : 19200
avrdude: ser_open(): setting dtr
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Recv:
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: Send: Q [51] [20]
avrdude: Recv:
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51avrdude done. Thank you.
The led on the board blinks continuously at 1s period (in the sketch I want to upload it has to blink at 5s period). Sometimes when I connect the cable or reset the board the led blinks three times fastly, the goes back to normal operation. I've tried everything in the troubleshooting, even changing the baud rate to 9600 in the preferences file. Nothing worked.
Please help me, I'm desperate! :-[