Borton, Nick
2017-07-07 20:49:21 UTC
Hello,
I have been fighting today to get OpenOCD to recognize a Digilent-HS2 pod so I can perform some kernel debugging.
Here is a piece of the detailed OpenOCD debug output:
Debug: 400 14 ftdi.c:657 ftdi_initialize(): ftdi interface using shortest path jtag state transitions
Error: 401 18 mpsse.c:219 open_matching_device(): no device found
Error: 402 18 mpsse.c:363 mpsse_open(): unable to open ftdi device with vid 0403, pid 6014, description 'Digilent Adept USB Device', serial '*' at bus location '*'
Debug: 403 18 command.c:626 run_command(): Command failed with error code -100
User : 404 18 command.c:687 command_run_line():
dmesg output:
[3733978.431268] usb 1-2.2: USB disconnect, device number 7
[3733982.085675] usb 1-2.2: new high-speed USB device number 8 using ehci-pci
[3733982.183902] usb 1-2.2: New USB device found, idVendor=0403, idProduct=6014
[3733982.183905] usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[3733982.183907] usb 1-2.2: Product: Digilent USB Device
[3733982.183909] usb 1-2.2: Manufacturer: Digilent
[3733982.183911] usb 1-2.2: SerialNumber: 210249854389
[3733982.186319] ftdi_sio 1-2.2:1.0: FTDI USB Serial Device converter detected
[3733982.186354] usb 1-2.2: Detected FT232H
[3733982.186862] usb 1-2.2: FTDI USB Serial Device converter now attached to ttyUSB0
[3733982.194015] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[3733982.194036] ftdi_sio 1-2.2:1.0: device disconnected
And lsusb:
Bus 002 Device 073: ID 0403:6011 Future Technology Devices International, Ltd FT4232H Quad HS USB-UART/FIFO IC
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 003: ID 413c:301a Dell Computer Corp.
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 002: ID 413c:2107 Dell Computer Corp.
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 008: ID 0403:6014 Future Technology Devices International, Ltd FT232H Single HS USB-UART/FIFO IC
Bus 001 Device 002: ID 2109:2812 VIA Labs, Inc. VL812 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
I have also tried installing the Digilent Linux drivers, and that did not help either.
Again, probably something silly.
Any ideas?
Thanks,
Nick
I have been fighting today to get OpenOCD to recognize a Digilent-HS2 pod so I can perform some kernel debugging.
Here is a piece of the detailed OpenOCD debug output:
Debug: 400 14 ftdi.c:657 ftdi_initialize(): ftdi interface using shortest path jtag state transitions
Error: 401 18 mpsse.c:219 open_matching_device(): no device found
Error: 402 18 mpsse.c:363 mpsse_open(): unable to open ftdi device with vid 0403, pid 6014, description 'Digilent Adept USB Device', serial '*' at bus location '*'
Debug: 403 18 command.c:626 run_command(): Command failed with error code -100
User : 404 18 command.c:687 command_run_line():
dmesg output:
[3733978.431268] usb 1-2.2: USB disconnect, device number 7
[3733982.085675] usb 1-2.2: new high-speed USB device number 8 using ehci-pci
[3733982.183902] usb 1-2.2: New USB device found, idVendor=0403, idProduct=6014
[3733982.183905] usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[3733982.183907] usb 1-2.2: Product: Digilent USB Device
[3733982.183909] usb 1-2.2: Manufacturer: Digilent
[3733982.183911] usb 1-2.2: SerialNumber: 210249854389
[3733982.186319] ftdi_sio 1-2.2:1.0: FTDI USB Serial Device converter detected
[3733982.186354] usb 1-2.2: Detected FT232H
[3733982.186862] usb 1-2.2: FTDI USB Serial Device converter now attached to ttyUSB0
[3733982.194015] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[3733982.194036] ftdi_sio 1-2.2:1.0: device disconnected
And lsusb:
Bus 002 Device 073: ID 0403:6011 Future Technology Devices International, Ltd FT4232H Quad HS USB-UART/FIFO IC
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 003: ID 413c:301a Dell Computer Corp.
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 002: ID 413c:2107 Dell Computer Corp.
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 008: ID 0403:6014 Future Technology Devices International, Ltd FT232H Single HS USB-UART/FIFO IC
Bus 001 Device 002: ID 2109:2812 VIA Labs, Inc. VL812 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
I have also tried installing the Digilent Linux drivers, and that did not help either.
Again, probably something silly.
Any ideas?
Thanks,
Nick