Commit Graph

1371 Commits

Author SHA1 Message Date
Rod Whitby c36eb1d0a8 spiFlash: Fix return value checking polarity and error reporting in protect_flash() and unprotect_flash()
The return value fro flash.enable_protection is an integer, where 0 means success.  So it must be compared to 0 to result in a true value for ret.
If flash.disable_protect() returns non-zero, then ret will be false, so there's no point in doing a std::to_string on ret.  You would need an integer intermediate value if you wanted to print the error value.
2022-11-06 18:56:07 +10:30
Rod Whitby de5aff7a96 spiFlash: Add --bulk-erase command line option
Adds a --bulk-erase command line option for bulk erasure of SPI flash.
2022-11-06 18:56:07 +10:30
Gwenhael Goavec-Merou d782877d0a
Merge pull request #267 from bl0x/spi_over_jtag_xc7s25csga225
Add missing spiOverJtag_xc7s25csga225.bit.gz. Include zipped version …
2022-11-01 17:39:57 +01:00
Bastian Löher 6f9f77020f Add missing spiOverJtag_xc7s25csga225.bit.gz. Include zipped version of spiOverJtag_xc7s25csga225.bit. 2022-11-01 15:33:11 +01:00
Gwenhael Goavec-Merou c705d638da
Merge pull request #265 from devdc/patch-1
Update boards.yml - added Alchitry Au+
2022-10-30 15:46:09 +01:00
Dvir Cohen 2da7696f19
Update board.hpp 2022-10-30 15:05:22 +02:00
Dvir Cohen 0d2c00606d
Update boards.yml - added Alchitry Au+
Tested on Alchitry Au+ and works well on macOS Monterey
2022-10-29 21:41:31 +03:00
phdussud 319d74f872 fix placement of leading { in if and for blocks 2022-10-26 09:16:04 -07:00
phdussud e979f4dd03 improve svf parsing. 2022-10-25 10:55:02 -07:00
Gwenhael Goavec-Merou 02424ca6cd
Merge pull request #263 from gregdavill/bugfix/xilinx-flash
msys2: Fix windows paths
2022-10-23 10:37:48 +02:00
Greg Davill 53e72a944a
pathHelper: Only compile on win builds 2022-10-23 18:52:47 +10:30
Greg Davill 74ac8bba24
msys2: Fix absolute windows paths
- Ensure path DATA_DIR isn't made absolute during compilation
- Use cygpath to create absolute path at runtime
2022-10-23 13:10:45 +10:30
Gwenhael Goavec-Merou 106cdecc14
Merge pull request #260 from jeanbie0/jetson-nano-gpio
Add cable jetson-nano-gpio
2022-10-22 15:07:00 +02:00
Gwenhael Goavec-Merou 077f335dbd src/libusb_ll: adding a libusb_open() return code check: when fails skip rest of the loop 2022-10-19 07:40:31 +02:00
jeanbie0 b7f885fc0d
Delete jetson-nano-gpio.patch 2022-10-17 15:57:47 +02:00
Gwenhael Goavec-Merou fc3ec552bf
Merge pull request #261 from CogentEmbedded/spi_limit_rd_burst_len
Limit automatic read burst length to 64K
2022-10-16 21:39:36 +02:00
Petr Nechaev 1bbe448f3a Limit automatic read burst length to 64K
Reading of very large binaries (e.g. 32 MB) can cause stack overflow.
Put a reasonable limit on read burst length.
2022-10-16 15:44:33 +03:00
Petr Nechaev 7185bbd127 Support for microchip SST26VF064B flash 2022-10-16 15:32:16 +03:00
Gwenhael Goavec-Merou 228f71d9b5 src/libusb_ll: libusb wrapper (currently limited to scan device), src/main: add scan-usb option 2022-10-15 22:28:06 +02:00
Gwenhael Goavec-Merou 2311f2c6ec src/main: add busdev-num option to select a probe by his bus number / device address 2022-10-15 17:41:30 +02:00
Gwenhael Goavec-Merou 68e519e4af src/ftdipp_mpsse: _bus/_addr: change type to uint8_t, default value to 0 and use cable_t bus_addr/device_addr$ 2022-10-15 17:18:38 +02:00
Gwenhael Goavec-Merou 9e5fcdbe0d src/cable: rename bus/device to bus_addr/device_addr 2022-10-15 16:19:24 +02:00
Gwenhael Goavec-Merou 48126cf84c src/xx: cable implementation: rework to use cable_t directly 2022-10-15 16:17:32 +02:00
Gwenhael Goavec-Merou 3e20dc7082 src/cable: rework cable list. move vid/pid from mpsse_bit_config to cable_t 2022-10-15 16:15:23 +02:00
J Biemar 5a7e73b586 Add cable jetson-nano-gpio 2022-10-14 11:15:02 +02:00
Gwenhael Goavec-Merou 2d66236533 xvc_client: allows to select port 2022-10-06 07:07:17 +02:00
Gwenhael Goavec-Merou d4a59bdf09
Merge pull request #254 from bl0x/cmod_s7_xc7s_csga225
Add support for xc7s_csga225 and the Digilent CMOD S7 board.
2022-10-01 06:25:28 +02:00
Bastian Löher 0c88d5aa75 Update doc/boards.yml. 2022-09-30 22:27:23 +02:00
Bastian Löher b3e25bc650 Add support for xc7s_csga225 and the Digilent CMOD S7 board. 2022-09-30 22:27:20 +02:00
Gwenhael Goavec-Merou 27249fbbda
Merge pull request #256 from splinedrive/add_cmodA6-35T
add support for CmodA7-35T digilent fpga board
2022-09-30 21:25:04 +02:00
Hirosh Dabui 3c9792645e add support for CmodA7-35T digilent fpga board 2022-09-30 21:17:45 +02:00
Gwenhael Goavec-Merou c3fcbaee07 removing test_sfl.svf 2022-09-30 13:59:39 +02:00
Gwenhael Goavec-Merou fa262035f2
Merge pull request #253 from Chandler-Kluser/master
Updated Troubleshooting
2022-09-24 07:30:40 +02:00
Chandler Klüser 3c619a5fd2 Simplified troubleshooting .rst and removed media 2022-09-20 18:23:04 -03:00
Gwenhael Goavec-Merou 08af4a0247 prepare release v0.9.1 2022-09-19 21:02:24 +02:00
Gwenhael Goavec-Merou 47f59d68ef libgpiodJtagBitbang: fix warning 2022-09-17 17:33:58 +02:00
Gwenhael Goavec-Merou 8f59294f45 src/main: add specific -D to enable/disable --device arg 2022-09-17 17:33:25 +02:00
Gwenhael Goavec-Merou 27d64e0248 doc/guide/install: add a note about Linux group right 2022-09-17 15:56:51 +02:00
Gwenhael Goavec-Merou 6211aa145e doc/guide/advanced: fix sphinx warning 2022-09-17 15:56:15 +02:00
Chandler Klüser 6f05c0eae0 Updated Troubleshooting 2022-09-07 19:44:05 -03:00
Gwenhael Goavec-Merou fe259fb78d gowin: add MSPI support when GW2A 2022-09-06 21:25:32 +02:00
Gwenhael Goavec-Merou f5b89bff68 99-openfpgaloader: add NXP LCP-Link2 2022-09-06 06:38:03 +02:00
Gwenhael Goavec-Merou d50b8102aa ftdiJtagBitbang: fix int vs uint32_t 2022-09-04 14:16:56 +02:00
Gwenhael Goavec-Merou 09b65ef4cc gowin: better error message when mismatch between fs idcode and target's idcode 2022-09-04 14:16:02 +02:00
Gwenhael Goavec-Merou 93aa9f4dd3 cable: add lpc-link2 support 2022-08-29 21:03:30 +02:00
Gwenhael Goavec-Merou 27309d4931 cmsisDAP: allows to select interface number 2022-08-29 21:00:32 +02:00
Gwenhael Goavec-Merou 61e959f93d main,board,ftdiJtagBitbang: use pin ID instead of shift 2022-08-23 18:37:43 +02:00
Gwenhael Goavec-Merou 074e616a3f
Merge pull request #247 from Novakov/add-xilinx-xcku035-idcode
Add Xilinx Kintex UltraScale KCU035 IDCode
2022-08-18 19:15:07 +02:00
Maciej Nowak 5f7d4d2078 Add Xilinx Kintex UltraScale KCU035 IDCode 2022-08-18 15:25:09 +02:00
Gwenhael Goavec-Merou f3be5ebc6d
Merge pull request #244 from diegoherranz/steppenprobe
Add Steppenprobe cable
2022-08-10 07:46:42 +02:00