# JTAG and External mode

**URL:** <https://forum.plexim.com/t/jtag-and-external-mode/3185>\
**Category:** TI C2000\
**Created:** [June 26, 2026, 12:53pm UTC](https://forum.plexim.com/t/jtag-and-external-mode/3185 "2026-06-26T12:53:23Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oli](https://avatars.discourse-cdn.com/v4/letter/o/2bfe46/32.png) [@Oli](https://forum.plexim.com/u/Oli)\
**Post date:** [June 26, 2026, 12:53pm UTC](https://forum.plexim.com/t/jtag-and-external-mode/3185/1 "2026-06-26T12:53:23Z")

</div>

Hello,

I’ve entered the correct directory in the “C2Prog GDB server directory” field, but whenever I try to connect using a custom board, this error always pops up.

 ![image](https://europe1.discourse-cdn.com/flex006/uploads/plecs/original/2X/2/2686bea5fc0797f2b0628030df44ba9698691c5e.png)

Is there a way to get round this issue using the Launchpad/ControlCard? Or perhaps another way?

---

<div class="post-metadata">

**Author:** ![Munadir\_Ahmed](https://dub1.discourse-cdn.com/flex006/user_avatar/forum.plexim.com/munadir_ahmed/32/1540_2.png) [@Munadir\_Ahmed](https://forum.plexim.com/u/Munadir_Ahmed)\
**Post date:** [June 26, 2026, 5:46pm UTC](https://forum.plexim.com/t/jtag-and-external-mode/3185/2 "2026-06-26T17:46:18Z")

</div>

Hi Oli,

Could you provide a bit more information? It would help narrow down the issue.

- What version of **PLECS** are you using?
- What version of the **Target Support Package (TSP)** are you using?
- What operating system are you running?
- Which **MCU** are you targeting?
- If possible, could you also provide a **minimal example model** that reproduces the issue? A simplified model often makes it much easier to identify the root cause.

Hope this helps.

---

<div class="post-metadata">

**Author:** ![Oli](https://avatars.discourse-cdn.com/v4/letter/o/2bfe46/32.png) [@Oli](https://forum.plexim.com/u/Oli)\
**Post date:** [June 29, 2026, 12:58pm UTC](https://forum.plexim.com/t/jtag-and-external-mode/3185/4 "2026-06-29T12:58:04Z")

</div>

Hi,

I’m using PLECS Standalone Student 4.9.4 (64-bit) on Windows 11.  
I’m targeting a TI C2000 TMS320F28377S.  
At the moment, I’m just testing a minimal example to make an LED blink.

---

<div class="post-metadata">

**Author:** ![Munadir\_Ahmed](https://dub1.discourse-cdn.com/flex006/user_avatar/forum.plexim.com/munadir_ahmed/32/1540_2.png) [@Munadir\_Ahmed](https://forum.plexim.com/u/Munadir_Ahmed)\
**Post date:** [June 29, 2026, 1:21pm UTC](https://forum.plexim.com/t/jtag-and-external-mode/3185/5 "2026-06-29T13:21:48Z")

</div>

Hi Oli,

Great. If you could provide that model (assuming it is the one that reproduces the issue), along with the target configuration file you are using, that would be very helpful in understanding and reproducing the problem.

Additionally, I would recommend upgrading to the latest versions of both **PLECS** and the **TI Target Support Package (TSP)**, as they include general improvements, bug fixes, and performance enhancements.

---

<div class="post-metadata">

**Author:** ![Oli](https://avatars.discourse-cdn.com/v4/letter/o/2bfe46/32.png) [@Oli](https://forum.plexim.com/u/Oli)\
**Post date:** [June 29, 2026, 1:53pm UTC](https://forum.plexim.com/t/jtag-and-external-mode/3185/6 "2026-06-29T13:53:52Z")

</div>

[Test.plecs](https://forum.plexim.com/uploads/short-url/2pBuC4awI10hdK6DKRse8wBHgai.plecs) (53.2 KB)  
Here is my template and here is the generated .ccxml file (pasted as plain text).

\<?xml version="1.0" encoding="UTF-8" standalone="no"?\>

---

<div class="post-metadata">

**Author:** ![Munadir\_Ahmed](https://dub1.discourse-cdn.com/flex006/user_avatar/forum.plexim.com/munadir_ahmed/32/1540_2.png) [@Munadir\_Ahmed](https://forum.plexim.com/u/Munadir_Ahmed)\
**Post date:** [June 29, 2026, 3:12pm UTC](https://forum.plexim.com/t/jtag-and-external-mode/3185/7 "2026-06-29T15:12:06Z")

</div>

Thanks for sending the model. What version of the TI TSP are you using?

To help rule out any communication or setup issues, could you try connecting to the MCU on your custom board using the CCXML file (for example via Code Composer Studio) and confirm that the connection works? The log should show something like the following:

```auto
-----[Perform the Integrity scan-test on the JTAG DR]------------------------

This test will use blocks of 64 32-bit words.
This test will be applied just once.

Do a test using 0xFFFFFFFF.
Scan tests: 1, skipped: 0, failed: 0
Do a test using 0x00000000.
Scan tests: 2, skipped: 0, failed: 0
Do a test using 0xFE03E0E2.
Scan tests: 3, skipped: 0, failed: 0
Do a test using 0x01FC1F1D.
Scan tests: 4, skipped: 0, failed: 0
Do a test using 0x5533CCAA.
Scan tests: 5, skipped: 0, failed: 0
Do a test using 0xAACC3355.
Scan tests: 6, skipped: 0, failed: 0
All of the values were scanned correctly.

The JTAG DR Integrity scan-test has succeeded.

[End: Texas Instruments XDS110 USB Debug Probe]

```

---

<div class="post-metadata">

**Author:** ![Oli](https://avatars.discourse-cdn.com/v4/letter/o/2bfe46/32.png) [@Oli](https://forum.plexim.com/u/Oli)\
**Post date:** [June 30, 2026, 6:08am UTC](https://forum.plexim.com/t/jtag-and-external-mode/3185/8 "2026-06-30T06:08:07Z")

</div>

> [@Munadir\_Ahmed](#):
>
> Thanks for sending the model. What version of the TI TSP are you using?
> 
> To help rule out any communication or setup issues, could you try connecting to the MCU on your custom board using the CCXML file (for example via Code Composer Studio) and confirm that the connection works? The log should show something like the following:

I am using the TI C2000 ‘Target Support Package’, version 1.10.1, and when I run a connection test with CCS, I get the following (using the TI XDS100v2 debug probe):

-----[Perform the Integrity scan-test on the JTAG DR]------------------------

This test will use blocks of 64 32-bit words.  
This test will be applied just once.

Do a test using 0xFFFFFFFF.  
Scan tests: 1, skipped: 0, failed: 0  
Do a test using 0x00000000.  
Scan tests: 2, skipped: 0, failed: 0  
Do a test using 0xFE03E0E2.  
Scan tests: 3, skipped: 0, failed: 0  
Do a test using 0x01FC1F1D.  
Scan tests: 4, skipped: 0, failed: 0  
Do a test using 0x5533CCAA.  
Scan tests: 5, skipped: 0, failed: 0  
Do a test using 0xAACC3355.  
Scan tests: 6, skipped: 0, failed: 0  
All of the values were scanned correctly.

The JTAG DR Integrity scan-test has succeeded.

---

<div class="post-metadata">

**Author:** ![Munadir\_Ahmed](https://dub1.discourse-cdn.com/flex006/user_avatar/forum.plexim.com/munadir_ahmed/32/1540_2.png) [@Munadir\_Ahmed](https://forum.plexim.com/u/Munadir_Ahmed)\
**Post date:** [July 1, 2026, 11:23am UTC](https://forum.plexim.com/t/jtag-and-external-mode/3185/9 "2026-07-01T11:23:39Z")

</div>

Hi Oli,

We do not provide support for older versions of the Target Support Package (TSP), as they may contain bugs that have already been addressed in more recent releases.

Additionally, I had a quick discussion with the developers, and they mentioned that older TSP versions do **not** support JTAG communication with custom boards. Instead, you will need to use **serial communication** when working with those versions.
