Go Down

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

jtwhissel

I was wondering if you could use the usb2serial lite as a ISP and if so how would you go about doing it? Thanks for your help lads!

Coding Badly


subway

If the AVR has a bootloader already uploaded then with an USB to Serial adapter like this
http://www.ebay.com/sch/sis.html?_nkw=TRIPPLITE+U209+000+R+TRIPP+LITE+USB2+SERIAL+ADAPTER+
you can program your micro controller.
You will also need (most probable) a MAX232 level convertor ( http://en.wikipedia.org/wiki/MAX232 ).

CrossRoads

Yes you can.
What you end up doing is using some of the IO pins to connect to the SCK, MOSI, MISO, Reset pins, and "bit bang" the SPI interface to install a bootloader, or to install code with no bootloader.
There is a geocities link floating around where 4 pins are added to a Duemilanove to allow connecting the FTDI chip outputs to the ICSP header to do this.

http://www.geocities.jp/arduino_diecimila/bootloader/index_en.html
Setup involves quote a few steps, but it does work. I still have my Duemilanove set up for this.
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.

twice

I do not have any arduino board, I have just an USB to serial cable, the PC and avrdude.

Is there a software that allows avrdude to program directly an empty AVR (without any bootloader preloaded) using the RS232 signals CTS, DSR, DCD, RI as MISO, SCK, MOSI, RESET, respectively?

Go Up