USB90Î¼C Minimal Development Board V1.0a
by EverydayInventors, published
This is a cleaned up version of a home-designed-and-built development board used to learn how to interface to and write programs for the AT90USB162 microcontroller. A pic of the first home-built version can be seen at flickr.com/photos/everydayinventors/5368101007/ .
With the exception of the AVR mcu, all parts are through-hole for ease of assembly.
If you don't wish to manufacture a bare PCB yourself, you can get one from BatchPCB: batchpcb.com/index.php/Products/61022
Recent Commentsview all
Ok, spent a few hours with the Arduino environment code and figuring out how to make a new hardware platform profile. It's a bit of a hack, and lots of functionality is missing, but I was just now able to get my first Arduino sketch, a LED blinker, to compile for the USB90uC platform. So, yes, it will be possible to use the Arduino environment to write programs for this board.
I did have to upload the program by hand using dfu-programmer at the command-line as I haven't yet seen how to get the Arduino environment to use something other than avrdude for uploading.
I'll play around with it some more over the next couple days an see what can be done.
Right, no external programmer, just a USB cable is all you need. The AT90USB162 device comes from the factory with a 4k USB device-flash-update bootloader already installed. The first time it is powered up, it waits for a program and/or data to write to its non-volatile program flash and data EEPROM memories. Once uploaded and on subsequent device resets, it jumps to the user program written into flash memory. If you wish to overwrite the user program, just hold down the DFU button and briefly press he Reset button and it will re-enter the USB device-flash-update bootloader to await an upload.
You can optionally use the traditional AVR ISP programming method using an external programmer like ATMEL's AVRISP mkII or the USBtinyISP by Adafruit, but there's really no need unless you wish to overwrite the factory-default bootloader or some such.
Liked Byview all
Give a Shout Out
Programs can be written in C using GCC for AVR target ( nongnu.org/avr-libc/ ).
A very good AVR USB library with many examples is Dean Camera's Lightweight USB Framework for AVRs ( fourwalledcubicle.com/LUFA.php ).
Ubuntu GNU/Linux 10.04 LTS users can install both dfu-programmer and gcc-avr using the Ubuntu Software Center or Synaptic Package Manager.
A simple example test program written in C is included.
Alternate repository for schematics and source code at GitHub:
You must be logged in to post a comment.