Hi
I have a hardware system with two ftdi 2232C usb devices. Each of these device manage a JTAG chain. When openocd start choose the first
ftdi device that ftdi_usb_open_desc function finds on usb device list.
How can I select the other ftdi device?
Thank you in advance
Best Regards
Andrea Sorio
PS: I apologize for my English
Hi Andrea,
OpenOCD JTAG server can select the right JTAGkey on startup.
- Find the serial number :
If you have a recent OpenOCD JTAG Server, you will get the serial number of the Amontec JTAGkey or any other FT2232 JTAG device at the startup of OpenOCD
- Use the serial number
For that, you have to write the serial number of the JTAGkey you want to use in a specific configuration file as :
Example for a Amontec JTAGkey Full Speed USB JTAG Dongle :
ft2232_device_desc “Amontec JTAGkey”
ft2232_serial xyxyxyxy
Example for a Amontec JTAGkey-2 High Speed USB JTAG Dongle :
ft2232_device_desc “Amontec JTAGkey-2”
ft2232_serial abcdefgh
Please refer you to the OpenOCD documention and search for serial number.
Note : From 2005
Amontec provides unique serial numbers for each Amontec JTAGkey Dongle, but this is not the case for all FT2232 JTAG devices from other makers.
Best regards,
Laurent
http://www.amontec.com
The Serial number can be entered in the excellent “Rowley Crossworks for ARM” too.
Example :
Select “Amontec JTAGkey” as JTAG Interface Dongle and fill the field Serial Number of your Amontec JTAGkey.
Best regards,
Laurent
http://www.amontec.com