Commit Graph

61 Commits

Author SHA1 Message Date
Gwenhael Goavec-Merou 23c9733a6d gowin: force flush when it's mandatory 2020-10-09 21:29:48 +02:00
Gwenhael Goavec-Merou 06d0e44f71 gowin: eraseFLASH(): fix buffer size, set this to 0 2020-10-09 21:22:03 +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 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
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 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 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
Gwenhael Goavec-Merou 8cd6f3fe2c gowin: fix internal flash 2020-05-12 10:49:58 +02:00
Vlatko Kosturjak 81d8a8494d Initial Mac OS X support 2020-03-15 08:22:29 +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
Fabien Marteau a86eff6b57 Update cmake according to trabucayre request https://github.com/trabucayre/openFPGALoader/pull/17 2020-01-27 09:47:42 +01:00