Commit Graph

1820 Commits

Author SHA1 Message Date
Gwenhael Goavec-Merou b99672b69e board: added ULX4M (DFU) 2025-07-19 09:45:04 +02:00
Gwenhael Goavec-Merou 5e91e20e29
Merge pull request #571 from pu-cc/gatemate-jtag-bypass
colognechip: Simplify handling of JTAG bypass bits
2025-07-10 09:43:50 +02:00
Patrick Urban 3b932dc542 colognechip: Simplify number of jtag bypass bits 2025-07-09 16:13:18 +02:00
Gwenhael Goavec-Merou 3b1a40b798 part.hpp: MAX10: only keep size+Single(S)/Dual-supply(D). Sort between single-supply and dual-supply 2025-07-04 07:28:05 +02:00
Gwenhael Goavec-Merou 880ed6f5c9
Merge pull request #568 from csantosb/master
Document use of udev rules under GuixSystem
2025-07-03 10:52:03 +02:00
Cayetano Santos 626084947d
doc/guide/install.rst: udev rules instructions under GuixSystem. 2025-07-03 10:43:40 +02:00
Gwenhael Goavec-Merou 4bd9840e46 altera: fix Wc99-designator 2025-07-02 07:17:17 +02:00
Gwenhael Goavec-Merou b06220f71f spiOverJtag/build.py: added default value for model variable 2025-06-30 18:26:59 +02:00
Gwenhael Goavec-Merou b2aa12b582 spiFlash, spiFlashdb: added global_lock flag and uses it instead of jedec_id (#566) 2025-06-30 18:26:22 +02:00
Gwenhael Goavec-Merou afb7bbeec2
Merge pull request #565 from ziyao233/cmsisdap/avoid-memcpy-on-overlapping-buffer
cmsisDAP: Avoid memcpy() on possibly overlapping buffer
2025-06-30 10:15:35 +02:00
Yao Zi a1ea0c98fc cmsisDAP: Avoid memcpy() on possibly overlapping buffer
I observed strange cmsisDAP behavior when building openFPGALoader with
Clang/musl in release mode: CmsisDAP:display_info() shows the correct
hardware capability that supports JTAG,

	...
	firmware version : 0254
	hardware capabilities : 13
	SWO trace buffer size : NA
	...

but the detection of JTAG fails in the constructor with a strange
response sequence,

	Hardware cap 00 01 00
	JTAG init failed with: JTAG is not supported by the probe

With some digging, it's found that the CmsisDAP::xfer() method without
an instruction parameter may be called by the constructor with a rx_buff
pointer overlapping with _ll_buffer, for which memmove() instead of
memcpy() should be used. The behavior of memcpy() is undefined when dst
and src overlap.

Fixes: 53c5d35da6 ("add cmsis dap (hid) support")
Signed-off-by: Yao Zi <ziyao@disroot.org>
2025-06-28 11:53:25 +00: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 319c08e841 latticeSSPI: uses registers struct for status 2025-06-19 09:51:44 +02:00
Gwenhael Goavec-Merou dede406ebc latticeSSPI: ECP5 driver for Slave SPI mode 2025-06-19 08:34:29 +02:00
Gwenhael Goavec-Merou 21d4fccf28 altera,libusb_ll,mcsParser: fix some compiler's warnings 2025-06-19 08:30:35 +02:00
Gwenhael Goavec-Merou 803bdfecce altera: MAX10: added --flash-sector support with arbitrary binary file 2025-06-18 18:57:26 +02:00
Gwenhael Goavec-Merou 10fbb8a153 doc/FPGAs,doc/vendors/lattice: added Lattice ECP3 2025-06-18 16:25:40 +02:00
Gwenhael Goavec-Merou 775477ba8e part: added Lattice ECP3 LFE3-70E 2025-06-18 16:20:32 +02:00
Gwenhael Goavec-Merou a7b56c3732 lattice: added ECP3 family support (SRAM only) 2025-06-18 16:20:23 +02:00
Gwenhael Goavec-Merou 3d7cb14195 README.md: added list of sponsors (hardware/boards and/or features funder) 2025-06-18 15:33:11 +02:00
Gwenhael Goavec-Merou 098cdd466a jtag: allows caller to specify tdi level in toggleClk method 2025-06-18 10:01:16 +02:00
Gwenhael Goavec-Merou f41f85b9d4 doc/cable: added arm-usb-tiny-h reference 2025-06-12 09:51:21 +02:00
Gwenhael Goavec-Merou 586d30d6eb
Merge pull request #563 from jmi2k/arm-usb-tiny-h
Add cable support for ARM-USB-TINY-H based off ARM-USB-OCD-H
2025-06-12 07:59:15 +02:00
José Miguel Sánchez García 3723bf7571 Add cable support for ARM-USB-TINY-H based off ARM-USB-OCD-H 2025-06-10 21:54:54 +02:00
Gwenhael Goavec-Merou 347088efb4 ice40: Reuses prepare_flash_access/post_flash_access as much as possible. Removed dupplicated Flash dump informations. Be coherent to status message 2025-06-08 07:20:00 +02:00
Gwenhael Goavec-Merou 2e1c7e29a4 spiFlash: cosmetic 'Read flash ' -> 'Reading' (#558) 2025-06-08 07:01:14 +02:00
Gwenhael Goavec-Merou 765ed526e3 spiFlash: dump: honour _verbose level 2025-06-04 21:38:00 +02:00
Gwenhael Goavec-Merou 32f744979c ice40: uses verbose_level for SPIFlash instead of verbose/quiet (#555) 2025-06-03 11:26:38 +02:00
Gwenhael Goavec-Merou c6d4a8bff1 device: added verbose_level attribute 2025-06-03 11:24:36 +02:00
Gwenhael Goavec-Merou 5f6c1bfcd4
Merge pull request #543 from trabucayre/spiOverJtag_v2
SpiOverJtag v2
2025-05-29 08:41:10 +02:00
Gwenhael Goavec-Merou 6c4a48f445 spiOverJtag: reworks Artix and Spartan 7 approach:
For a specific FPGA size, pins name is only a matter of package,
 internally physical pads are the same: a unique bitstream per size is
 necessary. This also simplify build.py by removing complexity to
 extract model, size and package.

 - a dict is added with supported packages per size
 - only one bitstream is produces for artix/spartan7 size, package+size bitstreams are only symlinks.
 - constraints files are also updated with BSCANE2/DRCK clocks constraints
 - the gz is produces by build.py instead of by the Makefile
 - all possibles bitstreams for XC7A/XC7S are now present.
2025-05-26 09:53:25 +02:00
Gwenhael Goavec-Merou 589b161d4e spiOverJtag/.gitignore: ignore vivado files 2025-05-26 09:53:20 +02:00
Gwenhael Goavec-Merou 03045dc407 xilinx: adapted code to support existing spiOverJtag bitstreams (v1) and new bitstreams (v2) 2025-05-26 09:53:10 +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
Gwenhael Goavec-Merou e135f1820b ice40: added detect_flash support 2025-05-24 07:48:21 +02:00
Gwenhael Goavec-Merou 10ba59c1ec libusb_ll,ftdipp_mpsse: Bus and Device must be both == 0 to use filter or uses VID/PID 2025-05-24 07:46:58 +02:00
Gwenhael Goavec-Merou 6c4dbe94cc
Merge pull request #553 from cheyao/master
Add support for icepi zero
2025-05-23 07:27:18 +02:00
Cyao 7c423c15fd Add icepi zero to board.hpp 2025-05-23 07:02:44 +02:00
Cyao e587a7f1c7 Add icepi zero to the boards documentation 2025-05-23 07:00:34 +02:00
Gwenhael Goavec-Merou f08454926a
Merge pull request #552 from pigmoral/eg4d20
Fix the failure of old Anlogic Cable and add support for Anlogic EG4D20EG176
2025-05-23 06:57:37 +02:00
Junhui Liu 5fefbb39af Add support for MILIANKE-S200-EG4D20 and update document
Add board definition and FPGA part ID for the MILIANKE S200 EG4D20
development board. Also update related documentation and outdated URL.

Tested ok by loading bitstream to SRAM and FLASH.

Signed-off-by: Junhui Liu <junhui.liu@pigmoral.tech>
2025-05-22 11:05:51 +08:00
Junhui Liu 951db00617 anlogicCable: Fix wrong ANLOGICCABLE_VIDv1
ANLOGICCABLE_VIDv1 should keep the old ANLOGICCABLE_VID to compatible
with the original device.

Fixes: 4b008a0 ("anlogicCable: refresh with new VID")
Signed-off-by: Junhui Liu <junhui.liu@pigmoral.tech>
2025-05-22 10:37:04 +08:00
Gwenhael Goavec-Merou e18c139941 spiFlashdb.hpp: disables quad mode configuration for all N25Q. It's useless because the chip is able by default to support single and quad transaction and after this configuration the flash is unable to works in single mode. 2025-05-21 10:17:10 +02:00
Gwenhael Goavec-Merou e6ee4fb99a libusb_ll: probe type -> probe_type 2025-05-15 18:18:49 +02:00
Gwenhael Goavec-Merou 392b4c61ee libusb_ll/scan: improved display by align column according to max size (#549) 2025-05-15 08:09:25 +02:00
Gwenhael Goavec-Merou 4756fc17cb
Merge pull request #548 from JN513/master
Adding support for Open Source SDR Lab Kintex-7 325t FPGA Board
2025-05-12 18:00:17 +02:00
Julio Nunes Avelar c291aade70
Adding support for Open Source SDR Lab Kintex-7 325t FPGA PCIE Development Board 2025-05-12 12:38:30 -03:00
Gwenhael Goavec-Merou 971a8db4e9 spiOverJtag: introduce a new spiOverJtag (v2) core able to work with complex JTAG chain 2025-05-11 09:13:25 +02:00
Tomserv-512 40a588fb2c
Add xcau15p (xcau15p_ffvb676) support (#547)
Co-authored-by: vbuitvydas <v.buitvydas@limemicro.com>
2025-05-10 07:02:21 +02:00