USBTinyISP and ATTiny2313

Hello once again!

I recently acquired a USBTinyISP.

USBTinyISP

(or a clone, i guess)

I immediately tried to read and flash an ATTiny2313 that was lying around here. After studying the 6pin ISP pinouts (it took more time than I’m willing to admit), I tried to make a breadboard circuit, and failed spectacularly. I kept getting no response from the ATTiny.

Using this image for reference

I then decided to make a vero proto circuit to connect them. It ended up being a quite decent board, and will probably come in handy.

Vero Board

After connecting for the first time, AVR Dude had no problem detecting my Tiny2313A using:

$ avrdude -c usbtiny -p t2313

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e910a

avrdude: safemode: Fuses OK

avrdude done.  Thank you.

USBTinyISP connected to vero board

Easy connection

As you might have noticed, no COM/USB port parameter is required, since USBTinyISP is itself an independent USB device.

To flash an hex in the chip, just use:

$ avrdude -c usbtiny -p CHIP_MODEL -U flash:w:HEX_FILE.hex

This entry was posted in AVR, Electronics and tagged , , , , , , . Bookmark the permalink.

6 Responses to USBTinyISP and ATTiny2313

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.