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 option. To target another board, change this option and re-generate the SoC 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:
- 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 or ftdi_ti.cfg file in the //bsp/efinix/EfxSoC/openocd directory.
- Change the
ftdi_device_descsetting 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 - Save the file.
- Debug as usual in OpenOCD.