xilinxPlatformCableUSB: driver for Xilinx Platform Cable USB probe

This commit is contained in:
Gwenhael Goavec-Merou
2026-05-14 14:33:44 +02:00
parent 698c8daaf4
commit db92a5ac24
6 changed files with 531 additions and 7 deletions
+12
View File
@@ -58,6 +58,9 @@
#ifdef ENABLE_XVC_CLIENT
#include "xvc_client.hpp"
#endif
#ifdef ENABLE_XILINX_PLATFORM_CABLE_USB
#include "xilinxPlatformCableUSB.hpp"
#endif
#define DEBUG 0
@@ -206,6 +209,15 @@ Jtag::Jtag(const cable_t &cable, const jtag_pins_conf_t *pin_conf,
case MODE_REMOTEBITBANG:
_jtag = new RemoteBitbang_client(ip_adr, port, verbose);
break;
#endif
case MODE_XPCU:
#ifdef ENABLE_XILINX_PLATFORM_CABLE_USB
_jtag = new XilinxPlatformCableUSB(0x03fd, 0x0013, clkHZ,
firmware_path, verbose);
break;
#else
printError("Jtag: support for Xilinx Platform Cable USB (XPCU) was not enabled at compile time");
throw std::exception();
#endif
default:
std::cerr << "Jtag: unknown cable type" << std::endl;