Skip to content
This repository was archived by the owner on Mar 7, 2026. It is now read-only.

Commit 742c62c

Browse files
committed
hosted/ftdi_bmp: Added the requisite board definition for the ECP5-5G Versa so we can see and use its FTDI interface properly
1 parent a3f2ad1 commit 742c62c

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

src/platforms/hosted/ftdi_bmp.c

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,10 +395,29 @@ const cable_desc_s cable_desc[] = {
395395
.vendor = 0x15baU,
396396
.product = 0x0003U,
397397
.interface = INTERFACE_A,
398+
.init.data[0] = 0U,
398399
.init.dirs[0] = PIN4,
399400
.description = "Olimex OpenOCD JTAG",
400401
.name = "arm-usb-ocd",
401402
},
403+
{
404+
/*
405+
* https://www.latticesemi.com/view_document?document_id=51396
406+
* This interface is JTAG-only.
407+
* DBUS 4 is an activity indicator
408+
* MPSSE_SK (DB0) ----------- TCK
409+
* MPSSE-DO (DB1) ----------- TDI
410+
* MPSSE-DI (DB2) ----------- TDO
411+
* MPSSE-CS (DB3) ----------- TMS
412+
*/
413+
.vendor = 0x0403U,
414+
.product = 0x6010U,
415+
.interface = INTERFACE_A,
416+
.init.data[0] = 0U,
417+
.init.dirs[0] = PIN4,
418+
.description = "Lattice ECP5_5G VERSA Board",
419+
.name = "ecp5-versa",
420+
},
402421
{0},
403422
};
404423

0 commit comments

Comments
 (0)