TMS320-XDS100-V3 and MSP430-JTAG-TINY-V2 General Questions

Started by RB, April 26, 2023, 01:18:19 AM

Previous topic - Next topic

RB

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)

LubOlimex

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.
Technical support and documentation manager at Olimex

RB

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?



LubOlimex

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.
Technical support and documentation manager at Olimex

RB

=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?

RB

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.

LubOlimex

QuoteYes, I know it.

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

That file links to an archive with the design files:


Technical support and documentation manager at Olimex

LubOlimex

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.
Technical support and documentation manager at Olimex

RB

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.

LubOlimex

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/
Technical support and documentation manager at Olimex

RB

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.

LubOlimex

#11
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.
Technical support and documentation manager at Olimex

RB

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.

LubOlimex

Technical support and documentation manager at Olimex