Gwenhael Goavec-Merou
db92ea068c
main: add protection for all devices. Add CLI args
2021-12-22 19:12:33 +01:00
Patrick Urban
d09e5da0ba
colognechip integration: initial commit
...
This commit adds support for the Cologne Chip GateMate FPGA series. Both
Evaluation Board and Programmer Cable are supported. Configurations can be
loaded into the FPGA with both devices via JTAG or SPI. In addition to
reading/writing data from/to flashes directly via SPI, this can also be done
via the built-in JTAG-SPI-bypass. A direct wiring between programming hardware
and flash is no longer necessary in this case.
Signed-off-by: Patrick Urban <patrick.urban@web.de>
2021-12-10 12:12:32 +01:00
Gwenhael Goavec-Merou
5f78204f22
Merge pull request #130 from abacomartin/master
...
adding support for MachXO3D
2021-11-20 15:35:01 +01:00
Gwenhael Goavec-Merou
8df01663ff
main: raise error when board name is provided but not found
2021-11-11 17:20:51 +01:00
Martin Beynon
b6979f54f7
adding support for MachXO3D
2021-11-09 08:54:09 +00:00
Gwenhael Goavec-Merou
649554f3fd
efinix: add jtag support, introduce oe_pin in board configuration, add xyloni jtag interface
2021-10-23 08:44:23 +02:00
Gwenhael Goavec-Merou
b1b1e5a4a8
main: don't limit vid/pid to dfu
2021-10-13 06:51:22 +02:00
Gwenhael Goavec-Merou
6858cabc7d
main: introduce vid/pid args
2021-10-03 18:33:55 +02:00
Gwenhael Goavec-Merou
ea613fa97a
dfu/main: add args to select altsetting and add filter to select corresponding interface
2021-10-03 12:39:06 +02:00
Gwenhael Goavec-Merou
abef1f4968
add verbose-level args: -1 quiet, 0 normal mode, 1 verbose, 2 debug lowlevel
2021-10-03 08:22:35 +02:00
Gwenhael Goavec-Merou
85b53b5918
add gowin external spi in bscan and --external-flash option
2021-09-15 20:18:49 +02:00
Gwenhael Goavec-Merou
ae2fcfdca1
main: args. Fix comments for load and write bitstream
2021-09-13 14:10:42 +02:00
Gwenhael Goavec-Merou
274d4ea2dc
main: fix display order for detect
2021-08-18 07:40:25 +02:00
Gwenhael Goavec-Merou
630d4428c6
main: DFU mode: pass board vid/pid
2021-07-17 08:36:32 +02:00
Gwenhael Goavec-Merou
be6ed217dd
main: display error message if program fails
2021-07-14 16:39:14 +02:00
Gwenhael Goavec-Merou
cc688d6db6
main: small fix
2021-07-14 08:07:51 +02:00
Gwenhael Goavec-Merou
13af012163
main: avoid potential miss with probe clock frequency
2021-07-14 08:04:43 +02:00
ultraembedded
f8831f329c
Only use board clock speed if user does not specify an alternate freq
2021-07-11 15:27:46 +01:00
ultraembedded
797785ce93
Allow board configuration table to contain a default clock speed (as some boards are known to work at higher speeds safely). Move Digilent Arty to 10MHz (tested).
2021-07-11 15:20:15 +01:00
Gwenhael Goavec-Merou
3983726a66
all devices: use spiFlash dump & verify
2021-07-11 11:34:14 +02:00
Gwenhael Goavec-Merou
c99f5aa4e6
main: update to pass device type and prog type to altera class
2021-07-08 20:54:12 +02:00
Gwenhael Goavec-Merou
8f95303daf
move to APACHE-2.0 license
2021-06-26 15:24:07 +02:00
Gwenhael Goavec-Merou
98a2e836fa
ice40: add support for verify and dump
2021-06-26 08:43:02 +02:00
Gwenhael Goavec-Merou
79a0e84f1f
efinix: add support for verify and dump
2021-06-26 08:34:12 +02:00
Gwenhael Goavec-Merou
2af64e9af4
all: propagate verify with a message when not supported
2021-06-25 08:58:45 +02:00
Gwenhael Goavec-Merou
fe0a315456
lattice,device: introduce method to dump flash content
2021-06-24 18:20:34 +02:00
Gwenhael Goavec-Merou
c471d25bb5
xilinx,lattice,device: add verify write into flash
2021-06-24 18:08:02 +02:00
Gwenhael Goavec-Merou
827767b99f
add proof of concept / draft for DFU protocol. Add orangeCrab in DFU mode
2021-06-20 10:26:05 +02:00
Gwenhael Goavec-Merou
2f38461826
main: fix default args.index_chain
2021-05-15 19:30:45 +02:00
Gwenhael Goavec-Merou
27af85dc19
main: add option to specify device index
2021-05-15 15:26:09 +02:00
Gwenhael Goavec-Merou
acf4ab270c
main: rework fpga detection to allows more than one device in a chain, but only FPGA is allowed
2021-05-15 15:08:27 +02:00
Gwenhael Goavec-Merou
42b7279a4b
main: add optional probe-firmware
2021-05-13 16:07:40 +02:00
Gwenhael Goavec-Merou
7039465353
rework xilinx fpga spiOverJtag to respect model/package
2021-04-19 21:17:08 +02:00
Gwenhael Goavec-Merou
f33d30dbce
main: fix bitbang check: config pins must be the shift value
2021-03-21 18:51:13 +01:00
Gwenhael Goavec-Merou
16932786db
all parser:
...
- _raw_data is now filled in configBitstreamParser
- source may be a file or a pipe
- displayHeader become a common method (configBitstreamParser)
- improve/rewrite some parser (efinixHexparser 1s -> 11ms)
2021-02-24 06:36:48 +01:00
Gwenhael Goavec-Merou
df52d523bf
All devices: new CLI argument to bypass file type autodetection
2021-02-21 18:30:13 +01:00
Gwenhael Goavec-Merou
5f9a8835da
devices: simplify write RAM/Flash
2021-02-18 21:09:34 +01:00
Gwenhael Goavec-Merou
ad21a3bb36
recast verbose to int8_t to have more level of verbosity (-1 quiet, 0 normal, 1 verbose), add --quiet option, display progress bar when verbosity level >= 0
2021-01-30 07:57:49 +01:00
Gwenhael Goavec-Merou
1992360667
main: catch exception if FPGA can't be claimed.
2021-01-29 06:19:42 +01:00
Gwenhael Goavec-Merou
6fefebd02c
prepare release v0.2.1
2020-12-17 13:58:30 +01:00
Gwenhael Goavec-Merou
14c5b8e681
add support for ice40 FPGA and iCEBreaker, icestick, iCE40-HX8K, iCE40-HX1K-EVN boards
2020-10-31 15:02:54 +01:00
Gwenhael Goavec-Merou
aa23aff388
main: review SPI mode for efinix active mode
2020-10-31 10:41:44 +01:00
Gwenhael Goavec-Merou
3c9870bba3
introduce CBUS/DBUS pins value, add macro and pin mapping for board in SPI mode, reset and done signals
2020-10-31 08:40:18 +01:00
Gwenhael Goavec-Merou
b2abafa76d
ftdispi: start to use spi_pins_conf
2020-10-30 08:26:15 +01:00
Gwenhael Goavec-Merou
5254116ad8
main: if board has no default cable, don't override potential user choise
2020-10-25 16:51:21 +01:00
Gwenhael Goavec-Merou
f22b25428d
main: allow users board cable to be override
2020-10-21 13:41:26 +02:00
Gwenhael Goavec-Merou
8fb36f9ba9
main: improve flash direct access
2020-10-07 07:47:46 +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
Martin Pittermann
99929f99c3
add ftdi serial argument
2020-09-29 14:16:30 +02:00
Gwenhael Goavec-Merou
d9bbcdf68b
xilinx: support writing .bit file to flash
2020-09-25 18:58:31 +02:00
Rony Kelner
41f1a7a61a
review fixes: refactoring and readme update
2020-09-22 19:22:51 +03:00
Rony Kelner
48c747edd6
Add FTDI channel selection command line argument.
2020-09-22 11:45:44 +03:00
Gwenhael Goavec-Merou
ad4dd39cdd
main: pass write mode to anlogic constructor
2020-08-24 08:55:27 +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
050aa94b8b
main: delete jtag if someone is wrong
2020-08-19 15:15:37 +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
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
9c42aecef5
replace argp by cxxopts
2020-07-23 18:32:18 +02:00
Gwenhael Goavec-Merou
c1741b4300
prepare release 0.1
2020-07-11 08:47:54 +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
Martin Pittermann
e93034db69
clean up --freq parser
2020-05-25 10:33:09 +02:00
Martin Pittermann
92888956f3
add jtag frequency option
2020-05-21 13:07:20 +02:00
Fabien Marteau
6ec380516c
tab or space indentation, please choose
2020-04-22 20:51:54 +02:00
Gwenhael Goavec-Merou
12d69735eb
main: pass wr sram/mem to lattice constructor and update help
2020-04-22 15:23:38 +02:00
Gwenhael Goavec-Merou
8f2d6cb1c9
add option to enable/disable udev support
2020-03-14 19:42:07 +01:00
Gwenhael Goavec-Merou
c4f6178733
propagate jtag_pins_conf_t and add support for bitbang mode
2020-03-07 11:44:17 +01:00
Gwenhael Goavec-Merou
84298839ea
rework board structure to add an optional pin mapping for bitbang mode
2020-03-07 11:00:29 +01:00
Gwenhael Goavec-Merou
706219016e
pass cable_t instead of mpsse_bit_config
2020-03-07 10:56:34 +01:00
Gwenhael Goavec-Merou
1ef72b0da6
add interface id in mpsse_bit_config.
2020-03-07 07:19:20 +01:00
Gwenhael Goavec-Merou
9c9348f7d0
rename ftdijtag to jtag
...
- drop everything about ftdi
- use jtagInterface to communicate with hardware
- for all class using jtag: rename FtdiJtag -> Jtag
2020-03-06 09:05:57 +01:00
Gwenhael Goavec-Merou
d5e696b5c3
add --detect option to display wich FPGA
2020-02-22 20:55:51 +01:00
Gwenhael Goavec-Merou
849e5751e0
main: catch exception, to finish cleanly
2020-02-16 16:55:37 +01:00
Gwenhael Goavec-Merou
ad50f1a19b
main: calls program() only when a bit_file is provided
2020-02-16 16:53:55 +01:00
japm48
2b2806b0b4
Print error when no bitfile is specified
2020-02-16 15:44:28 +01:00
Gwenhael Goavec-Merou
0315b3243c
main: allows to have board without default cable
2020-02-01 18:07:42 +01:00
Fabien Marteau
a86eff6b57
Update cmake according to trabucayre request https://github.com/trabucayre/openFPGALoader/pull/17
2020-01-27 09:47:42 +01:00