Commit Graph

326 Commits

Author SHA1 Message Date
Gwenhael Goavec-Merou 8fb36f9ba9 main: improve flash direct access 2020-10-07 07:47:46 +02:00
Gwenhael Goavec-Merou 588094447f rawParser: less verbose 2020-10-07 07:47:07 +02:00
Gwenhael Goavec-Merou 522489c860 main: improve previous commit 2020-10-07 07:37:40 +02:00
Gwenhael Goavec-Merou 9e0614d15d main: fix ftdi_serial default value '' -> '-'. (jadafi) 2020-10-07 06:39:00 +02:00
Gwenhael Goavec-Merou f77faa2657 add direct access to spi flash 2020-10-06 08:38:24 +02:00
Gwenhael Goavec-Merou 01fbbf747d ftdispi: force mode 0 by default 2020-10-06 08:36:31 +02:00
Gwenhael Goavec-Merou 221e814509 ftdispi, ecpq: use enum for endianness and cs mode 2020-10-06 08:36:12 +02:00
Gwenhael Goavec-Merou 1a952f466a
Merge pull request #51 from martin2250/master
add ftdi serial number argument
2020-10-05 15:29:30 +02:00
Martin Pittermann e3059c8f13 update Readme --help message 2020-10-05 14:50:51 +02:00
Martin Pittermann 090a97baa0 fix line too long 2020-10-05 14:49:42 +02:00
Gwenhael Goavec-Merou 53f4514c8b
Merge pull request #52 from martin2250/fix_xo3
fix MACHXO3LF family
2020-09-30 07:37:15 +02:00
Martin Pittermann c41f4b597a fix MACHXO3LF family 2020-09-29 16:13:54 +02:00
Martin Pittermann 99929f99c3 add ftdi serial argument 2020-09-29 14:16:30 +02:00
Gwenhael Goavec-Merou 7b048d2d82 fsparser: fix checksum for gw1n with ram 2020-09-29 08:07:57 +02:00
Gwenhael Goavec-Merou 5d99237652 gowin: Fix flash write message and display checksum when SRAM fail 2020-09-28 16:25:33 +02:00
Gwenhael Goavec-Merou 0adae3ffd0 README: update to reflect nexus support 2020-09-26 08:47:52 +02:00
Gwenhael Goavec-Merou 7d960411c2 board: crosslinknx_evn 2020-09-26 08:47:26 +02:00
Gwenhael Goavec-Merou 6536619b84 add crosslinx and certus support 2020-09-26 08:41:27 +02:00
Gwenhael Goavec-Merou 9572d060e9 lattice: adapt status register to support nexus devices 2020-09-26 08:40:43 +02:00
Gwenhael Goavec-Merou 871e28259e latticeBitParser: support lattice radiant bit file 2020-09-26 07:58:03 +02:00
Gwenhael Goavec-Merou d9bbcdf68b xilinx: support writing .bit file to flash 2020-09-25 18:58:31 +02:00
Gwenhael Goavec-Merou e8acec9873 fix xilinx to bitparser update 2020-09-25 18:43:05 +02:00
Gwenhael Goavec-Merou fceaada9ba bitparser: reverOrder is now configurable, fix _bit_length must be in bit instead of byte 2020-09-25 18:42:32 +02:00
Gwenhael Goavec-Merou 9a8a7400b9
Merge pull request #50 from ronyrus/add_ftdi_channel_param
Add FTDI channel selection command line argument.
2020-09-22 18:36:53 +02:00
Rony Kelner 41f1a7a61a review fixes: refactoring and readme update 2020-09-22 19:22:51 +03:00
Gwenhael Goavec-Merou 20d72de3c4 spiOverJtag: add xc7a100 bitstream 2020-09-22 15:02:42 +02:00
Rony Kelner 48c747edd6 Add FTDI channel selection command line argument. 2020-09-22 11:45:44 +03:00
Gwenhael Goavec-Merou 9c89c43b4d xilinx: allow write raw binary file in flash 2020-09-19 09:50:08 +02:00
Gwenhael Goavec-Merou a220226a9e usbBlaster: fix read bit align and don't potentially write when just set clk low 2020-09-12 18:13:53 +02:00
Gwenhael Goavec-Merou 1345e6da6d usbblaster:writeTDI: fix mask and force clk low after last write 2020-09-06 16:44:26 +02:00
Gwenhael Goavec-Merou 3bfd63b987 usbBlaster: init: flush FT245 buffer 2020-09-06 11:01:41 +02:00
Gwenhael Goavec-Merou f587d7afde anlogic, lattice, xilinx: fix comparision signed/unsigned 2020-09-05 08:00:58 +02:00
Gwenhael Goavec-Merou 8dace3e2a9 lattice: support writing arbitrary raw binary data somewhere in external flash 2020-09-05 07:55:20 +02:00
Gwenhael Goavec-Merou 800ad1ce2c rawParser: simple class to read raw binary content with an optional reverse order 2020-09-05 07:49:57 +02:00
Gwenhael Goavec-Merou 381c67de00 README: add instruction for anlogic spi flash. Update support list 2020-08-24 08:59:01 +02:00
Gwenhael Goavec-Merou ad4dd39cdd main: pass write mode to anlogic constructor 2020-08-24 08:55:27 +02:00
Gwenhael Goavec-Merou 3349e65079 anlogic: add SPI flash support 2020-08-24 08:54:45 +02:00
Gwenhael Goavec-Merou bfd7e9b6ed anlogicBitParser: allows to reverse (or not) bytes 2020-08-24 08:53:30 +02:00
Gwenhael Goavec-Merou 31bc9cf988 spiFlash: drop annoying message in write_enable method 2020-08-24 08:52:00 +02:00
Gwenhael Goavec-Merou cd124d2830 gowin: add missing stdexcept required by runtime_error
fix:
src/gowin.cpp:73:11: error: 'runtime_error' is not a member of 'std'
      throw std::runtime_error("both write-flash and write-sram can't be set");
            ^
src/gowin.cpp:81:10: error: 'runtime_error' is not a member of 'std'
      throw std::runtime_error("incompatible file format");
            ^
2020-08-24 08:16:48 +02:00
Gwenhael Goavec-Merou 4aab60a2e0 ftdispi: implement spiInterface 2020-08-23 17:17:51 +02:00
Gwenhael Goavec-Merou b3ef97f95e spiInterface: increase spi_put len param 2020-08-23 17:16:21 +02:00
Gwenhael Goavec-Merou 4bfb764e75 spiFlash: fix base addr, add method to read flash content and (non)volatile registers + cleanup 2020-08-23 17:14:21 +02:00
Gwenhael Goavec-Merou d64f6f5055 anlogic: add bit file support. SVF conversion is no more required 2020-08-21 14:07:28 +02:00
Gwenhael Goavec-Merou 4a9fcaf1b9 add minimal support for anlogic bit file 2020-08-21 14:01:07 +02:00
Gwenhael Goavec-Merou 5a214b4c79 README: update instructions about lichee tang and anlogic use 2020-08-20 17:16:19 +02:00
Gwenhael Goavec-Merou e0d763c4b5 add basic support for anlogic eagle s20 FPGA and lichee tang board 2020-08-20 16:59:34 +02:00
Gwenhael Goavec-Merou c41911d039 introduce anlogic JTAG adapter (tested with sipeed lichee tang 2020-08-20 16:57:25 +02:00
Gwenhael Goavec-Merou fc503e5b27 usbBlaster: fix build 2020-08-19 17:21:20 +02:00
Gwenhael Goavec-Merou 4a70675ea6 lattice:cppcheck 2020-08-19 17:00:44 +02:00