Commit Graph

158 Commits

Author SHA1 Message Date
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
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 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
Haakan T Johansson bed17f3be8 Parse USB bus:dev as decimal integers, to be consistent with --scan-usb.
Do not accept auto-detected base 0 (e.g. prefix '0x' for hex), since '0'
prefix gives an octal interpretation, and the user is likely to copy
values from `--scan-usb` or `lsusb` that could then be misinterpreted,
e.g. 005:010.
2023-07-29 09:49:52 +02:00
Gwenhael Goavec-Merou a1e9d3f7db main: (SPI mode) sanity check: print error and quit when manufacturer is unknown 2023-07-27 07:15:49 +02:00
Gwenhael Goavec-Merou d2f7040527 main: parse_opt: busdev-num: explicitly set hex base 2023-05-28 17:14:48 +02:00
Gwenhael Goavec-Merou 07a0708eb8 efinix:
- jtag mode: added spiOverJtag support;
- spiOverJtag: added efinix support: verilog file and t8f81 bitstream
- xyloni: part code for spiOverJtag flash access/load bridge
2023-04-27 16:41:17 +02:00
chenzhuoyu cf04d64377 feat: option to use an extra GPIO as the status indicator 2023-04-11 00:36:16 +08:00
Gwenhael Goavec-Merou 6161e550c1 main: deduplicate messages about board's default cable/user's selection, display warn always instead of when verbose mode is set. 2023-03-09 21:19:35 +01:00
hycrypt 3d9717f7c3 add the skip_load_bridge and skip_reset arguments also for Xilinx devices 2023-03-03 11:18:08 +01:00
Gwenhael Goavec-Merou 9c1876818f README,main: add remote bitbang for ip and port 2023-03-02 13:55:40 +01:00
Gwenhael Goavec-Merou 657d98f3c3 args: better --offset description (#319) 2023-02-27 21:15:34 +01:00
Gwenhael Goavec-Merou 7f1f9445d4 cable: bus_addr, device_addr: int -> uint8_t 2023-02-25 17:10:01 +01:00
Ricardo Barbedo 0536ab4754 Add target-flash and secondary-bitstream CLI options for VCU118 2023-02-06 11:23:10 +01:00
Gwenhael Goavec-Merou 84aa0d14b9 main: xvc_server: catch exception 2023-01-02 18:02:43 +01:00
Gwenhael Goavec-Merou fb8c1a5f97 altera,intel: adding an option to bypass spiOverJtag automatic bitstream selection by providing the bitstream file path 2022-12-10 22:05:37 +01:00
Gwenhael Goavec-Merou d5190a3bd4 src/main.cpp: lint/cppcheck 2022-11-12 22:58:17 +01:00
Gwenhael Goavec-Merou a0a68282cd src/main: simplify svf type search 2022-11-12 22:38:10 +01:00
Patrick Dussud 4a5bd0279b Removed the svf programming code from devices and added device independent svf programming in main.cpp
Fixed a type error in svf_jtag.cpp
2022-11-12 13:14:13 -08:00