AVRISP and JTAG ICE MkII Pinout
So, you lucky soul, you have a Atmel JTAG ICE Mk II on the bench. Can't remember the pinout for the AVRISP port? Or the color codes on the squid cable? Me either. How are you going to program your Atmega microcontroller now? With this reference guide.
This table shows color, AVRISP pin, and ATmega328P pin corresponding to MISO, MOSI, SCK, RESET, Vcc and GND.
Squid
|
ISP
|
ATmega
|
|||
Function
|
Squid
Pin # |
Color
|
Function
|
6-pin
AVRISP Pin # |
328P
Pin
|
| TCK | 1 | Black | SCK | 3 | 19 |
| GND | 2 | White | GND | 6 | 8,22 |
| TDO | 3 | Grey | MISO | 1 | 18 |
| VTref | 4 | Purple | Vcc | 2 | 7 |
| TMS | 5 | Blue | nc | nc | nc |
| nSRST | 6 | Green | RESET | 5 | 1 |
| Vsupply | 7 | Yellow | nc | nc | nc |
| nTRST | 8 | Orange | nc | nc | nc |
| TDI | 9 | Red | MOSI | 4 | 17 |
| GND | 10 | Brown | nc | nc | nc |
Here's the AVRISP pinout diagram for both the 6-pin and 10-pin AVRISP header. Even if you're not using a JTAG ICE (I often use a Pololu USB programmer) this comes in handy when you want to plug the AVRISP header into a breadboard.
If you're using a 28-DIP ATmega328P, this pinout diagram may help. This should work for an ATmega8, ATmega48, ATmega88, ATmega168, and other 28-pin ATmega AVR microcontrollers (check the datasheet).
This diagram shows AVRISP pinout diagram for programming ATtiny2313, ATtiny2313A, ATtiny4313 AVR microcontrollers.
An easier way to program your ATtiny2313 (or ATtiny4313) is to use one of my eeZee Big Tiny target boards on Tindie. Program with FTDI and 6-pin AVRISP headers. Includes 16MHz crystal onboard. Hust hook it up and program
Here's a pinout diagram for an 8-DIP ATtiny11, ATtiny12, ATtiny13, ATtiny25, ATtiny45, ATtiny85, and other 8-pin Atmel ATtiny AVR microcontrollers (check the datasheet).
An easier way to program your ATtiny13 is to use one of my eeZee Tiny prototyping boards, available on Tindie. The 6-pin AVRISP header is provided, just hook it up and program.
| eeZee Tiny makes it easy to prototype and program your ATtiny |
http://redmine.ruinwesen.com/projects/golem-public/wiki/JTAG_ICE_MKII_pinouts
http://www.atmel.com/dyn/resources/prod_documents/doc2562.pdf





