• 0
Patrick Fitzpatrick

HS2 Programming Cable. Multiple Instances

Question

I have a system where I'm using 2 HS2 cables. One is used for SPI control and the other for Jtag.

For my SPI interface, I have written a DLL using the ADEPT2 SDK, that allows me to specify the serial number of teh device to connect for SPI.

 

Unfortunately both devices enumerate as device name "jtagHs2" and If I start my Xilinx Viivado Hardware manager before my SPI interface, the Vivado is taking over the device I want to use for SPI.

If I start my spi interface first then vivado correctly picks up the HS2 I want to use for JTAG.

 

Is there a way to prevent this, for example can I change the name "jtagHS2" in my SPI interface eeprom? 

 

Thanks,

Patrick

 

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Hi @Patrick Fitzpatrick,

I reached out to one of our design engineers about this post and they replied that you do not need to alter the EEPROM to change the user name. You can just download Adept Utilities and use dadutil to change the username with the “setusr” command. They don’t know of any way to prevent the hardware manager from opening an Adept device without also causing Adept to ignore it. Changing the username isn’t going to solve this problem. All that will do is make it easier for you to pick which device gets opened by your custom application. However, if Xilinx’s hardware manager has opened and locked the device then Adept will throw an error when you attempt to enable the SPI port.

For the time being you are stuck using your existing work around.

thank you,

Jon

Share this post


Link to post
Share on other sites
  • 0

Thanks.

I have one other issue. I have 4 HS2's and I messed up the eeprom in one using FTDI's FT_Prog utility. Now FTDI's utuility will not recognize the device and I can't fix what I broke. Is there a utility to "fix" the eeprom in the HS2?

 

Thanks.

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