Is it possible to...

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
Drools
Posts: 15
Joined: Thu Dec 11, 2008 11:17 pm

Is it possible to...

Post by Drools » Thu Jan 08, 2009 5:35 pm

to use the usb interface to program the chip?
Example: lets say you have a USB joystick, you mounted the chip etc in an enclosure and you are playing your favorite flight sim. You decided that maybe another feature would be nice and you add it to your code. Now do I have to remove the chip from the joystick enclosure and put it in my programming board or can I use the USB interface to install the new hex file without taking apart my Joystick?

Grendel
Rank 4
Rank 4
Posts: 167
Joined: Sat Dec 16, 2006 9:53 pm
Location: Oregon, USA
Contact:

Post by Grendel » Fri Jan 09, 2009 2:08 am

Take a look at this.

Drools
Posts: 15
Joined: Thu Dec 11, 2008 11:17 pm

Post by Drools » Tue Jan 13, 2009 5:05 pm

Thank you very much for the reply, I will have to look into that.

Drools
Posts: 15
Joined: Thu Dec 11, 2008 11:17 pm

Post by Drools » Tue Jan 13, 2009 10:31 pm

Before I get started with using the bootloader.
Would someone give me a general description of what the boot loader is and what functionality it provides. I'm using Atmega168 if it makes any difference. I bought a ARVISP mkII to program it.

christian
Objective Development
Objective Development
Posts: 1443
Joined: Thu Nov 09, 2006 11:46 am

Post by christian » Wed Jan 21, 2009 7:48 pm

You may also have a look at USBaspLoader.

A boot loader is a short program which sits at the end of the controller's flash memory and takes control after Reset. The boot loader waits for commands via USB and programs the rest of the flash memory.

Post Reply