JTAG Connection

robertfisk edited this page Jan 2, 2017 · 2 revisions

This page shows you how to connect a JTAG adapter so you can develop or debug the USG's firmware. If you only want to install the latest firmware version, head over to the DFU Firmware Upgrade page to do it directly over USB.

DIY v0.9 Hardware

Simply order an Olimex ARM-USB-TINY-H programmer from Olimex or Digikey when you buy your development boards. Other OpenOCD-compatible programmers with a standard ARM JTAG 2x10 pin connection will also work.

Connect the programmer's cable to either the Upstream or Downstream board as required. The programmer will provide 5v power to the target board if USB is not connected.

v1.0 Hardware

You will need the following:

  • Olimex ARM-USB-TINY-H programmer from Olimex or Digikey (or other compatible programmer).
  • Olimex ARM-JTAG-20-10 adapter from Olimex or Digikey.
  • 2x5 pin 0.05" through-hole header such as this one from Digikey. Mention you want to develop with JTAG when you order your USG, and I will add one to your order!

Open the USG's case with a blunt knife or other flat tool.

Insert the 2x5 pin header into the end of the JTAG cable (the long-pin side), then press the cable end down onto the USG's circuit board. Choose the Upstream or Downstream side as required. This JTAG connector does not power the board, so you will have to connect to a computer or USB power source in order to load firmware.

Next Steps

Head to the firmware page to get developing and debugging!

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.