Commit Graph

1866 Commits

Author SHA1 Message Date
ced2911 d8e81ffdad Add spiOverJtag for 10CL006YE144C8G + fix for quartus 25 2026-02-03 14:47:00 +01:00
Gwenhael Goavec-Merou e78b5e2995 CMakeLists.txt,main.cpp: option to enable/disable svf_jtag support 2026-01-29 16:16:40 +01:00
Gwenhael Goavec-Merou cc1dc3c868 CMakeLists.txt,main: added options to enable/disable vendors drivers 2026-01-29 16:06:17 +01:00
Gwenhael Goavec-Merou b3a8ea03d5 xilinx.cpp: nitpick 2026-01-29 14:43:35 +01:00
Gwenhael Goavec-Merou e34669417b
Merge pull request #619 from rkebelj/master
xilinx: Fixed infinite loop in bit files smaller than 100
2026-01-29 12:14:33 +01:00
rkebelj fb1768a175 xilinx: Fixed infinite loop in bit files smaller than 100 2026-01-28 22:13:05 +01:00
Gwenhael Goavec-Merou aaad826635 CMakeLists.txt: ihexParser must be built only when USE_FX2_LL is set 2026-01-24 17:23:38 +01:00
Gwenhael Goavec-Merou fad4a28103 CMakeLists.txt: try to uses find_package to detect the libFTDI and keep pkg_config way as backward compat 2026-01-22 10:54:24 +01:00
Gwenhael Goavec-Merou bbfd5045d4
Merge pull request #617 from fisherdog4/patch-1
Add xc7z007s
2026-01-22 07:57:04 +01:00
fisherdog4 65ac4b24a3
Add xc7z007s 2026-01-21 20:50:19 -05:00
atmgnd ecebc40004
Fix build with -DENABLE_FTDI_BASED_CABLE=off; fix potential array out-of-bounds access (#616)
* Fix build without FTDI cable

Signed-off-by: Qi Zhou <atmgnd@outlook.com>

* Fix potential array out‑of‑bounds access

Signed-off-by: Qi Zhou <atmgnd@outlook.com>

---------

Signed-off-by: Qi Zhou <atmgnd@outlook.com>
Co-authored-by: Qi Zhou <qi.zhou@unispc.com>
2026-01-21 14:38:30 +01:00
Gwenhael Goavec-Merou 86ae6ed372
Merge pull request #615 from enjoy-digital/7series
src/part.hpp: Add missing Xilinx 7-series IDCODEs.
2026-01-20 14:56:02 +01:00
Florent Kermarrec 4767ec2ce2 src/part.hpp: Add missing Xilinx 7-series IDCODEs.
Add missing 7-series entries based on UG470 v1.17 Table 1-1.

Source:
- AMD UG470 (7 Series FPGAs Configuration User Guide), v1.17 (2023-12-05), Table 1-1
  https://docs.amd.com/v/u/en-US/ug470_7Series_Config
2026-01-20 14:52:04 +01:00
Gwenhael Goavec-Merou 667b3585d8
Merge pull request #614 from enjoy-digital/spartan_ultrascale+
src/part.hpp: Add Xilinx Spartan UltraScale+ devices.
2026-01-20 14:41:18 +01:00
Florent Kermarrec 87bf3c0f74 src/part.hpp: Add Xilinx Spartan UltraScale+ devices.
Extend fpga_list with Spartan UltraScale+ JTAG IDCODEs.

Source:
- https://docs.amd.com/r/en-US/ug860-spartan-configuration/Spartan-UltraScale-Devices-and-JTAG-IDCODEs
2026-01-20 14:40:04 +01:00
Gwenhael Goavec-Merou 18f2c931ab
Merge pull request #613 from enjoy-digital/ultrascale+
src/part.hpp: Add missing Xilinx UltraScale+ device IDCODEs.
2026-01-20 14:27:49 +01:00
Florent Kermarrec 25ad02bb5e src/part.hpp: Add missing Xilinx UltraScale+ device IDCODEs.
Extend fpga_list with additional UltraScale+ parts (Artix/Kintex/Virtex).

Source:
- https://review.openocd.org/c/openocd/+/7716
- https://sourceforge.net/p/openocd/mailman/openocd-devel/thread/20230525234809.B6A131B2%40openocd.org/
2026-01-20 14:15:02 +01:00
Gwenhael Goavec-Merou d767f57a73
Merge pull request #612 from Wolfiwolf/add-flash-mx25v8035
spiFlashdb: Added MX25V8035F NOR flash chip
2026-01-19 07:58:46 +01:00
Jernej Volk 7432d49391 spiFlashdb: Added MX25V8035F NOR flash chip 2026-01-18 21:51:40 +01:00
Gwenhael Goavec-Merou e77af309e1
Merge pull request #608 from lipx1508/patch-1
Fix a small formatting error
2026-01-08 11:23:28 +01:00
letaldev a1599b63f8
Fix a small formatting error
`obuf - _obuf` returns `long` rather than `long long`
2026-01-07 15:51:17 -03:00
Gwenhael Goavec-Merou b870ee4c4f jtag.cpp: ENABLE_ESP_USB_JTAG -> ENABLE_ESP_USB 2026-01-02 11:00:51 +01:00
Gwenhael Goavec-Merou 0ce9fcb050 dirtyJtag: writeTDI: when end don't shift before applying last bit -> this Byte is correctly aligned during previous step 2026-01-02 10:04:02 +01:00
Gwenhael Goavec-Merou 6a7bd29e0d dirtyJtag: writeTDI: fixed last Byte align 2026-01-02 09:52:41 +01:00
Gwenhael Goavec-Merou d654a9d6d5 esp_usb_jtag: toggleClk: ignore tdi/tms and keep these pins to the current state 2026-01-01 12:46:39 +01:00
Gwenhael Goavec-Merou c7c0d94168 dirtyJtag: improves code / nitpick 2026-01-01 11:33:30 +01:00
Gwenhael Goavec-Merou 097e236be8 dirtyJtag: writeTMS: honour tdi method parameter (required by gowin GW5A family) 2025-12-31 15:49:04 +01:00
Gwenhael Goavec-Merou 936fe64c4a ftdipp_mpsse.cpp: setClkFreq: flush buffers before changing clock frequency 2025-12-31 12:09:58 +01:00
Gwenhael Goavec-Merou 2c6dac2d9c lattice: fixed SRAM for NEXUS family 2025-12-30 15:50:19 +01:00
Gwenhael Goavec-Merou 6f920360fc lattice: fixed SPI Flash access for NEXUS Family 2025-12-30 11:34:35 +01:00
Gwenhael Goavec-Merou dd7b74d2f5 lattice: uses reg_content to defines status registers bits for Nexus family 2025-12-30 09:15:10 +01:00
Gwenhael Goavec-Merou 667f8de666
Merge pull request #606 from germaneguise/feature/dirtyjtag-custom-vid-pid
dirtyjtag: Allow custom VID/PID via command line options
2025-12-29 13:27:58 +01:00
germaneguise c1c6e438a5 dirtyjtag: Allow custom VID/PID via command line options
Pass cable.vid and cable.pid to DirtyJtag constructor instead of using
hardcoded DIRTYJTAG_VID/PID. This allows users to use DirtyJTAG-compatible
firmware with custom USB VID/PID using the --vid and --pid flags:

  openFPGALoader -c dirtyJtag --vid 0x1337 --pid 0x0001 bitstream.fs

This is useful for custom DirtyJTAG implementations, embedded microcontrollers
with built-in JTAG adapters, or devices that use MS OS 2.0 descriptors for
automatic WinUSB driver loading with different VID/PID.

The default VID/PID (0x1209:0xC0CA) is preserved for backward compatibility.
2025-12-27 16:12:31 +09:00
Gwenhael Goavec-Merou ac3ed1266d CMakeLists.txt: bump cmake_minimum_required to 3.10 2025-12-26 09:17:15 +01:00
Gwenhael Goavec-Merou 6bac72cd68 Global: added option to select/deselect all cables, added variables ENABLE_xxx to enable corresponding cables. Some vendor drivers needs to to be disabled accordlingly 2025-12-26 09:17:06 +01:00
Gwenhael Goavec-Merou a81067bf63
Merge pull request #604 from phdussud/master
Enable support for CH347F
2025-12-25 11:17:32 +01:00
Patrick Dussud 84897ffa78 Enable support for CH347F
FIx a Windows issue
2025-12-24 12:13:56 -08:00
Gwenhael Goavec-Merou 63a42344bc lattice: rework program_extFlash method to uses new mcsParser features when extension == mcs 2025-12-17 20:05:11 +01:00
Gwenhael Goavec-Merou 3706236b43 xilinx: rework program_spi method to uses new mcsParser features when extension == mcs 2025-12-17 20:05:11 +01:00
Gwenhael Goavec-Merou f349377f5f mcsParser: reworks code to uses FlashDataSection 2025-12-17 20:05:11 +01:00
Gwenhael Goavec-Merou d7b9d58768 spiInterface: added write method variant with vector of FlashDataSection 2025-12-17 20:05:11 +01:00
Gwenhael Goavec-Merou f2c013daab spiFlash: added erase_and_prog method with vector of FlashDataSection 2025-12-17 20:05:11 +01:00
Gwenhael Goavec-Merou 4a593c258c spiFlash: moved BP status, unlock step into a dedicatedmethod 2025-12-17 20:05:11 +01:00
Gwenhael Goavec-Merou a7e4303563 spiFlash: bulk_erase method: allows BP bypass and printXX with a verbose level 2025-12-17 20:05:11 +01:00
Gwenhael Goavec-Merou e302bb6edc spiFlash: added FlashDataSection to handle bitstream per sections when gap or 0xff area are present 2025-12-17 20:05:11 +01:00
Gwenhael Goavec-Merou 7ed4954c91
Merge pull request #599 from zh522130/fix-analogic-high-freq-flash
anlogic: fix high frequency flash programming issue
2025-12-13 08:55:14 +01:00
Gwenhael Goavec-Merou fe115e10dd
Merge pull request #598 from zh522130/efinix-header-verify
efinix: Add header parsing and flash programming validation
2025-12-13 08:53:37 +01:00
zhangyh 4c17327a65 anlogic: fix high frequency flash programming issue 2025-12-12 04:14:14 +00:00
zhangyh ebf2f6fd80 efinix: Add header parsing and flash programming validation
Parse bitstream header to extract Mode, Width and Device fields.
Add validation for flash programming:
- Check device matches --fpga-part parameter
- Reject passive mode (only active mode supported for flash)

This prevents flashing incorrect bitstreams that would fail to boot.
2025-12-12 02:55:31 +00:00
Gwenhael Goavec-Merou c16e6d0f65
Merge pull request #597 from zh522130/add-t120f324
spiOverJtag: Add support for Efinix T120F324
2025-12-11 17:09:12 +01:00