Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Openocd with Xilinx Platform Cable (DLC9G) #8

Open
rajeshkrmeena opened this issue Sep 12, 2019 · 4 comments
Open

Openocd with Xilinx Platform Cable (DLC9G) #8

rajeshkrmeena opened this issue Sep 12, 2019 · 4 comments

Comments

@rajeshkrmeena
Copy link

I tried to run openocd with Xilinx Platform Cable (DLC9G) but failed. I used 'usb-jtag.cfg' for configuring Interface (Platform Cable) . But failed to run Openocd.
The following error message is shown with Openocd

Openocd debug log is following
....
Debug: 83 5 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_init
Debug: 84 5 command.c:143 script_debug(): command - init ocd_init
Debug: 86 5 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_target init
Debug: 87 5 command.c:143 script_debug(): command - ocd_target ocd_target init
Debug: 89 5 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_target names
Debug: 90 5 command.c:143 script_debug(): command - ocd_target ocd_target names
Debug: 91 5 target.c:1324 handle_target_init_command(): Initializing targets...
Info : 92 5 ublast_access_ftdi.c:85 ublast_ftdi_init(): usb blaster interface using libftdi
Error: 93 11 ublast_access_ftdi.c:91 ublast_ftdi_init(): unable to open ftdi device: device not found
Debug: 94 11 command.c:626 run_command(): Command failed with error code -100
User : 95 11 command.c:687 command_run_line():

I think, the firmware is not loaded properly because message of lsusb : Bus 003 Device 004: ID 03fd:000f Xilinx, Inc. is showing proper ID.

Can you help me, how I can load firmware properly for openocd.

@vengelhardt
Copy link

Hi,
First you have to ensure to have proper rights on your USB port.
Check on which port your USB is plugged by typing lusb.
then chmod 666 /dev/bus/usb/001/???

Then load the hex file with : fxload -D /dev/bus/usb/001/xxx -t fx2 -I /lib/firmware/ixo-usb-jtag/usbjtag-xpcu_x.hex

@thomascp
Copy link

Hi @rajeshkrmeena,
Did you succeed?
I saw you are involved in another dicsussion.
Any luck to enable openocd ontop of Xilinx Platfrom Cable?

@rajeshkrmeena
Copy link
Author

Xilinx Platform Cable (DLC9G) firmware was corrupted and I was not able to program the firmware in DLC9G hence, later I did not use it. But, I successfully enabled Openocd with Digilent Cables.

@thomascp
Copy link

Thanks for the quick reply! @rajeshkrmeena.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants