Commit Graph

2035 Commits

Author SHA1 Message Date
Gwenhael Goavec-Merou 468f787fdf cmsisDAP: initWithHID: displays index not device_idx (not updated when not found) 2026-07-02 08:44:20 +02:00
Gwenhael Goavec-Merou 58aadf8c3a cmsisDAP: move init/dapConnect at CTOR level to avoid dupplicate 2026-07-02 08:44:09 +02:00
Gwenhael Goavec-Merou dfcc540daa cmsisDAP: only throw exception in CTOR method 2026-07-02 08:43:56 +02:00
aisuneko icecat 53180a83f2 cmsisdap: add support for USB Bulk backend 2026-07-02 08:43:35 +02:00
aisuneko icecat b8036312cd cable: add Sipeed SLogic Combo 8 support 2026-07-02 08:43:23 +02:00
Gwenhael Goavec-Merou 5b3db15d3b
Merge pull request #687 from BrisbaneSilicon/master
board.hpp: Add epm11
2026-07-02 07:51:07 +02:00
Craig Haywood 85a7a95e21 board.hpp: Add epm11 2026-07-02 14:51:18 +10:00
Gwenhael Goavec-Merou 5de70adbc2
Merge pull request #686 from haomjc/bpi-dumpflash-support
xilinx: add BPI parallel NOR support to dumpFlash()
2026-07-01 16:28:41 +02:00
haomjc 1846415ab8 xilinx: add BPI parallel NOR support to dumpFlash()
BPI (parallel CFI NOR) flash support was added in #676 for
program_bpi/write, but Xilinx::dumpFlash() only handles the XC95/XCF
and SPI (PRIMARY_FLASH/SECONDARY_FLASH) paths. On boards where
_is_bpi_board is set, --dump-flash silently falls through to the SPI
FlashInterface, producing garbage instead of reading the BPI NOR.

This adds a BPI branch mirroring the existing write path: load the
BPI JTAG bridge if needed, detect the flash, read the requested
region into the target BPI flash's buffer, and write it out.

Tested on a Kintex-7 XC7K480T board with a Micron MT28GU512AAA1EGC
BPI NOR (digilent_hs2 cable): wrote random data to a scratch flash
region with --write-flash, read it back with the patched
--dump-flash, and confirmed the two are byte-identical.
2026-07-01 15:24:35 +02:00
Gwenhael Goavec-Merou d90fa0ca85
Merge pull request #676 from boondocklabs/master
Add support for alibaba cloud xcku3p card
2026-06-25 15:30:24 +02:00
Matt Thompson 7478e2804b Add support for alibaba cloud xcku3p card 2026-06-25 15:29:02 +02:00
Gwenhael Goavec-Merou 78d3508428
Merge pull request #663 from gHashTag/feat/qmtech-xc7a100t-board
feat: add QMTech XC7A100T (FGG676) board support
2026-06-25 15:14:31 +02:00
Gwenhael Goavec-Merou a1c4208510
Merge pull request #671 from MYJ695/master
Fix DNA read on Zynq devices
2026-06-25 15:12:11 +02:00
Gwenhael Goavec-Merou 2829abd10e
Merge pull request #684 from matschi95/efinix_ti375n484
Add Efinix Ti375N484 support
2026-06-25 15:10:51 +02:00
Mario Reisinger f60df2989b Add Efinix Ti375N484 support 2026-06-25 11:15:48 +02:00
Gwenhael Goavec-Merou fbba530ea8
Merge pull request #662 from aisuneko/svf_feat
Fix incorrect handling of spaces and newlines in SVF bitstreams and add progressbar
2026-06-22 09:03:25 +02:00
Gwenhael Goavec-Merou cf7d293a33
Merge pull request #683 from pftbest/fix-xvc-read
xvc_client: block until full reply received, fixes errors on a slow network
2026-06-21 08:16:20 +02:00
Vasilev Dmitrii 2735ee5d6e
fix(spiOverJtag): package-specific FGG676 bitstream build for QMTech XC7A100T (#682)
* fix(spiOverJtag): package-specific FGG676 bitstream build for QMTech XC7A100T

- Makefile: add xc7a100tfgg676 target
- build.py: parse device+package form (e.g. xc7a100tfgg676), stop aliasing
  a package-specific bitstream to other packages via symlink
- constr_xc7a_fgg676.xdc: set BITSTREAM.STARTUP.STARTUPCLK JtagClk (camelCase;
  all-caps JTAGCLK is silently rejected and falls back to Cclk, leaving EOS=0
  over JTAG), correct SPI pins to LVCMOS33 per QMTech schematic
- README.md: document package-specific bitstream build
- remove stale spiOverJtag_xc7a100tfgg676.bit.gz (rebuilt by above)

* spiOverJtag: reword FGG676 SPI-flash pin comment as package-level

These pins are fixed by the XC7A*T-FGG676 package, not by the QMTech board.
Reword the comment to reflect that any XC7A35T/50T/75T/100T/200T in the FGG676
package routes the SPI-flash signals to the same balls. Keep the QMTech
schematic only as the cross-check reference. No pin values changed.

Addresses trabucayre review on constr_xc7a_fgg676.xdc.

---------

Co-authored-by: gHashTag <admin@t27.ai>
2026-06-20 11:35:53 +02:00
Vadzim Dambrouski 4af13b96ab xvc_client: block until full reply received, fixes errors on a slow network
ll_write() can request more than 1.5K of data, but recv() call will
return right away as soon as one packet is received. This causes large
transfers to break as not enough data is received.

Fixed by adding rx_exact flag and enabled it for ll_write()

Tested with Zynq7010 on a slow WiFi. Before the patch all uploads were
silently failing with no error in the log.

Signed-off-by: Vadzim Dambrouski <pftbest@gmail.com>
2026-06-19 20:32:41 +02:00
Martin C 77db4dae64
xilinx: add VU19P (xcvu19p) IR code mapping and dispatch (#674)
* xilinx: add VU19P (xcvu19p) IR code mapping and dispatch

* Change copyright symbol for consistency
2026-06-19 18:43:40 +02:00
gHashTag 7e60007c17 feat: add QMTech Artix-7 XC7A100T (FGG676) board support
Add board entry to doc/boards.yml and src/board.hpp board_list.
JTAG board, xc7a100tfgg676, SPI flash.
2026-06-18 16:45:42 +00:00
Gwenhael Goavec-Merou 07db236e09
Merge pull request #681 from enjoy-digital/issi-is25wp256
spiFlashdb: add ISSI IS25WP256 and Quad Enable for IS25LP/WP256
2026-06-16 10:45:14 +02:00
Florent Kermarrec 828b970759 spiFlashdb: add ISSI IS25WP256 and Quad Enable for IS25LP/WP256
The IS25WP256 (0x9d7019, 1.8V variant of the IS25LP256) was missing
from the database, and neither 256Mb part had its Quad Enable bit
described (status register bit 6 per the IS25LP(WP)256D datasheet),
making --enable-quad fail on these parts. Required to boot Xilinx
bitstreams generated with SPI_BUSWIDTH 4.
2026-06-16 10:30:31 +02:00
Gwenhael Goavec-Merou bf8106ef5f cable: added xilinxPlatformCableUsb_alt variant with PID==0x000D (found in SP601) 2026-06-04 16:21:54 +02:00
Gwenhael Goavec-Merou 052832444f jtag: in MODE_XPCU don't hardcode VID/PID 2026-06-04 16:21:19 +02:00
Gwenhael Goavec-Merou 3fb071bc86 xilinxPlatformCableUSB: adapts firmware to PID (0x0d: xusb_emb.hex, 0x0013: xusb_xp2.hex 2026-06-04 16:20:55 +02:00
Gwenhael Goavec-Merou b3a3d68384 spiFlashdb: PUYA P25Q32H 2026-05-31 18:20:11 +02:00
dettus 1e16f33dfb
2-5 minor typos (#673)
* OpenBSD-Patch: Added the #include <sys/socket.h> in xvc_server.cpp to allow for compilation. Added a section to the README.md.

* Moved the Note regarding OpenBSD from the README.md into the doc/guide/troubleshooting.rst.

* reverted the README.md back to its original form.

* Removed a copy&paste error in the main.cpp file. Updated the documentation on OpenBSD.

* slight change to reflect the nomenclature of modules/devices in OpenBSD.

* "Windows" is spelled with only one "o".
2026-05-30 11:40:19 +02:00
Gwenhael Goavec-Merou c6ca4e571b CMakeLists.txt: revert fad4a28103 -> uses pkg_check_modules all the time 2026-05-28 17:12:24 +02:00
MYJ695 fda4ef7b45
Fix DNA read on Zynq devices
Do not apply the Zynq non-volatile memory restriction when only reading FPGA DNA. Allow Zynq devices to use the existing 7-series DNA read path.

Tested on xc7z010 over XVC with --read-dna.
2026-05-26 15:50:23 +08:00
Gwenhael Goavec-Merou 0818a404c9 README.md, main: update probe-firmware message 2026-05-25 18:42:18 +02:00
Hannes Rüger 7ae2825b5b
feat: add agilex 3 A3CY100 model to fpga list (#669)
* feat: add agilex 3 A3CY100 model to fpga list

* feat: add agilex 3 devboard to boards
2026-05-24 08:42:14 +02:00
Gwenhael Goavec-Merou b3f418c977 remoteBitbang_client: fix toggleClk behavior, uses flush instead of ll_write(NULL), fix potential overflows, simplify code 2026-05-19 11:41:37 +02:00
dettus 956375efbc
Enabling the compilation on OpenBSD (#651) 2026-05-16 09:54:12 +02:00
Gwenhael Goavec-Merou 79aa75dd8e
Merge pull request #665 from r4d10n/esp_usb_jtag
esp_usb_jtag: support multiple boards (--busdev-num, --usb-serial-num)
2026-05-15 08:23:09 +02:00
r4d10n 9e548983f9 esp_usb_jtag: disambiguate multiple boards via --busdev-num and --usb-serial-num
libusb_open_device_with_vid_pid() returns the first VID:PID match, so
with two ESP32-S3 cables connected, every invocation programmed the
same board. Replace it with a libusb_get_device_list() iteration that
also honours cable.bus_addr/device_addr (already exposed as
--busdev-num) and --usb-serial-num flag that matches the device
iSerialNumber by substring (useful with MAC-derived serials).

The -d /dev/ttyACM* path could not help: that's the CDC-ACM interface
(iface 0), while JTAG is on the vendor iface 2 reached via libusb;
ttyACM numbering and libusb enumeration order are independent.

Constraint: must keep existing single-board invocations working without flag changes
Confidence: high
Scope-risk: narrow
Directive: arguments struct uses positional aggregate init at main.cpp:120; new fields must add a matching slot
Not-tested: simultaneous two-board programming on real hardware (single-board path verified to build)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-14 18:28:31 +02:00
Gwenhael Goavec-Merou 4000496abc main: ftdi-serial is deprecated. Added --usb-serial-num argument 2026-05-14 18:24:59 +02:00
Gwenhael Goavec-Merou be5de3c596
Merge pull request #661 from parker-research/feat-version-flag
Add --version lowercase flag to comply with convention
2026-05-14 18:23:24 +02:00
parker-research fe21c890a4 Add --version lowercase flag to comply with convention 2026-05-14 15:19:37 +02:00
Gwenhael Goavec-Merou c7b3613511 doc/cable: alphabetic order 2026-05-14 14:44:05 +02:00
Gwenhael Goavec-Merou db92a5ac24 xilinxPlatformCableUSB: driver for Xilinx Platform Cable USB probe 2026-05-14 14:33:44 +02:00
Gwenhael Goavec-Merou 698c8daaf4 usbBlaster: added explicit windex when read_ctrl is used 2026-05-14 14:33:37 +02:00
Gwenhael Goavec-Merou ef92800ac3 fx2_ll: check load_firmware return code. Added some progressbar. Allows caller to set the alternate setting for an interface. Expose windex in write_ctrl/read_ctrl 2026-05-14 14:33:21 +02:00
Gwenhael Goavec-Merou 22e782ac95
Merge pull request #664 from BrisbaneSilicon/master
board.hpp: Add brs-100-gw1nr9
2026-05-13 10:57:26 +02:00
Craig Haywood 4541b93795 board.hpp: Add brs-100-gw1nr9 2026-05-13 16:21:38 +10:00
Gwenhael Goavec-Merou ed6025645f CMakeLists.txt: uses regex to remove potential rcX in LIBFTDI_VERSION_MINOR 2026-05-06 18:12:24 +02:00
aisuneko icecat f0e0f3a3f9 svf_jtag: add progressbar 2026-05-06 23:04:39 +08:00
aisuneko icecat 38acd7644c svf_jtag: fix incorrect handling of spaces and newlines 2026-05-06 23:04:11 +08:00
Gwenhael Goavec-Merou 676f59416a CI/msys2/PKGBUILD: added missing hidapi dependency 2026-05-05 14:39:24 +02:00
Gwenhael Goavec-Merou 6ae42cf38d CI: fix previous commit 2026-05-05 14:30:27 +02:00