Recommended Posts

Hi,

We are going to purchase JTAG-USB Cable to debug our own developed chip. 2 questions here:

1. I assume this JTAG-USB Cable is able to auto-sense my VDD voltage level as long as it is within the range 1.8V ~ 5.0V. Is this correct?

2. We need this JTAG-USB Cable to do some configuration in our chip. Do I use "Digilent Adept Suite" or "Digilent AVR Device Programmer" to generate my JTAG signals/waveforms ? 

And one request:

1. I need a datasheet of JTAG-USB Cable datasheet if possible.

Please advice, thank you.

Tifei

 

Share this post


Link to post
Share on other sites

Hi @Tifei,

I reached out to our design engineer about this thread and they responded suggesting the JTAG-HS2 instead of the JTAG USB. The VREF pin on the module uses the VDD voltage level supplied by the host board and will work with voltages between 1.8V and 5.0V. Adept can program some FPGAs but isn’t a general FPGA programmer, which is why he would point customers to the Xilinx Vivado tools for that. The AVR programmer hasn’t been updated in years so you would have to get really lucky in selecting a part that’s actually supported.  Unfortunately, a reference manual for the JTAG USB was not made . The Reference manual for the JTAG HS2 is here.

thank you,

Jon

Share this post


Link to post
Share on other sites

Hi Jon,

Thanks for the reply. Please correct me if I am wrong:

1. Recommend using JTAG-HS2 instead of JTAG-USB. The reason is that JTAG-HS2 has VDD voltage level design but JTAG-USB does not.  It looks like JTAG-HS2 is newer than JTAG-USB cable?

2. Don't use AVR programmer since it is obsolete.

3. I am not using this JTAG-HS2 to configure Xilinx FPGA at all. So no Vivado tool is involved. I am using it to send in custom waveform into my own chip. For example, toggle 5 times at TMS while TDI is pulled high. To achieve this I need to use Adept SDK, am I right?

Please advice, thank you.

Tifei

Share this post


Link to post
Share on other sites

Hi @Tifei,

For question number one, we recommended the JTAG-HS2 since it is a newer programming cable and has more support. For question number two, the AVR programmer still has a place in this world but only for very specific older AVR chips. Lastly for question number 3, you would be using Adept SDK. In this case you would use the DMGR and DJTG libraries to write your own custom application.

cheers,

Jon

Share this post


Link to post
Share on other sites

Thanks Jon,

We take your advise by using JTAG-HS2. I also notice the Adept 2 is free downloaded including System, Utilities and SDK.

1. Should I install all 3 of them?

2. Can I install them in Windows 7 Professional or Windows 10 pc?

3. Can you provide an Adept 2 example? Something simple where I can start with. Thank you. 

Tifei

Share this post


Link to post
Share on other sites

Hi @Tifei,

You should install all 3, system, utilities and SDK. You can install them in either window 7 professional or Window 10 pc.  In the Adept 2 SDK folder that is downloaded there are examples for both the DMRG and DJTG libraries.

cheers,

Jon

Share this post


Link to post
Share on other sites

Hi Jon,

After studying the Adept 2, my questions concern the "target device" of the JTAG-HS2 programming cable.

1)  Can the HS2 talk to any non-xilinx jtag-compliant target device?

2)  I don't yet have the HS2 cable, and there is no target hardware available yet.  But going through the adept sdk jtag demo (using visual studio c++ environment), the executable requires a "device name" argument.  Where and how can this "device name" be found?

Please advice, thank you.

Tifei

Share this post


Link to post
Share on other sites

Hi @Tifei,

I re-confirmed with our design engineer that you can use the Adept Utilities “dadutil enum” or “djtgcfg enum” and it will list the connected devices and their device names. The JTAG-HS2 can talk to non-xilinx JTAG devices as long as you write your own software for or find a third party software that does it, such as Open OCD.

cheers,

Jon

Share this post


Link to post
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