First Time Start Up & Program

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
Athar Kaludi

First Time Start Up & Program

Post by Athar Kaludi » Tue Feb 01, 2011 9:35 pm

Hi All
Interested in building Obdev AV USB only firmware.
Confused with how to firs time program the unit. The circuit on main page shows AT Tiny 2313 with all parts.
Well after construction of circuit how to program first time.

What & How to program in first time ?

What goes in the AT Tiny 2313 what code How by the USB or first time by MOSI MISO lines ?

When the device plugs in standard PC USB it recognise as some device what to provide as driver in the windows ?

After all how the once enabled USB AVR Firmware - How the codes of all projects and the hex goes in the AVR ?

regards
Athar Kaludi [ceo_premium@yahoo.com]

dlemmink
Posts: 2
Joined: Mon Feb 07, 2011 6:08 pm

Re: First Time Start Up & Program

Post by dlemmink » Mon Feb 07, 2011 6:33 pm

You will need an ICSP programmer.
Unfortunately it's a chicken and egg scenario until you get the V-USB firmware loaded for the first time. Once it's loaded the device will be capable of self programming by using only the USB port.
I would suggest something like the adafruit USBTINYISP ( http://www.adafruit.com/index.php?main_ ... ucts_id=46 ) or this one ( http://www.sparkfun.com/products/9825 ) They about $22US and $14US respectively. I've used both. Please be aware that using them under Windows 7 requires some setup documented on the Adafruit product page.

Go to Atme'ls site and download AVR Studio 4 and configure the USBTiny as indicated in the ADAfruit Product page.
Both devices work as a USBTiny and can be used intechangably.

Post Reply