This is an old revision of the document!
# JTAG access
## Overview
As detailed on the Schematic (released in the FCC documents), the Nabaztag:tag board breaks out the JTAG port. Let's see how to use it to access the CPU to be able to flash and debug some code !
## Hardware
### JTAG probe: BusBlaster
### Nabaztag:tag
Well, of course you need a Nabaztag:tag ( a version 2 ). You also must be ready to open it.
Grab a small flat screwdriver and remove the four screws on the base. You can also use a triangle screwdriver if you happen to have one, I don't.
And this is about it. the JTAG header is on the top left corner of the board.
Pinout is the following (top to bottom):
| Nabaztag Pin | Function | BusBlaster pin |
|---|---|---|
| 1 | 3.3v | VTG (or NC) |
| 2 | Gnd | GND |
| 3 | nTRST | TRST |
| 4 | TDI | TDI |
| 5 | TMS | TMS |
| 6 | TCK | TCK |
| 7 | TDO | TDO |
| 8 | RESETN | TSRST |
## Software: OpenOCD
### Pacth and compile
### Usage
## Pictures
## Links

