Jump to content
  • 0

JTAG-SMT4 Information


AA_TO

Question

Hi,

I'm planning to use this module with a single UART port (along with JTAG). A couple of questions:

1. Is it OK to leave all unused UART port pins open? 

2. I do not need hardware flow control pins (RTS/CTS) on active UART port - OK to leave them open?

3. Can unused UART ports be disabled in software?

4. What is the approximate current consumption for the Vdd pin?

Thanks!

Link to comment
Share on other sites

18 answers to this question

Recommended Posts

  • 0

Hi @AA_TO,

  1. Yes, you may leave them open.
  2. Yes, you may leave them unconnected.
  3. I believe they are normally disabled by default, though all of the pins on each of the 3 UART ports have 100k Ohm pull-up resistors implemented so they will not be left floating.
  4. We don't have an official spec for average current consumption, though another co-worker of mine measured an average 94 mA when running JTAG at 30 MHz and a single UART channel at 1 MBaud. When the USB controller was held in reset, the current consumption seemed to be about 25 mA.

Let me know if you have any questions.

Thanks,
JColvin

Link to comment
Share on other sites

  • 0

Hi, I have the module connected to a Windows 10 PC. Windows is reporting error with code 43. Module is powered by 3.3V LDO which uses USB_VBUS (5V) as an input. I installed the latest FTDI drivers (CDM212364), but it does not seem to work - Windows assigns the standard USB driver to device instead of the FTDI one. When manually changing driver, none of the available FTDI options seem to work.  Tried installing Adept - which in my understanding also installs the drivers, but still no success. Vivado (2020.1) also does not see the module.

Do you have any recommendations on how to handle software/driver issues of JTAG SMT4?  

Link to comment
Share on other sites

  • 0

Hello Michael,

Here are some screenshots:

image.png.e55fce6c629ba675ec89bfa1dca918fc.png 

image.png.2f75e3b5c30f852f23f810cb8b703dc5.pngimage.png.7dc32e54ac06f2adfc2f1f7e2195c3c5.png

As of schematic - I'm at prototyping stage now and don't have "official: schematic as of yet. I attached the module to my existing board for checking. USB+/- (pins 26/25) connected to the MicroUSB connector, grounds (9, 18, 27) to my board ground. I used 5V USB_VBUS with 3.3V LDO for VDD (pin 19); USB 5V is connected to VBUS_DETECT (pin 24). VREF_JTAG (pin 28) connected to on-board 3.3V power rail. JTAG pins (1..4) connected to 14-pin on-board JTAG connector (Xilinx standard). When I connect Xilinx JTAG pod to this connector it works fine. I'm going to change the module power from USB to just on-board 3.3V to avoid any power sequencing issues, but not sure if it is going to solve the wrong driver problem. One more thing - I have Linear Tech Power Play SW installed on my PC. It works with a USB to I2C Linear pod which apparently uses FT chip; I believe it has installed FTDI drivers (slightly older version). Not sure if this may cause any conflicts.

So far I don't have any serial bus connections (eventually will need just a single port. PS_POR_B and PS_SRST_B are disconnected as of now, but I will need them eventually.

 

 

image.png

Edited by AA_TO
Link to comment
Share on other sites

  • 0

@AA_TO

The screenshots you sent me don't indicate a driver problem, but rather what is likely a USB signal integrity issue. Have you tried using a different USB cable, or plugging it into a different port? What about a different Windows 10 PC? When you say you attached this to your existing board - is that a board that has SMT pads for the JTAG-SMT4 that follow the land pattern guidelines provided in the reference material? Have you added any additional series resistors or ESD diodes to USB D+/D-?

Link to comment
Share on other sites

  • 0

I've tried different PC/Cable with the same result. Signal integrity definitely can be an issue - USB signals are connected to the microUSB  connector with just two single wires, however short they are. There are no pads etc on the board - I kind of breadboarded the whole thing. I'm going to chop a good USB cable and solder wires to the module directly, hopefully it will work better. Thanks! 

Link to comment
Share on other sites

  • 0

Direct USB cable connection did the trick:

image.png.c49ab104ef5a79846d5ac480085a6aba.png

So windows is now happy - it sees 3 com ports and 4 USB serial  conv. - I guess JTAG being the other one. Vivado however did not find the Xilinx device, will have to do more troubleshooting.

Link to comment
Share on other sites

  • 0

jtagpins.tcl

 

@AA_TO

It's my understanding that Vivado/Vitis/SDK drive PS_POR and PS_SRST automatically as needed. However, it is possible to drive them manually. It's been quite a long time since I last did this but here are the instructions that I was given by Xilinx:

1.    Start XSDB
2.    source jtagpins.tcl
3.    connect
4.    Set tag target to the cable you want to test, e.g. “jtag target 1”
5.    To assert reset do: "setpin SRST 0” or “setpin POR 0”
6.    To de-assert reset do: "setpin SRST 1” or “setpin POR 1"

I don't recall what the name of the target is and I don't have the hardware here so I can't try it out, sorry.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...