A very cheap AVR dev board
I bought one of these boards for about $4 on eBay. It's based on the USB ASP - a cheap AVR programming board. I remember seeing a post on Hack A Day a while ago about using them as a general purpose dev board, with 5 lines broken out to the black pin header. By removing a link on the bottom of the board, you can get 3.3V from a regulator.
First I wanted to see what the stock firmware was. I shorted J2, which connects the reset pin to the header pins, allowing the chip to be programmed. I dumped the data, and saw this:
00000000 00 00 01 01 02 02 03 03 04 04 05 05 06 06 07 07 |................|
00000010 08 08 09 09 0a 0a 0b 0b 0c 0c 0d 0d 0e 0e 0f 0f |................|
00000020 10 10 11 11 12 12 13 13 14 14 15 15 16 16 17 17 |................|
00000030 18 18 19 19 1a 1a 1b 1b 1c 1c 1d 1d 1e 1e 1f 1f |................|
It sounds like that's what you get when the chip is locked. I used avrdude to erase the chip, and I was able to program it again using the original firmware from the USB ASP site. I had a quick look at the fuse bits, and they seem to be correct. I haven't actually tried this firmware, so no doubt some of the pins are in different places.
The pinout appears to be the same as the original. The pins themselves are different because of the chip packaging:
D+ | 13, 32 | PB1, PD2 (INT0) |
D- | 12 | PB0 |
MOSI | 15 | PB3 (MOSI) |
RST | 14 | PB2 |
J2 | 29 | RESET |
SCK | 17 | PB5 (SCK) |
MISO | 16 | PB4 (MISO) |
The price is amazing since the AVR stick costs about $10, and contains fewer parts. Perhaps I should retry my V-USB experiment with it.
A while ago I found some V-USB tutorials, but I haven't gone through them yet.