Go Down

Topic: Can you use the arduino usb2serial lite as a ISP (Read 1 time) previous topic - next topic

CrossRoads

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

jtwhissel

To clarify, I have a http://arduino.cc/en/Main/USBSerial and I would like to use it as a AVR programmer. How do I go about doing that? (So i can upload boot loaders with it)

DirtBiker

I bought one of these: http://www.ebay.ca/itm/AVR-Programmer-Works-with-AVRdude-and-Arduino-IDE-/280890704478?pt=LH_DefaultDomain_2&hash=item416664025e

Cheap, fairly versatile and works pretty good using a serial connection, but it needs a real RS232 port.

Otherwise, there are tons of USB based AVR ISP clones out there pretty cheap too.  Some better than others.  Like this: http://www.ebay.ca/itm/New-USB-51-AVR-ISP-Programmer-Downloader-USBASP-usbisp-/261111862849?pt=LH_DefaultDomain_0&hash=item3ccb7ad641

Never used one though, so can't vouch for it, but you can't beat the price.
Dirt Biker

CrossRoads

@jtwhissel ,
I don't know that anyone has written any code that uses these pins on the ICSP header: +5, Gnd, SCK, MISO, MOSI, plus Reset from another pin, such as teh DTR pin, to allow the board to act as a programmer.
I would think it is certainly doable.
Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

BillO

I noticed on the avrdude-dev mail list a conversation about this.  Someone tried using an SI CP2103 USB to TTL bridge and managed to bit bang (using some additional circuitry, I assume) some code to an AVR.  However, they reported it too slow to be of use:
Quote
Somewhat surprisingly, it worked, though it's indeed slow.  I wonder if I'd have the patience to store a few KiB's in the MCU's memory.


With the CP2103 being at least twice as fast as the FTDI chip on the Arduino USB2TTL, it would appear that if you could make it work, it would not be practical.

As DirtBike suggested, it might be time to spring for a real programmer.  There all sorts of them available for under $15.
Facts just don't care if you ignore them.

Go Up