Commit Graph

38 Commits

Author SHA1 Message Date
Martin Beynon 7fe0a5ab66 wip: adding pubkey programming 2021-11-25 14:50:33 +00:00
Martin Beynon 7e7e030661 wip: adding pubkey programming 2021-11-25 14:13:17 +00:00
Martin Beynon 482141c556 verbose/verify modifications + common code moved to calling func + more white space! 2021-11-19 15:21:52 +00:00
Martin Beynon 393bf1d28b Unused variables (plus some more white space fixes) 2021-11-19 15:11:02 +00:00
Martin Beynon 07752c37e2 fix up line endings and white space issues - also moved the flash sector if block into MachXO3D family - as not required for other types 2021-11-11 09:04:50 +00:00
Martin Beynon b6979f54f7 adding support for MachXO3D 2021-11-09 08:54:09 +00:00
Gwenhael Goavec-Merou 3730e8189d spiFlash: extract status register display from read_status_reg 2021-10-19 07:06:46 +02:00
Gwenhael Goavec-Merou 304ec0071c mask idcode upper nibble (version in IEEE 1149.1) 2021-08-27 15:10:12 +02:00
Gwenhael Goavec-Merou faedb0cfd7 lattice: throw exception when program fails 2021-08-23 16:27:28 +02:00
Gwenhael Goavec-Merou 3983726a66 all devices: use spiFlash dump & verify 2021-07-11 11:34:14 +02:00
Gwenhael Goavec-Merou 8f95303daf move to APACHE-2.0 license 2021-06-26 15:24:07 +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 2bf7b255b3 lattice: move directly to run_test_idle with last tx packet in program_mem 2021-06-12 09:27:16 +02:00
Gwenhael Goavec-Merou fc08249630 lattice: don't use read_write 2021-05-18 08:27:34 +02:00
Gwenhael Goavec-Merou 43caa612ca lattice: drop the limitation, for .bin, to write at offset > 0 2021-02-27 06:49:42 +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
phdussud a11ec92a25 Fix gcc 10.2 error messages. 2020-12-12 15:48:45 -08:00
Gwenhael Goavec-Merou ed7e9340ba lattice: add a memset to avoid valgrind warn 2020-11-27 08:29:09 +01:00
Francisco Ayala Le Brun fbb8c58f46 Add MachXO3D Development Board Support 2020-10-16 08:03:45 +02:00
Martin Pittermann c41f4b597a fix MACHXO3LF family 2020-09-29 16:13:54 +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 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 b3ef97f95e spiInterface: increase spi_put len param 2020-08-23 17:16:21 +02:00
Gwenhael Goavec-Merou 4a70675ea6 lattice:cppcheck 2020-08-19 17:00:44 +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 9f9528599e lattice: add mcs support for extFlash 2020-05-19 07:59:19 +02:00
Gwenhael Goavec-Merou 4847700b84 lattice: flash EBR when jed has this section 2020-05-02 09:47:41 +02:00
Gwenhael Goavec-Merou 84b1d86d52 lattice: display status register when loadConfiguration fails 2020-04-28 10:00:55 +02:00
Gwenhael Goavec-Merou 56a81c1d68 lattice: update define, pass data array instead of _jed to Verify method, fix wrong index use 2020-04-27 16:37:05 +02:00
Gwenhael Goavec-Merou cb66aa6885 lattice: add spiInterface method, split program_flash in two distinct method (one for internal flash and one for external spi flash), add constructor args to select flash or memory with bit file 2020-04-22 15:21:01 +02: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 1f02fce1c9 xilinx,lattice: drop useless offset in program_mem signature 2020-02-14 15:14:22 +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