How To Use Tag-Connect Cables With MikroE Debuggers

MikroE's CODEGRIP and mikroProg debuggers use MikroE connectors whose pinout differs from the standard Cortex 10-pin layout that most Tag-Connect cables expect. The direct route to Tag-Connect is MikroE's CODEGRIP ADAPT V6, a 6-pin SWD needle adapter.

In short: plug the CODEGRIP ADAPT V6 into the CODEGRIP and connect a 6-pin needle cable such as the TC2030-IDC (legged) or TC2030-IDC-NL (no legs) for SWD programming. Check the ADAPT V6 schematic pinout first. For JTAG on STM32 or ICSP on PIC, go through the matching MikroE adapter first, as shown below.

Recommended Routes

Debugger and target Route
CODEGRIP, SWD CODEGRIP ADAPT V6 with TC2030-IDC, or TC2030-IDC-NL with a TC2030-CLIP
mikroProg for STM32, JTAG MikroE 20-pin JTAG adapter, then TC2050-ARM2010 with TC2050-IDC
mikroProg for STM32, SWD MikroE 20-pin JTAG adapter, then ARM20-CTX with TC2030-IDC
mikroProg for PIC, dsPIC and PIC32 MikroE RJ12 (ICD2/ICD3) adapter, then TC2030-MCP

The adapter routes rely on matching standard connectors: MikroE and Tag-Connect don't publish them as tested pairings. Check the adapter's output pinout, and the gender of the RJ12, before laying out a board.

Things to Watch

  • Never plug a TC2050-IDC straight into a CODEGRIP or mikroProg unless your board's footprint follows MikroE's pinout, which differs from the standard Cortex layout.
  • MikroE lists the CODEGRIP ADAPT V6 for SWD only.
  • MikroE pitches the ADAPT V6 and needle cable at production programming, with a no-legs cable held by hand, or retained with a TC2030-CLIP for debugging.

Frequently Asked Questions

Can I connect a Tag-Connect cable directly to a MikroE CODEGRIP?

Use the CODEGRIP ADAPT V6 between them. It converts the CODEGRIP to a 6-pin 0.1 in SWD needle-cable connector; a TC2030-IDC is a suitable cable once you've checked the V6 pinout.

Does the CODEGRIP ADAPT V6 support JTAG?

MikroE lists it for SWD only and doesn't mention JTAG.

Related Guides

Sources

Last reviewed 22 November 2026 by The Debug Store, supplier of MikroE and Tag-Connect tools.