Commit Graph
174 Commits
Author SHA1 Message Date
Gwenhael Goavec-Merou 36c57a6535 Merge pull request #679 from gzalo/add-usb-blaster-passive-serial
Add Passive Serial mode for USB Blaster (Altera/Intel)
2026-07-12 14:07:03 +02:00
Nicholas Dietz 09e250b856 xilinx: fail write-flash on SPI access errors; improve open-file errors 2026-07-01 14:55:32 +02:00
Gonzalo Avila Alterach aab38dd51e feat: add passive serial mode for usb blaster (altera/intel) 2026-06-11 17:02:34 -03: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 0818a404c9 README.md, main: update probe-firmware message 2026-05-25 18:42:18 +02:00
r4d10nandClaude Opus 4.7 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) <[email protected]>
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
parker-research fe21c890a4 Add --version lowercase flag to comply with convention 2026-05-14 15:19:37 +02:00
Gwenhael Goavec-Merou b9486b099e main: removed mcufw debug message 2026-04-10 14:14:14 +02:00
Gwenhael Goavec-Merou 451beadfae main: #ifdef USE_LIBFTDI must be after the if 2026-03-22 15:03:45 +01:00
Gwenhael Goavec-Merou 1ff73f3650 SPIInterface -> FlashInterface 2026-03-21 07:59:18 +01:00
Gwenhael Goavec-Merou 09838fa825 CMakeLists.txt, main: removed USE_DEVICE_ARG usage. Now --device/-d is always available 2026-03-20 15:14:19 +01:00
Gwenhael Goavec-Merou 9b1c568659 all/everything/world: removed using namespace std to be able to compile in c++17 with windows 2026-03-18 15:28:34 +01:00
Gwenhael Goavec-Merou 28efd18798 main,progressBar: --force-terminal-mode argument to force progress bar output as if connected to a terminal (#629) 2026-03-13 09:28:54 +01:00
Gwenhael Goavec-Merou 09f272e785 main: displaySupported added one more space in list-boards 2026-03-11 11:14:37 +01:00
Gwenhael Goavec-Merou 1ab3c1bf6c main: moved SPI Flash to a dedicated function 2026-03-10 18:45:03 +01:00
Gwenhael Goavec-Merou 22fa006293 main: parse_opt: simplify/fix 2026-03-10 18:30:50 +01:00
Sebastian Marsching f2679b01af Allow building XVC client without libftdi.
Unlike the XVC server, the XVC client does not depend on libftdi, so
building it just depends on having separate flags for enabling it.
2026-03-01 19:49:07 +01:00
blurbdust 98fea26507 Adding BPI flash support and YPCB board support 2026-02-13 12:03:38 +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
atmgndandQi Zhou 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 <[email protected]>

* Fix potential array out‑of‑bounds access

Signed-off-by: Qi Zhou <[email protected]>

---------

Signed-off-by: Qi Zhou <[email protected]>
Co-authored-by: Qi Zhou <[email protected]>
2026-01-21 14:38:30 +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 c818641cae main: list_boards: print 'Undefined' when fpga_part or cable_name is empty 2025-08-07 11:00:49 +02:00
Gwenhael Goavec-Merou bc864100ff main: list_boards now displays fpga_part too 2025-08-07 09:53:28 +02:00
Gwenhael Goavec-Merou e3e93a394e main: SPI mode without board: check file_size (must be > 0) 2025-06-25 19:21:46 +02:00
Gwenhael Goavec-Merou dd3204a6e0 main, board: added --pins argument compatible with SPI mode 2025-06-25 19:10:13 +02:00
Gwenhael Goavec-Merou dede406ebc latticeSSPI: ECP5 driver for Slave SPI mode 2025-06-19 08:34:29 +02:00
Gwenhael Goavec-Merou ba48d53409 main: added detect_flash in SPI Mode and with a manufacturer 2025-05-24 07:50:51 +02:00
bma 4e5fd9fabc Merge branch 'kcu105_dual_qspi' 2025-03-20 20:47:12 +01:00
bma 1c78344ca5 kcu105: add secondary qspi detection and dump 2025-03-20 20:11:02 +01:00
Gwenhael Goavec-Merou 4c4f48ea93 fix to have an happy CI 2025-03-18 23:02:11 +01:00
Gwenhael Goavec-Merou 414a7259f0 altera: uses --flash-sector to only update a subset of internal flash sectors 2025-03-18 22:42:00 +01:00
Gwenhael Goavec-Merou 318ebcab22 main.cpp: added default value for user_flash in struct arguments args 2024-12-15 16:45:39 +01:00
Jean THOMAS ffa006d0ee Add 'user-flash' CLI argument 2024-12-11 12:01:37 +01:00
Gwenhael Goavec-Merou 543be23d03 main,spiFlash,xilinx: fix warnings 2024-11-09 11:24:16 +01:00
bma 8e67d2ee04 arguments: fix read_dna and read_xadc typo 2024-09-25 07:24:15 +02:00
Gwenhael Goavec-Merou faa1fc76fc core,xilinx,device: added option/methods to enable/disable quad mode on SPI Flash 2024-09-23 07:09:30 +02:00
Uwe Bonnes 53530f7316 main: In help output, show how to detect flash 2024-06-20 16:25:41 +02:00
Gwenhael Goavec-Merou c468a69fc9 all devices / spiInterface / main: added method / infra to detect flash chip with --detect -f 2024-06-09 09:28:52 +02:00
Gwenhael Goavec-Merou 7e90d071d9 libusb_ll: rework. Splitted scan method -> help futur dev with a common code to detect/select usb devices 2024-05-20 16:18:50 +02:00
Gwenhael Goavec-Merou 4fe3d7ccc1 xilinx: added readback access to registers (stat, conf, ...) 2024-04-21 14:35:23 +02:00
Gwenhael Goavec-Merou f1bf4fdf57 jtag,main,xilinx: fix warnings, lint 2024-03-09 10:21:21 +01:00
Gwenhael Goavec-Merou cd40de37cb main: allows mcufw only mode for gowin 2023-12-14 13:13:48 +01:00
bma 234f7f5a35 XADC and DNA for Xilinx FPGA (#407)
* xilinx: add XADC and DNA args, see https://github.com/cfib/openFPGALoaderXADC/tree/XADC_3
parts: add xcku060
* doc: add xcku060
2023-11-25 08:47:24 +01:00
Gwenhael Goavec-Merou 1cbdee362d jtag,main: fix warnings 2023-11-19 10:17:54 +01:00
Mark Featherston 7059c15960 Add user device list for non-fpga JTAG devices 2023-11-10 14:00:24 -07:00
Rodrigo Rengifo 5e9cc7c440 pass along reset paramaters to provide control to the caller
Upsteam-Status: Submitted [https://github.com/traucucayre/openFPGALoader]
  - Submitted to upstream, waiting approval
2023-09-10 20:46:08 -07:00
Alexey Starikovskiy 0f3afbcaea Make IDCODE unsigned 2023-08-29 20:01:21 +03:00
Gwenhael Goavec-Merou c41ef7539c ftdispi: convert verbose bool -> int8_t 2023-07-30 07:19:17 +02:00