JTAG Tools for Embedded ARM 9 Processors

In embedded application the processors are deeply buried inside a chip that the program execution trace can not be observed from external pins. JTAG tools is the only viable method to help identify many issues in embedded development.

ARM 9 comes with two styles of debug JTAG technologies: ETM/ETB and EmbeddedICE-RT. Both run on top of JTAG protocol.

  1. The Embedded Trace Macrocell (ETM9): Refer to “Embedded Trace Macrocell Architecture Specifiction, ARM IHI 0014E (pdf)” , and “ARM9 Embedded Trace Macrocell ETM9 Technical Reference Manual (pdf)”.¬† Embedded Trace Buffer (ETB): Refer to “Embedded Trace Buffer Technical Reference Manual“.
  2. Embedded ICE-RT.

To make use of the built-in JTAG facility, two pieces of components are needed: A JTAG adapter, and a debug software.

JTAG Adapter

There is a guide on openpilot.org. It assumes the JTAG adapters contain an FTD2xx chipset, e.g. the OpenPilot FOSS JTAG, the JTAG USB OCD TINY by SparkFun, or the ARM-USB-OCD-H by Olimex from Mouser. The JTAG connector from most of the adapters are 20 pin 0.1 pitch. To use with ATM mini JTAG 10 pin .05 pitch connectors, an adapter cable from DigiKey is required.

To choose a JTAG adapter that suits your need, check the protocols it supports, and also the voltages. There is a forum at SparkFun about adapters for OCD software. Be sure to search it for your target CPU and board to see what compatibility or problems there might be.

JTAG Debug Software

OpenOCD is an open source project based on some researches (here and here) at a univerisity. The project is actively developed and many functions are being added. It has most of the functions an embedded development project may need and the software comes with many JTAG adapter packages.

Advertisements

About minghuasweblog

a long time coder
This entry was posted in All, Tools and tagged , , , , . Bookmark the permalink.

4 Responses to JTAG Tools for Embedded ARM 9 Processors

  1. Pingback: JTAG Tools Simple and Effective Open Source Solution | minghuasweblog

  2. cdt user says:

    ARM Eclipse CDT with J-Link EDU http://www.yagarto.de/

  3. cdt user says:

    JTAG USB OCD Programmer/Debugger for ARM processors https://www.sparkfun.com/products/7834

    JTAG USB OCD Tiny – Programmer/Debugger for ARM processors https://www.sparkfun.com/products/8278

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s