key2
e21dfd05b8
fix: push actual gowin.cpp content
2026-04-04 19:03:47 +02:00
key2
18c37faeda
gowin: fix GW5A external flash writes being erased by hardware auto-erase
...
The Reinit command (0x3F) sent in gw5a_enable_spi() triggers a
hardware-initiated bulk erase of the external SPI flash (status register
bit 31 'auto_erase'). The code previously proceeded immediately to flash
programming, creating a race condition where the ongoing background
erase would corrupt or wipe written data.
Fix by polling the status register after Reinit until the auto_erase bit
clears before continuing with SPI bridge setup and flash operations.
Also reset the SPI flash chip in programExtFlash() before releasing the
JTAG-SPI bridge, ensuring the flash is in standard SPI mode for the
hardware boot loader.
Tested on GW5AT-15 (idcode 0x0001681b) with XTX XT25F128B flash.
2026-04-04 19:03:36 +02:00
Gwenhael Goavec-Merou
816d6558fe
dfuFileParser: nitpick
2026-04-03 10:33:12 +02:00
Gwenhael Goavec-Merou
771b75aade
mcsParser: added guard to avoir bound check failures. Improved code speed with c++17
2026-04-03 10:01:28 +02:00
Gwenhael Goavec-Merou
13c505ccc7
colognechip: fix -Wshift-op-parentheses warning
2026-04-03 07:48:50 +02:00
Gwenhael Goavec-Merou
a56b9f61ca
pofParser: added bound check tests
2026-04-01 10:58:22 +02:00
Gwenhael Goavec-Merou
ff9e10085a
pofParser: ARRAY2INT32: must be casted to uin32_t not uint16_t
2026-04-01 10:32:38 +02:00
Gwenhael Goavec-Merou
63c97410b6
bitparser.cpp: parserHeader. Added bound check and simplied type A
...
parsing
2026-04-01 10:17:59 +02:00
Gwenhael Goavec-Merou
3429d34a30
Merge pull request #642 from kjellpeterson-shotover/master
...
add support for MT25QU512 flash
2026-03-31 08:35:07 +02:00
Kjell Peterson
ed5abef84f
add support for MT25QU512 flash
2026-03-30 16:39:06 -06:00
Gwenhael Goavec-Merou
fe1c2e669e
fsparser.cpp: fixed idcode for GW1N(R/Z)-2x
2026-03-25 16:56:44 +01:00
Gwenhael Goavec-Merou
09812831ad
Merge pull request #639 from embicasGmbH/master
...
spiOverJtag: Add support for xcau10p
2026-03-25 15:46:25 +01:00
fllu
80c867d544
spiOverJtag: Add support for xcau10p
2026-03-25 15:29:39 +01:00
Gwenhael Goavec-Merou
9eeae91ab0
Merge pull request #638 from pu-cc/gatemate-a2-jtagbypass
...
src/colognechip.cpp: allow jtag-spi-bypass for A2
2026-03-25 10:22:55 +01:00
Gwenhael Goavec-Merou
b84e319298
Merge pull request #637 from EmmanuelP/patch-1
...
Add support for Altera MAX10 10M16D IdCode:0x31030dd
2026-03-25 10:20:53 +01:00
Patrick Urban
8c397bd325
gatemate: allow jtag-spi-bypass for A2
2026-03-24 22:07:29 +01:00
Emmanuel Pacaud
1d005289d1
Add memory information for native Altera Max10 10M16D
2026-03-24 12:22:47 +01:00
Emmanuel Pacaud
9d3ba67ffd
Add support for Altera MAX10 10M16D IdCode:0x31030dd
2026-03-23 17:50:02 +01: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
44ad4df0e7
spiFlashdb: cosmetic/doc
2026-03-22 09:26:03 +01:00
Gwenhael Goavec-Merou
5d615ef993
spiFlashdb: GigaDevice GD25Q32C: typo
2026-03-22 09:16:48 +01:00
Gwenhael Goavec-Merou
b3335344e0
spiFlashdb: GigaDevice GD25Q32C
2026-03-22 09:15:06 +01:00
Gwenhael Goavec-Merou
a6a573f085
CMakeLists, all: removed epcqx class
2026-03-21 08:01:49 +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
4687fe3467
CMakeLists.txt: switch to c++17 (round two)
2026-03-18 15:44:07 +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
40491463bf
Revert "CMakeLists.txt: switch to c++17"
...
This reverts commit 92833930e7 .
2026-03-17 19:23:16 +01:00
Gwenhael Goavec-Merou
92833930e7
CMakeLists.txt: switch to c++17
2026-03-17 19:12:07 +01:00
Gwenhael Goavec-Merou
ec591a9503
Merge pull request #636 from kevmo314/add-xcku095-support
...
Add XCKU095 support
2026-03-16 08:32:24 +01:00
Kevin Wang
85d68c4a46
Add XCKU095 support
2026-03-15 22:47:14 -04: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
9d6cc15f51
ftdipp_mpsse: gpio_write: fix test (missing !)
2026-03-13 07:49:29 +01:00
Gwenhael Goavec-Merou
c7f65d20b5
ftdipp_mpsse: fix message in setClkFreq
2026-03-13 07:48:14 +01:00
Gwenhael Goavec-Merou
bb37f1ed4d
dirtyJtag: rework error messages in constructor. Added a method to close USB (and to avoids to have multiple time the same piece of code)
2026-03-12 18:45:25 +01:00
Gwenhael Goavec-Merou
54595299d5
dirtyJtag: doc + nitpick
2026-03-12 18:25:19 +01:00
Gwenhael Goavec-Merou
85be4fa02b
prepare release v1.1.1
2026-03-11 19:24:32 +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
Gwenhael Goavec-Merou
9935be220b
xvc_client: reworks operator priority
2026-03-09 19:40:37 +01:00
Gwenhael Goavec-Merou
3eff88e331
ice40: fix detect_flash
2026-03-09 19:39:35 +01:00
Gwenhael Goavec-Merou
4ab6f220b9
Merge pull request #632 from smarsching/xvc-client-performance
...
Performance improvement for XVC client
2026-03-05 17:00:21 +01:00
Sebastian Marsching
485d9719b5
Send command and parameters in single operation.
...
This significantly improves the performance because it reduces the
number of round trips needed.
2026-03-05 16:26:46 +01:00
Gwenhael Goavec-Merou
21d2e46c4f
latticeBitParser.cpp: revert/adapts commit 0bc2594469 (fails with CMSIS-DAP #634 )
2026-03-04 10:28:23 +01:00
Gwenhael Goavec-Merou
cde80a5a85
Merge pull request #635 from smarsching/xc7k325tfbg900
...
Add SPI over JTAG bitfile for XC7K325TFBG900
2026-03-04 07:51:45 +01:00
Sebastian Marsching
2d88b3dba6
Add SPI over JTAG bitfile for XC7K325TFBG900.
2026-03-03 23:21:33 +01:00
Gwenhael Goavec-Merou
d9d6c30eed
Merge pull request #631 from smarsching/xvc-client-without-ftdi
...
Allow building XVC client without libftdi
2026-03-02 18:44:27 +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
Gwenhael Goavec-Merou
a33b53873b
CMakeLists.txt: prepare v1.1.0 release
2026-03-01 11:27:31 +01:00