Commit Graph

251 Commits

Author SHA1 Message Date
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
Gwenhael Goavec-Merou 4b3166e8df xilinx: update according to mcsParser modifications 2020-05-19 07:58:37 +02:00
Gwenhael Goavec-Merou 64754604f6 mcsParser: length must be in bit. Allows to store data in direct or reverse Byte order 2020-05-19 07:58:08 +02:00
Gwenhael Goavec-Merou dec69596d3
Merge pull request #33 from jeanthom/ecpix5
Add support for ECPIX-5
2020-05-13 10:55:48 +02:00
Jean THOMAS eed16e62ba Update README 2020-05-13 10:09:50 +02:00
Jean THOMAS eeefe48284 Add support for ECPIX-5 2020-05-12 19:09:30 +02:00
Gwenhael Goavec-Merou 8cd6f3fe2c gowin: fix internal flash 2020-05-12 10:49:58 +02:00
Gwenhael Goavec-Merou 564785c2d1 part: add idcode for LCMX02-7000HC 2020-05-04 13:09:01 +02:00
Gwenhael Goavec-Merou 77cfece648 update README with machXO2 2020-05-02 09:58:32 +02:00
Gwenhael Goavec-Merou dcbe9fb740 board: add MachXO2 Breakout Board Evaluation Kit 2020-05-02 09:58:11 +02:00
Gwenhael Goavec-Merou 5cacdf37df part: add machXO2 LCMXO2-7000HE 2020-05-02 09:57:03 +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 099123277c jedParser: Note lines may start with N or NOTE 2020-05-02 09:10:44 +02:00
Gwenhael Goavec-Merou 77e95d637c jedParser: don't always consider STX as first char 2020-05-02 09:08:42 +02:00
Gwenhael Goavec-Merou 3221fd8ee2 jedParser: check if a \r char is present 2020-05-02 08:51:24 +02:00
Gwenhael Goavec-Merou 050a3a3f8d add Saanlima Pipistrello 2020-04-28 18:22:33 +02:00
Gwenhael Goavec-Merou e16f92199a tested with Xilinx spartan6 2020-04-28 18:21:07 +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 9d8c528c35 jedParser: fix return value when something is wrong 2020-04-24 10:20:25 +02:00
Gwenhael Goavec-Merou a4e489467e jedParser: fix checksum 2020-04-24 10:16:57 +02:00
Gwenhael Goavec-Merou d5946f07de
Merge pull request #30 from Martoni/master
tab or space indentation, please choose
2020-04-22 20:55:48 +02:00
Fabien Marteau 6ec380516c tab or space indentation, please choose 2020-04-22 20:51:54 +02:00
Gwenhael Goavec-Merou 27378d668d README: add details on how to use flash SPI with ECP5 2020-04-22 15:32:19 +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 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 d80cf248ca add spiInterface.h to CMakeLists.txt 2020-04-22 15:17:55 +02:00
Gwenhael Goavec-Merou 0409263f87 unlock block if locked before erase/flash 2020-04-21 19:25:35 +02:00
Gwenhael Goavec-Merou ee4a62e968 xilinx: implement spiInterface and pass this instead of jtag to spiFlash class 2020-04-21 09:08:32 +02:00
Gwenhael Goavec-Merou 95f247a25e spiFlash: read extented ID only when len != 0 2020-04-21 09:02:48 +02:00
Gwenhael Goavec-Merou c94f031025 spiFlash: use spiInterface to hide communication details 2020-04-21 09:00:57 +02:00
Gwenhael Goavec-Merou 2245712108 spiInterface: abstract class for SPI xfer 2020-04-21 08:53:52 +02:00
Gwenhael Goavec-Merou 8f60c52df6
Merge pull request #29 from udif/fix_bus_blaster
Fixed DangerousPrototype's Bus Blaster support (in JTAGkey mode).
2020-04-16 12:32:47 +02:00
Udi Finkelstein 4558f8b395 Fixed ordering to be alphabetical 2020-04-16 10:54:53 +03:00
Udi Finkelstein 8a212e9feb Fixed DangerousPrototype's Bus Blaster support (in JTAGkey mode).
The Bus Blaster uses an FT2232H with an on-board CPLD allowing it to
impersonate various JTAG probes.
This did not work until now because JTAGkey uses ADBUS4/GPIOL0 as ~CS
to enable the JTAG buffers on the on-board CPLD.
2020-04-16 05:31:59 +03:00
Gwenhael Goavec-Merou d9e00cc8d8 add udev rules based on openOCD 2020-04-13 15:57:31 +02:00
Gwenhael Goavec-Merou 5a3c78c1c3 fsparser: compute configuration data checksum instead of using the one provided in the comments 2020-03-22 19:16:52 +01:00
Gwenhael Goavec-Merou a373bf1613 fsparser: use map provided by configBitstreamParser instead of a lot a variable. 2020-03-20 18:55:13 +01:00