Target another Efinix Board

The Sapphire SoC BSP includes FTDI configuration files that specify the FTDI device VID and PID and board description for Efinix development boards.

When you configure the SoC, you can choose which Efinix board to target with the Debug tab > Target OpenOCD option. To target another board, change this option and re-generate the SoC files.

Table 1. Provided FTDI Configuration Files
File Use for
ftdi.cfg development board
ftdi_ti.cfg Titanium development board

If you do not want to re-generate the SoC, you can also change the target Efinix board manually by editing the .cfg file. However, if you want to target your own board, refer to Target Your Own Board because the Efinix drivers specifically target the FTDI chips used on Efinix boards and your board will probably not have that chip.

To target a different Efinix development board manually, follow these steps with the development board attached to the computer:
  1. Open the Efinity® Programmer.
  2. Click the Refresh USB Targets button to display the board name in the USB Target drop-down list.
  3. Make note of the board name.
  4. In a text editor, open the ftdi.cfg or ftdi_ti.cfg file in the //bsp/efinix/EfxSoC/openocd directory.
  5. Change the ftdi_device_desc setting to match the board name. For example, use this code to change the name from Trion T120F576 Development Board to Trion T120F324 Development Board:
    interface ftdi
    ftdi_device_desc "Trion T120F324 Development Board"
    #ftdi_device_desc "Trion T120F576 Development Board"
    ftdi_vid_pid 0x0403 0x6010
  6. Save the file.
  7. Debug as usual in OpenOCD.