Commit Graph

821 Commits

Author SHA1 Message Date
Matt Mets 84e0851281 Update to work with version 0x0200 interface 2023-03-08 01:06:35 +01:00
Matt Mets 1f4c319b3c Adjust SPI transfer parameter to bytes 2023-03-06 15:52:02 +01:00
Matt Mets 1d5b1a3fcc Add SPI frequency option to call 2023-03-03 16:52:45 +01:00
Matt Mets 3465c5ec67 Update raw_usb interface 2023-03-01 01:53:32 +01:00
Matthew Mets d70084de68 USB timing measurements 2023-02-15 12:58:04 +00:00
Daniel Lublin 33f3fca93b Indicate we run the raw usb proto, not HID 2023-02-15 13:38:46 +01:00
Matthew Mets fbd51f6996 Check for programmer running old firmware 2023-02-15 11:26:51 +00:00
Matthew Mets 48ab6c3459 Speed up Pico programmer by switching to raw USB protocol
This update replaces the HID-based USB protocol with a vendor
control transfer variant. The primary goal is speed- HID transfers
are rate-limited to 1000/s, which gives a maximum transfer rate of
64kb/s. Unfortunately a majority of this bandwidth is wasted, and
typical ice40 flash routines could take up to 17 seconds to
complete. With the switch to a new protocol, the time is reduced to
under 4 seconds.
2023-01-19 19:51:42 +00:00
Matthew Mets ac1b22ffb9 bugfix: release SPI pins on close 2022-08-18 13:30:46 +02:00
Matthew Mets 981de3a0ce Send maximum bytes in spi xfer packets 2022-08-11 01:48:28 +02:00
Matthew Mets 5bb4e23c86 Add rpi pico based programmer 2022-08-11 01:32:38 +02:00
Matthew Mets 885358b5e6 Move programmer-specific commands to a generic interface 2022-07-17 17:05:28 +02:00
Miodrag Milanović 2bc541743a
Update COPYING 2022-06-03 10:31:05 +02:00
Miodrag Milanovic 752c96abbf Change help message 2022-05-30 10:14:13 +02:00
Miodrag Milanović cb067cf394
Merge pull request #278 from davidthings/master
Add an option (-p) to icepll to force use of SB_PLL40_PAD
2022-05-30 10:12:49 +02:00
Miodrag Milanović 29556af238
Merge pull request #283 from smunaut/misc
Misc improvements to iceprog
2022-05-30 10:09:53 +02:00
Miodrag Milanović eaea10ba4c
Merge pull request #291 from maikmerten/master
icetime: Parse PCF files with -pullup and -pullup_resistor in set_io directives
2022-05-30 10:08:40 +02:00
Miodrag Milanović 10ed4136f7
Merge pull request #296 from RafaelLeeImg/merge_request_float_exception
Fix float exception when value is less than 100
2022-05-23 12:52:44 +02:00
Rafael Lee 848f6a874e
Fix float exception when value is less than 100
Signed-off-by: Rafael Lee <rafaellee.img@gmail.com>
2022-04-13 04:51:46 +08:00
gatecat 9f66f9ce16
Merge pull request #294 from YosysHQ/gatecat/lut-false-path
icetime: Ignore false paths through LUTs based on function
2022-03-29 13:34:29 +01:00
gatecat b5f9560233 icetime: Ignore false paths through LUTs based on function
Signed-off-by: gatecat <gatecat@ds0.me>
2022-03-29 13:24:51 +01:00
gatecat 1d8e1a8f58
Merge pull request #293 from YosysHQ/gatecat/cb121-fix
icebox: cb121 does have a PLL
2022-03-25 16:31:02 +00:00
gatecat e23274a9dd icebox: cb121 does have a PLL
Signed-off-by: gatecat <gatecat@ds0.me>
2022-03-25 15:52:44 +00:00
Maik Merten c9ad6ca881 icetime: indent with tabs 2022-03-05 17:36:21 +01:00
Maik Merten 5b5c7ce599 icetime PCF parsing: handle -pullup and -pullup_resistor in set_io constraints 2022-03-05 17:33:14 +01:00
gatecat 8fa85d5ee3
Merge pull request #289 from osresearch/bitstream-pr
docs/format.html: document bram/cram read-back commands
2022-01-22 19:11:57 +00:00
Trammell Hudson 5b5d7bb3ce docs/format.html: document bram/cram read-back commands
The Lattice tools use these additional commands to read-back the BRAM
and CRAM after programming to validate that it was written correctly.
`iceprog` doesn't use this right now, so this is just for documentation
purposes.

Signed-off-by: Trammell Hudson <hudson@trmm.net>
2022-01-22 18:46:24 +01:00
Catherine 3b7b199131
Merge pull request #287 from projf/update-url
Update URL for web site.
2022-01-02 02:31:16 +00:00
Sylvain Munaut 98d8bee04f iceprog: Use open-drain output to drive SS and Reset line
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2021-12-17 19:45:34 +01:00
Sylvain Munaut c5a8beffec iceprog: Improve reset to disable both CRM and QPI
It's hard to cover 100% of cases, but this seems to improve
probability that a reset works, at least for me on the icebreaker.

Some other flash have a different QPI disable command though :/

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2021-12-17 19:45:34 +01:00
Sylvain Munaut 502d847b41 iceprog: Add option that set QE=1 bit in SR2
This is useful when testing litex SoC that rely on that bit being set

The setting is non-volatile so it only needs to be done once in case
you happen to have used a flash chip that's not by default QE=1

(This has been designed for winbond flash. Others might use
 different bit ...)

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2021-12-17 19:44:24 +01:00
Will Green b5dbe11335
Update URL for web site. 2021-11-28 19:26:21 +00:00
Miodrag Milanović 83b8ef947f
Merge pull request #282 from jkiv/iceprog-ignorig-fix
[iceprog] Fixed typo in error message: "Ignorig"
2021-09-06 11:14:46 +02:00
Miodrag Milanovic 9880f6e2dd Update variable name to PYTHON3 2021-09-06 11:11:52 +02:00
Miodrag Milanović f14a7fb4ca
Merge pull request #239 from xobs/python-bin-name
Use $(PYTHON) in Makefiles instead of `python3`
2021-09-06 11:08:23 +02:00
Miodrag Milanovic 9fe28369aa Fixes for macOS 2021-09-06 11:07:42 +02:00
Claire Xen b93cb16bb0
Merge pull request #276 from esden/progress
iceprog: Add write and read progress indication.
2021-08-30 16:01:56 +02:00
Jon Kivinen 97b6e276e8
[iceprog] Fixed typo in error message: "Ignorig" 2021-05-03 19:31:39 -04:00
gatecat c495861c19 Use --recursive for nextpnr clone
Signed-off-by: gatecat <gatecat@ds0.me>
2021-03-09 09:51:12 +00:00
whitequark 0dfc7130bb
Merge pull request #279 from YosysHQ/update-gitignore
Add more build products to .gitignore
2021-03-05 04:46:24 -08:00
whitequark 529759c4bd Add more build products to .gitignore. 2021-03-05 12:43:57 +00:00
David Williams e368f15a7f Add an option (-p) to force use of SB_PLL40_PAD
When a clock is applied to a dedicated clock pin, SB_PLL40_CORE is no longer the correct primitive to use.

Also the name of the clock input must be PACKAGEPIN (rather than REFERENCECLK)
2021-02-05 07:35:50 -08:00
Piotr Esden-Tempski 549fd314a0 iceprog: Add write and read progress indication. 2021-01-16 22:58:29 -08:00
David Shah 7afc64b480
Merge pull request #275 from nils1603/feature/ip_support_u4k
added I2C and SPI for u4k to database
2020-12-04 21:39:13 +00:00
Nils Albartus d969c333d0 added I2C and SPI for u4k to database 2020-12-04 16:47:05 +01:00
Claire Wolf da52117ccd Fix links and email addr in index.html
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
2020-08-19 10:35:39 +02:00
Claire Wolf f8c82074d2 Use YosysHQ in index.html
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
2020-08-19 10:32:27 +02:00
Claire Wolf 62041701ce Use Claire in index.html
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
2020-08-19 10:30:46 +02:00
Miodrag Milanović d123087756
Merge pull request #264 from YosysHQ/mmicko/improvements
Support rest of parts by icetime
2020-07-08 20:38:52 +02:00
Miodrag Milanovic af42a45b91 Enable rest of lattice parts in icetime 2020-07-08 19:48:11 +02:00