OpenOCD Error: no device found
The FTDI driver included with the Sapphire SoC specifies the FTDI device VID and PID, and board description. In some cases, an early revision of the Efinix development board may have a different name than the one given in the driver file. If the board name does not match the name in the driver, OpenOCD fails with an error similar to the following:
Error: no device found
Error: unable to open ftdi device with vid 0403, pid 6010, description 'Trion T20 Development
Board', serial '*' at bus location '*'
To fix this problem, follow these steps with the development board attached to the
computer:
- Open the Efinity Programmer.
- Click the Refresh USB Targets button to display the board name in the USB Target drop-down list.
- Make note of the board name.
- In a text editor, open the ftdi.cfg (Trion) or ftdi_ti.cfg (Titanium) file in the /bsp/efinix/EFXSapphireSoC/openocd directory.
- Change the
ftdi_device_descsetting to match your board name. For example, use this code to change the name from Trion T20 Development Board to Trion T20 Developer Board:interface ftdi ftdi_device_desc "Trion T20 Developer Board" #ftdi_device_desc "Trion T20 Development Board" ftdi_vid_pid 0x0403 0x6010 - Save the file.
- Debug as usual in OpenOCD.