Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
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.
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.
Head to the firmware page to get developing and debugging!