Commit Graph

1030 Commits

Author SHA1 Message Date
Gwenhael Goavec-Merou 3c7324d14d dirtyJtag: added SRST/TRST values. Added method to read/set GPIOs level 2025-03-07 07:19:14 +01:00
Gwenhael Goavec-Merou ab8d8fc0d3 gowin: Arora V: fix SRAM erase/load when flash is blank and timeout bit is set 2025-03-06 20:05:31 +01:00
Gwenhael Goavec-Merou ee8decdfe6 ftdispi: ft2232_spi_wr_and_rd: improved error messages 2025-03-02 09:11:49 +01:00
Gwenhael Goavec-Merou ecb22b2eeb ftdispi: ft2232_spi_wr_and_rd: use dedicated buffer for MPSSE command to
avoid overflow. Simplify code, improve error message (issue #524 and
2025-03-02 09:00:49 +01:00
Gwenhael Goavec-Merou 564485036e doc/boards: added alinx_ax7201/alinx_ax703 entries. 2025-02-27 06:44:52 +01:00
TarikHamedovic c0cfc0cc57 Added alinx_ax7203 and alinx_ax7201 boards 2025-02-27 04:13:42 +01:00
Gwenhael Goavec-Merou 989c8f8ccb ftdispi: lowlevel init/MPSSE configuration before pins manipulation (issue #519) 2025-02-26 19:48:42 +01:00
Gwenhael Goavec-Merou fbee81b1d0 efinix.cpp: programJTAG. Fixed IDCODE read 4 -> 32 (issue #520) 2025-02-26 19:38:10 +01:00
Gwenhael Goavec-Merou 2ff215dfff board, efinix: added SPI variant for efinix t20 BGA256 board 2025-02-24 20:33:01 +01:00
Gwenhael Goavec-Merou c6e5ec9cb0 anlogicCable: fixed typo 2025-02-24 19:42:30 +01:00
Gwenhael Goavec-Merou a8d5247650 anlogicCable: added pinout + link 2025-02-23 09:00:30 +01:00
Gwenhael Goavec-Merou 4b008a0196 anlogicCable: refresh with new VID 2025-02-23 08:59:08 +01:00
Gwenhael Goavec-Merou 7ed62601c7 altera: fixed UFM: MAX10 memory is in reverse order, UFM1 is BEFORE UFM0 2025-02-16 15:30:30 +01:00
AEW2015 d61e147989 added 1.35v csg325 build and Macronix flash 2025-02-15 14:24:42 -07:00
Gwenhael Goavec-Merou c4d4e8db7e doc/boards.yml, src/board.py: added tangconsole entry 2025-02-15 11:39:37 +01:00
Gwenhael Goavec-Merou 79054f3fa1
Merge pull request #512 from antmicro/fix-null-values-in-stdout
Fix snprintf usage
2025-02-13 19:47:45 +01:00
Gwenhael Goavec-Merou b839792220 altera: added internal flash dump support for MAX10 devices 2025-02-02 20:50:06 +01:00
Gwenhael Goavec-Merou 5f673c6f14 altera: max_10 -> max10 2025-02-02 09:11:14 +01:00
Gwenhael Goavec-Merou ab8bed3f26 altera: max10_program: respect _verbose variable 2025-02-02 09:10:37 +01:00
Gwenhael Goavec-Merou 182e30b637 part,gowin,fsparser: added Gowin Arora V GW5AT-60 Variant 2025-02-01 12:19:34 +01:00
Gwenhael Goavec-Merou 533dd1ea5f altera: cosmetic/linter 2025-02-01 08:28:17 +01:00
Gwenhael Goavec-Merou 959201a21f altera: MAX10 fully rework POF to internal flash mapping, added UFM write and note related to internal flash sections vs POF UFM/CFM sections 2025-02-01 08:14:07 +01:00
Gwenhael Goavec-Merou c3170cdfb9 altera: MAX10: added pgm_success_addr/done_bit_addr 2025-02-01 08:12:04 +01:00
Gwenhael Goavec-Merou 8e104d723c pofParser: displayHeader: improve messages 2025-02-01 08:09:59 +01:00
Gwenhael Goavec-Merou 6f42d28d5e pofParser: honour CFM1/CFM2 data pointer 2025-02-01 08:09:29 +01:00
Gwenhael Goavec-Merou 8160e716e8 pofParser: flag 0x11: added unknown section when verbose 2025-02-01 08:08:59 +01:00
Gwenhael Goavec-Merou 8f46edc8b3 pofParser: parseHeader: better message + note 2025-02-01 08:08:34 +01:00
Gwenhael Goavec-Merou 154bf5b5ec pofParser: added flag 0x13 parsing with usercode extract 2025-02-01 08:07:42 +01:00
Gwenhael Goavec-Merou 65afd7da0b pofParser: getData/getLength: check if section exists: return data/length or null/-1 2025-02-01 08:06:59 +01:00
Maciej Dudek e8d8ecc363 Fix snprintf usage
Some code used snprintf on std::string objects.
This caused unexpected behaviour where '\0' was printed to the output file.
This commit adds intermediate char* buffer which is later used to
initialize std::string. This string is later resized to the correct
expected length.

Signed-off-by: Maciej Dudek <mdudek@antmicro.com>
2025-01-24 11:48:37 +01:00
Gwenhael Goavec-Merou 5847ec2666 doc/boards.yml,src/board.hpp: fixed ac701 device code 2025-01-15 06:57:42 +01:00
steward-fu f4fee37cea Added STEP-MXO2_V2 board support. 2025-01-11 23:14:36 +08:00
steward-fu 79cf67e964 Added STEP-MAX10 V1 support. 2025-01-10 07:39:30 +08:00
Gwenhael Goavec-Merou 867f18236e
Merge pull request #505 from steward-fu/master
Add Altera 10M02SCM153C8G Support.
2025-01-09 07:19:25 +01:00
steward-fu ce92b577d5 Added 10M02SCM153C8G support. 2025-01-09 07:35:50 +08:00
ZhiYuanNJ fcaf836a40
Update ch347jtag.cpp
Update read/write timeout
2025-01-08 13:13:28 +08:00
Gwenhael Goavec-Merou 7dac3ef447 altera: first draft for max10 native support (with pof and only for internal flash) 2024-12-31 18:42:52 +01:00
Gwenhael Goavec-Merou 01039bc710 libgpiodJtagBitbang: simplify code when libgpiodv2 is used 2024-12-31 08:31:49 +01:00
Gwenhael Goavec-Merou 2103316baf lattice: added support for reset method (only tested with ECP5 2024-12-19 14:59:35 +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
Gwenhael Goavec-Merou a06bae1f5e part.hpp: cosmetic 2024-12-15 16:04:20 +01:00
Jean THOMAS 46ff6cb2eb gowin: Implement user flash programming for GW1N9 2024-12-11 12:19:07 +01:00
Jean THOMAS ffa006d0ee Add 'user-flash' CLI argument 2024-12-11 12:01:37 +01:00
Jean THOMAS a1108ca981 gowin: Add GW1N9 detection 2024-12-11 11:49:29 +01:00
Jean THOMAS 91608ca206 gowin: Use std::unique_ptr instead of manual RAII 2024-12-11 11:43:07 +01:00
Florent Kermarrec daa91c9a41 src/part.hpp: Add Altera Max10 10M16SAU169C8G support (Used by LimeSDR Mini V1). 2024-11-26 16:02:28 +01:00
Gwenhael Goavec-Merou c0a9115be9 part.hpp: added Gowin GW2A-55 2024-11-26 07:25:30 +01:00
Nicolas Schodet f6f48a7b27 Add support for VCU108 board and Virtex UltraScale 2024-11-12 23:51:55 +01:00
Gwenhael Goavec-Merou 0fd653e353 xilinx: replaced reverseWord by configBitstreamParser::reverse_32 2024-11-09 11:26:45 +01:00
Gwenhael Goavec-Merou e75e15bb63 configBitstreamParser: added static method to switch bits for 32bits value 2024-11-09 11:26:02 +01:00