by Jim Remington on Fri Jan 29, 2010 8:28 pm
Adam:
Indeed, the Pololu USB-serial adapter works perfectly as an Arduino board programmer. I wired the adapter as recommended for the FTDI chip and wrote a batch file that executes the Arduino version of avrdude. I've read that only certain later versions of Arduino avrdude support toggling the DTR line as *RESET.
I reassigned the Pololu serial port driver to be COM1 (My Computer > properties > hardware > Device Manager > Pololu USB-serial> properties > port settings > advanced), and executed flash.bat from the command line to program.
flash.bat contains the single line:
C:\arduino\hardware\tools\avr\bin\avrdude -p atmega328p -P COM1 -c stk500v1 -b 57600 -CC:\arduino\hardware\tools\avr\etc\avrdude.conf -U flash:w:main.hex
It is probably possible to build this command into WinAVR, but I haven't researched it. The WinAVR version of avrdude may not work, as it supposedly does not know about toggling DTR.
Cheers, Jim
BTW I'm working with the SparkFun Openlog data logger, which is fun to play with. Presently it only logs TTL-RS232 data. If it had more I/O lines, at $24.95 it would be extremely interesting.