USBTiny Mkii Programmer Manual





1)     Overview
2)     Switch Positions
3)     Connector Pinouts
4)     Using USBTinyMkII
5)     USBTinyMKII Firmware update



Overview                                                                                                 

The USBTInyMkII is an avr programmer that uses the LUFA firmware to emulate an Atmel avrisp MkII. It supports the programming of the entire 8-bit AVR range via ISP as well as the PDI (for the newer XMEGA AVRs) and TPI (for the 6-pin TINY AVRs). Features include upgradeable firmware and switch selectable USB or target supplied power.

Switch positions                                                                                         

NOTE: *** ONLY USE TARGET POWER FOR PDI MODE ***

The target chip can be powered from the USB VBUS (+5v) or from the target board itself. When the power select switch is in the position toward the USB plug it will be USB powered and when switched toward the target plugs it is powered by the target board as indicated below. The IC2 uses the power from the target device to determine the programming voltage. Target power has been tested from 1.8 to 5v. In USB mode, the target must be 5v tolerant. In PDI mode, xmega chips are not 5v tolerant!

Connector Pinouts                                                                                      

   

The ISP header is used for standard 8bit avr devices, the PDI header for the newer XMEGA AVRs and the TPI header for the 6-pin TINY AVRs.

Using USBTinyMkII                                                                                       

The USBTinyMkII is programmed to emulate a standard avrisp mkii. To connect to the programmer, plug it into your pc USB port and start up Studio 4.

Click on the connect icon to open up the programmer selection dialog and select AVRISP MkII from the menu and press the connect button.

Once connected the device selection menu will pop up. Connect the programmer cable to the appropriate header to flash the target device depending on target device selected.

Updating the Firmware

To update the firmware you will need a copy of FLIP from Atmel (Flexible In-System Programmer). Following is a step by step to get the new firmware uploaded to your target programmer.

To put the USBTinyMkii into programming mode, push and hold the 'HWB' button. While the 'HWB' button is depressed press the 'RESET' button then release both.



Click on the 'chip' icon or 'Device-->Select' menu option and select the device from the dropdown menu (at90usb162)


Click on the 'USB cable' icon and select 'USB' from the menu and connect to the device.

Load the new hex file from the 'LOAD hex file' icon or from the 'File-->LOAD HEX file' menu. Click on the 'RUN' button in the lower left corner.

DONE! Your programmer should be up to date now.