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
Gwenhael Goavec-Merou
7e763dcc25
xilinx:cppcheck
2020-08-19 16:57:07 +02:00
Gwenhael Goavec-Merou
2b3c9f0f8f
cppcheck
2020-08-19 16:53:49 +02:00
Gwenhael Goavec-Merou
050aa94b8b
main: delete jtag if someone is wrong
2020-08-19 15:15:37 +02:00
Gwenhael Goavec-Merou
4a3d1b3009
introduce intel usb blaster cable and de0nano board
2020-08-19 15:15:13 +02:00
Gwenhael Goavec-Merou
dcf4468206
Merge pull request #43 from Fatsie/arty_s7_50
...
Support Arty S7-50
2020-08-10 08:09:28 +02:00
Staf Verhaegen
ced3363ee5
Support Arty S7-50
...
Added Xilinx xc7s50 device to part.hpp; added support for generating
spiOverJtag bitstream file for that device and added bitstream to repo.
Converted xdc file from DOC line endings to native line endings.
2020-08-08 11:42:38 +02:00
Gwenhael Goavec-Merou
75f160ef00
add CLI args to provide pin mapping for bitbang mode (ft232 and ft231x)
2020-08-04 17:36:33 +02:00
Gwenhael Goavec-Merou
16ef55875d
ftdipp_mpsse: fix build failure with gcc 4.8
2020-08-04 16:41:12 +02:00
Gwenhael Goavec-Merou
7a8b80d9da
Merge pull request #40 from edbordin/cxxopts_migration
...
cxxopts migration and windows (MinGW) support
2020-07-26 14:50:25 +02:00
Ed Bordin
ecf86e2bd0
Update README documenting new cmake flags
2020-07-26 20:26:52 +10:00
Ed Bordin
c86dae6b62
link against winsock system lib rather than implementing ad-hoc ntohs, fix warning about redefined macro on windows
2020-07-25 16:21:27 +10:00
Ed Bordin
4bdf8a0dd5
add some options to CMakeLists.txt to enable build against custom libs (including option to use find_package for threads to ensure correct link order with pthreads)
2020-07-25 14:06:25 +10:00
Ed Bordin
d24c63ec8a
trabucayre/openFPGALoader#38 minor adjustments for MinGW build - use memset instead of bzero, errno_t may be replaced by int, provide ad-hoc ntohs on windows (alternative is link against winsock)
2020-07-25 12:55:41 +10:00
Gwenhael Goavec-Merou
3f4086ec89
cxxopts: fix option_matcher regex
2020-07-24 08:34:44 +02:00
Gwenhael Goavec-Merou
9c42aecef5
replace argp by cxxopts
2020-07-23 18:32:18 +02:00
Gwenhael Goavec-Merou
b6681c5430
adapt and copy cxxopts.hpp from https://github.com/jarro2783/cxxopts
2020-07-23 18:31:53 +02:00
Gwenhael Goavec-Merou
c1741b4300
prepare release 0.1
2020-07-11 08:47:54 +02:00
Gwenhael Goavec-Merou
7508a94031
add TODO list
2020-07-11 08:45:59 +02:00
Gwenhael Goavec-Merou
e95a6a1792
display: use isatty() for (no)color
2020-07-11 07:56:11 +02:00
Gwenhael Goavec-Merou
d85fc68add
main: use printError instead of cerr
2020-07-11 07:47:27 +02:00
Gwenhael Goavec-Merou
447e3e47b2
catch exception when claiming cable
2020-07-11 07:23:24 +02:00
Gwenhael Goavec-Merou
23b8e61bc0
dirtyJtag: add () to fix operator priority
2020-06-24 07:19:15 +02:00
Gwenhael Goavec-Merou
e28dbdfb2f
ftdiJtagMPSSE: read mpsse_write return in toggleClk
2020-06-23 10:13:35 +02:00
Gwenhael Goavec-Merou
d5b3073e78
ftdiJtagMPSSE: drop debug message
2020-06-18 06:49:45 +02:00
Gwenhael Goavec-Merou
27b0c8a664
introduce DirtyJTAG cable
2020-06-14 15:41:00 +02:00
Gwenhael Goavec-Merou
ace902cb98
jtag: call toggleClk instead of playing with TMS
2020-06-14 15:20:47 +02:00
Gwenhael Goavec-Merou
2cadd21f02
ftdiJtagMPSSE: fix toggleClk to use clk toggle instruction only with compatible device
2020-06-14 15:18:22 +02:00
Gwenhael Goavec-Merou
9a10ac4d48
ftdiJtagBitbang: implement toggleClk
2020-06-14 15:05:47 +02:00
Gwenhael Goavec-Merou
275ba38207
restructure hierarchy/abstraction:
...
- jtagInterface as now only two method: one for tms or for tdi, in all
case full buffer is provided and specific code deal with them to write
- jtag: drop read_write logic to jtag probe abstraction
2020-05-31 15:57:21 +02:00
Gwenhael Goavec-Merou
652b3d292e
ftdipp_mpsse: change clkHZ visibility
2020-05-31 15:56:35 +02:00
Gwenhael Goavec-Merou
9b1c0d42e1
Merge pull request #36 from martin2250/master
...
add jtag frequency option
2020-05-26 07:12:08 +02:00
Martin Pittermann
c6385e5a50
update README
2020-05-25 23:18:42 +02:00
Martin Pittermann
e93034db69
clean up --freq parser
2020-05-25 10:33:09 +02:00
Gwenhael Goavec-Merou
50fa17b62f
gowin: add flash GW1N1 support
...
- eraseFlash need 65 x 32bits for GW1N1, 1 x 32bits for others
- improve flashFlash with delay according to the model
2020-05-23 14:51:48 +02:00
Martin Pittermann
92888956f3
add jtag frequency option
2020-05-21 13:07:20 +02:00
Gwenhael Goavec-Merou
aa752856c3
jtag, ftdiJtagBitbang: improve tms flush and fix data reconstruct in specific conditions
2020-05-19 08:32:43 +02:00
Gwenhael Goavec-Merou
fd133f9c91
update README to for ECP5 with MCS
2020-05-19 08:08:38 +02:00
Gwenhael Goavec-Merou
9f9528599e
lattice: add mcs support for extFlash
2020-05-19 07:59:19 +02:00