Olimex Support Forum

Microcontrollers => MSP430 => Topic started by: RB on April 26, 2023, 01:18:19 AM

Title: TMS320-XDS100-V3 and MSP430-JTAG-TINY-V2 General Questions
Post by: RB on April 26, 2023, 01:18:19 AM
Would you please answer to questions:

1. Do the TMS320-XDS100-V3 and MSP430-JTAG-TINY-V2  emulators have any galvanic insulation on their USBs or JTAGs?

2. Do those emulators consume any supply current from the target PCB board thru the JTAG connector +5V net?

3. Do the the target PCB board consume any supply current from those emulators?

4. How much is those emulators current cosumption (max and typ values) from the USB +5V net? (if any)

5. How much is those emulators current cosumption (max and typ values) from JTAG connector +5V net? (if any)
Title: Re: TMS320-XDS100-V3 and MSP430-JTAG-TINY-V2 General Questions
Post by: LubOlimex on April 26, 2023, 09:20:09 AM
1. Do the TMS320-XDS100-V3 and MSP430-JTAG-TINY-V2  emulators have any galvanic insulation on their USBs or JTAGs?

No. If you want insulated MSP430 debugger, consider MSP430-JTAG-ISO-MK2:

https://www.olimex.com/Products/MSP430/JTAG/MSP430-JTAG-ISO-MK2/

Also please take a notice about the software which is compatible with MSP430-JTAG-TINY-V2 and MSP430-JTAG-ISO-MK2:

- Compatible with software tools that have support for MSP430 Debuck Stack version 2 (MSP430.dll v2).
- Not compatible with newest versions of IAR Embedded Workbench for MSP430 (6.x.x and after)
- Not compatible with newest versions of Code Composer Studio (6.1.3 and after)

2. Do those emulators consume any supply current from the target PCB board thru the JTAG connector +5V net?

If you power your target from another source the debugger might probe it, but it consumes very little.

Notice that it is also possible to power your target from the debugger as long as it consumes less than 100mA (applies only for MSP430-JTAG-TINY-V2; TMS320-XDS100-V3 can't power your target).

3. Do the the target PCB board consume any supply current from those emulators?

Depends on how your target board is made, check jumpers P_IN and P_OUT that control how boards are powered (e.g. if target board is powered form JTAG tool, or if it has own power supply).

4. How much is those emulators current cosumption (max and typ values) from the USB +5V net? (if any)

Around 30mA + any current drawn by the target.

5. How much is those emulators current cosumption (max and typ values) from JTAG connector +5V net? (if any)

As mentioned above, it is negligible.
Title: Re: TMS320-XDS100-V3 and MSP430-JTAG-TINY-V2 General Questions
Post by: RB on May 01, 2023, 12:43:58 AM
Thank you for the answers.


Here are some more questions on the TMS320-XDS100-V3 emulator:


1. What is the main intention of the emulator JTAG connector pin 5 ?

Is the sensing of the target supply voltage and its value only?

Or is it possible to supply the target from the emulator via that pin 5?


2. What the emulator control jumper settings I should set for the case of supplying power to the target from its external power supply?


3. What is the "logic 1" maximum voltage level of the TMS320-XDS100-V3 emulator output digital lines?


4. What are the absolute maximum voltage values for the TMS320-XDS100-V3 JTAG input pins (in the case when the device powered and unpowered too)?


5. Where can I find the TMS320-XDS100-V3 and MSP430-JTAG-TINY-V2 electric schematics?


Title: Re: TMS320-XDS100-V3 and MSP430-JTAG-TINY-V2 General Questions
Post by: LubOlimex on May 02, 2023, 08:51:17 AM
TMS320-XDS100-V3 is based on open hardware design released by Texas Instruments, you should look what they provide for the xds100v3 design. The archived page is a good start:

https://software-dl.ti.com/ccs/esd/documents/xdsdebugprobes/files/XDS100.pdf

> 2. What the emulator control jumper settings I should set for the case of supplying power to the target from its external power supply?

You can't power the target via TMS320-XDS100-V3.
Title: Re: TMS320-XDS100-V3 and MSP430-JTAG-TINY-V2 General Questions
Post by: RB on May 02, 2023, 03:02:23 PM
=TMS320-XDS100-V3 is based on open hardware design released by Texas Instruments, you should look what they provide for the xds100v3 design. The archived page is a good start:

https://software-dl.ti.com/ccs/esd/documents/xdsdebugprobes/files/XDS100.pdf=

Yes, I know it.

But unfortunately, there is no schematics on that file...


=> 2. What the emulator control jumper settings I should set for the case of supplying power to the target from its external power supply?

You can't power the target via TMS320-XDS100-V3.=

I am sorry for unclearance (as it's seen).

Our case is supplying power to the target from its external power supply.

What the emulator control jumper settings I should set for that case?
Title: Re: TMS320-XDS100-V3 and MSP430-JTAG-TINY-V2 General Questions
Post by: RB on May 02, 2023, 04:37:48 PM
Here are some more questions on the TMS320-XDS100-V3 emulator:


1. Will the (USB-) powered on TMS320-XDS100-V3 emulator JTAG outputs be damaged (by overcurrent or so...) if the JTAG connector is connected to the unpowered target?

Would it be good to power on of the TMS320-XDS100-V3 emulator when the target is UNpowered?


2. Will the (USB-) UNpowered TMS320-XDS100-V3 emulator JTAG inputs be damaged (by overcurrent or so...) if the JTAG connector is connected to the powered target?

Would it be good to UNpower of the TMS320-XDS100-V3 emulator when the target is powered?


3. What is the right powering sequence of the bundle of TMS320-XDS100-V3 and the target together connected via 14-pin JTAG?

The target is considered to power from the isolated +5V external power supply connected to the 220V AC mains.

There are two +3.3V and +1.8V LM1117 LDOs on the target PCB.
Title: Re: TMS320-XDS100-V3 and MSP430-JTAG-TINY-V2 General Questions
Post by: LubOlimex on May 03, 2023, 09:16:33 AM
QuoteYes, I know it.

But unfortunately, there is no schematics on that file...

That file links to an archive with the design files:

(https://i.imgur.com/gBVBCej.jpg)
Title: Re: TMS320-XDS100-V3 and MSP430-JTAG-TINY-V2 General Questions
Post by: LubOlimex on May 03, 2023, 09:35:05 AM
QuoteI am sorry for unclearance (as it's seen).

Our case is supplying power to the target from its external power supply.

What the emulator control jumper settings I should set for that case?

This is the expected way of operation so nothing special is needed. Jumpers can stay as they are by default.

Usually nothing extra is required and target can be unpowered. Still there is always some influence between two pieces of hardware when two different power supplies meet, so if you wish to be extra careful and safe, keep the two grounds always connected or connect the grounds few seconds before applying the voltage wire.
Title: Re: TMS320-XDS100-V3 and MSP430-JTAG-TINY-V2 General Questions
Post by: RB on May 06, 2023, 05:57:57 PM
Thank you for the answers.

I have found the TMS320-XDS100-V3 schematics and short manual on that link.


1. You wrote above:

=Notice that it is also possible to power your target from the debugger as long as it consumes less than 100mA.=
and later -
=You can't power the target via TMS320-XDS100-V3.=

Those answers are opposites to each other as I see?

Or else what I do not understand right?

Is it possible to power the target from the TMS320-XDS100-V3 emulator if the target board consumes under 100mA?

Is the pin 5 should use for this?

Or the pin 5 main intention is the target supply voltage sensing only?


2. Could you please provide the right powering sequence of the bundle of TMS320-XDS100-V3 and the target board together connected via 14-pin JTAG?

The target PCB is considered to power from the isolated +5V external power supply connected to the 220V AC mains.

There are two +3.3V and +1.8V LM1117 LDOs on the target PCB.

What is mandatory and important in power sequence in that application?

It is to not burn the emaulator and/or target board.
Title: Re: TMS320-XDS100-V3 and MSP430-JTAG-TINY-V2 General Questions
Post by: LubOlimex on May 08, 2023, 03:18:19 PM
QuoteNotice that it is also possible to power your target from the debugger as long as it consumes less than 100mA.

This information applied for MSP430-JTAG-TINY-V2, but I will edit my post since it was indeed misleading.

TMS320-XDS100-V3 can't power your target as mentioned multiple times in its manual.

QuoteCould you please provide the right powering sequence of the bundle of TMS320-XDS100-V3 and the target board together connected via 14-pin JTAG?

The target PCB is considered to power from the isolated +5V external power supply connected to the 220V AC mains.

There are two +3.3V and +1.8V LM1117 LDOs on the target PCB.

What is mandatory and important in power sequence in that application?

There is no real need of anything special, it will work just fine without anything extra. Just general precautions when dealing with electronics that get connected together and have different power supplies:

1. Make sure target power supply is disconnected before disconnecting the cable between the target and the emulator

2. Since XDS100v3 lacks cover, make sure to avoid placing it on conductive surfaces and don't handle it with bare hands.

3. To protect your PC from the programmer and the target you might try using an USB-ISO, that is galvanically separated:

https://www.olimex.com/Products/USB-Modules/USB-ISO/
Title: Re: TMS320-XDS100-V3 and MSP430-JTAG-TINY-V2 General Questions
Post by: RB on May 08, 2023, 07:07:19 PM
Thank you for the answers.


1. =3. To protect your PC from the programmer and the target you might try using an USB-ISO, that is galvanically separated:=

As I understand right, the abs. max. consumption current from the TMS320-XDS100-V3 and MSP430-JTAG-TINY-V2 emulators from the +5V USB isolator power output is under 30 mA approx.?


2. Please take a look at the connection schematic the TMS320-XDS100-V3 emulator with the target PCB on the picture link:

https://prnt.sc/gC2hEE9EkWUn

Is it have any errors?

The target is going to be supplied from the isolated +5V external power supply connected to the 220V AC mains.

There are two +3.3V and +1.8V LM1117 LDOs on the target PCB.

Should the emulator jumper settings be changed (compared to the factory settings) for that case?

The emulator is powered from the USB isolator module.


3. We're going to use the MSP430-JTAG-TINY-V2 emulator with the MSP430F2232 MCU target board.

There is a SWB bus connector on the PCB and no JTAGs.

There are two cables in the emulator set (see the photo):

https://www.olimex.com/Products/MSP430/JTAG/MSP430-JTAG-TINY-V2/
MSP430-JTAG-TINY-V2

Which of those cables should be used in our case?


4. Please take a look at the connection schematic on the picture link:

https://prnt.sc/_mYhqaGLJraR

Is it have any errors?

The target is going to be supplied from the isolated +5V external power supply connected to the 220V AC mains.

There are two +3.3V and +1.8V LM1117 LDOs on the target PCB.

What the emulator control jumper settings and the P-IN, P-OUT jumpers settings should be set for that case?

Should the emulator jumper settings be changed (compared to the factory settings) for that case?

The emulator is powered from the USB isolator module.
Title: Re: TMS320-XDS100-V3 and MSP430-JTAG-TINY-V2 General Questions
Post by: LubOlimex on May 09, 2023, 03:29:18 PM
1. Yes, the units consume very little. MSP430-JTAG-TINY-V2 can consume more if it powers the target, which is not the case here (since you wrote you'd power your target).

2. Looks fine.

3. MSP430-JTAG-TINY-V2 has just one 20-pin 14-pin cable that has both JTAG and SBW. It is important to pay attention to this picture since Olimex SBW layout differs from TI's:

https://www.olimex.com/Products/MSP430/_resources/msp430-jtag-tiny-v2-iso-mk2-layout.jpg

4. MSP430-JTAG-TINY-V2 has no jumpers exposed so you don't have to change any jumpers. About the target jumpers - P_OUT should be closed (connected) and P_IN opened (disconnected). This is because you power the target from external source. If you wish to power the target from MSP430-JTAG-TINY-V2, instead of the external supply you switch their states.

Just make sure that pins go properly. It is possible to mirror the layout.
Title: Re: TMS320-XDS100-V3 and MSP430-JTAG-TINY-V2 General Questions
Post by: RB on May 09, 2023, 05:03:10 PM
Thank you for the answers.


1. Please take a look at the connection schematic on the picture link:

https://prnt.sc/_mYhqaGLJraR

Is it have any errors?


2. Please take a look at the connection schematic the TMS320-XDS100-V3 emulator with the target PCB on the picture link:

https://prnt.sc/gC2hEE9EkWUn

The target is going to be supplied from the isolated +5V external power supply connected to the 220V AC mains.

There are two +3.3V and +1.8V LM1117 LDOs on the target PCB.

Should the emulator jumper settings be changed (compared to the factory settings) for that case?

The emulator is powered from the USB isolator module.
Title: Re: TMS320-XDS100-V3 and MSP430-JTAG-TINY-V2 General Questions
Post by: LubOlimex on May 15, 2023, 03:08:00 PM
Looks alright.
Title: Re: TMS320-XDS100-V3 and MSP430-JTAG-TINY-V2 General Questions
Post by: RB on May 29, 2023, 01:24:37 AM
Thanks a lot.
Title: Re: TMS320-XDS100-V3 and MSP430-JTAG-TINY-V2 General Questions
Post by: RB on August 04, 2023, 01:52:32 AM
Thank you.


1. You wrote in the #11 post:

* * *

3. MSP430-JTAG-TINY-V2 has just one 20-pin cable that has both JTAG and SBW. It is important to pay attention to this picture since Olimex SBW layout differs from TI's:

* * *

We bought TMS320-XDS100-V3 and MSP430-JTAG-TINY-V2.

The MSP430-JTAG-TINY-V2 has one 14-pin (at both sides) JTAG cable in the box.

Sould be one another "SWB cable" additionaly in the MSP430-JTAG-TINY-V2 set?


2. Is it the TOP VIEW to the JTAG male connectors placed on the debuggers PCBs ?

Layout of available JTAG connectors: 2x7 TI JTAG, 2x10 TI JTAG; 2x10 ARM JTAG
https://www.olimex.com/Products/DSP/Emulators/TMS320-XDS100-V3/resources/JTAG_connectors_XDS100.pdf

MSP430-JTAG-TINY-V2 JTAG connector layout
https://www.olimex.com/Products/MSP430/_resources/msp430-jtag-tiny-v2-iso-mk2-layout.jpg

Or... is the view to the JTAG connectors those (females) on the cables?


3. The target of our design is going to be powered from the isolated +5V external power supply connected to the 220V AC mains.

There are two +3.3V and +1.8V LM1117 LDOs (for the TMS320 DSP) on the target PCB.

The TMS320-XDS100-V3 debugger is going to be powered from the Olimex USB-ISO isolator module.

We are going to use the TMS320-XDS100-V3 14-pin JTAG debugger connector to connect it to the 10-pin JTAG connector on the target board.

Should the TMS320-XDS100-V3 emulator jumper settings be changed (compared to the factory settings) for this  case described?

4. Do you have a right and ready schematic solution how to connect the TMS320-XDS100-V3 debugger with its 14-pin JTAG cable connector to the 10-pin JTAG connector on our target board?

The fragment of our target design is shown here:

https://prnt.sc/rRgRUpqphMv2
Title: Re: TMS320-XDS100-V3 and MSP430-JTAG-TINY-V2 General Questions
Post by: LubOlimex on August 04, 2023, 08:52:49 AM
1. No, I just made a mistake earlier saying it is 20-pin JTAG cable (as in ARM JTAG debuggers). It should be 14-pin JTAG cable and same cable can be used by both JTAG and SBW. The note for the SBW still applies tho - Olimex SBW layout differs from TI's.

2. These views of the connectors at the debuggers. It is not the cables. For the cables track each wire.

3. No. It should work by default. Make sure ARM_JTAG_E jumper is open (as it should by default)

4. No, this 10-pin connector is not according to the Texas specifications but names at that 10-pin connector have exact equivalent in our 14-pin JTAG connector, so it should be pretty easy to figure out (like tms is T_TMS and trst is T_TRST_N and so on). But what is your target exactly? Did you design it, if not maybe ask the original designer about such table.
Title: Re: TMS320-XDS100-V3 and MSP430-JTAG-TINY-V2 General Questions
Post by: RB on August 04, 2023, 09:26:48 AM
Thank you.


1. *2. These views of the connectors at the debuggers. It is not the cables. For the cables track each wire.*

Is it the TOP VIEW to the JTAG male connectors placed on the debuggers PCBs ?

The top view?


2. *But what is your target exactly? Did you design it, if not maybe ask the original designer about such table.*

We did not design the target.

But it is knownt that the design is working.

Designer is not abailable because he is passed away year ago.


3. There is a solution to move from 14 to 10 pins.

https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/632599/awr1642-how-to-connect-a-10-pin-or-14-pin-jtag
AWR1642: how to connect a 10 Pin or 14 Pin JTAG?

It is not straight and differs from the board we have.

You can see it comparing its schematics:

https://prnt.sc/rRgRUpqphMv2 (design)

https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/632599/awr1642-how-to-connect-a-10-pin-or-14-pin-jtag (solution)
 
There are no some reistors in our design compared to the solution, etc.
Title: Re: TMS320-XDS100-V3 and MSP430-JTAG-TINY-V2 General Questions
Post by: LubOlimex on August 04, 2023, 10:45:03 AM
1. Each plastic connector has a marking which is the first pin.

2. My condolences.

3. Good but also pay attention to the notes below. These resistors are not required at all.
Title: Re: TMS320-XDS100-V3 and MSP430-JTAG-TINY-V2 General Questions
Post by: RB on August 04, 2023, 11:17:24 AM
Thank you.


***
We have Summer vacation from
07 Aug 2023 to 18 Aug 2023
***

And you can answer here on this forum after 18/08/2023 only?


*These resistors are not required at all.*

Which resistors namely (positions according to that TI circuit solution)?
Title: Re: TMS320-XDS100-V3 and MSP430-JTAG-TINY-V2 General Questions
Post by: LubOlimex on August 04, 2023, 01:41:24 PM
I will probably answer after 21/08/2023 (since 18/08/2023 is Friday).

The resistors from the schematic you found in the forums, as the TI employee also said in his reply.

(https://i.imgur.com/tqGwW9W.jpg)
Title: Re: TMS320-XDS100-V3 and MSP430-JTAG-TINY-V2 General Questions
Post by: RB on August 04, 2023, 03:02:32 PM
OK.

Thank you.


Nice vacations!