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
### 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):
Pin | Function |
---|---|
1 | Vcc |
2 | GND |
3 | nTRST |
4 | TDI |
5 | TMS |
6 | TCK |
7 | TDO |
8 | RESETN |
### JTAG probe: BusBlaster
## Software: OpenOCD
### Pacth and compile
### Usage
## Pictures
## Links