Saturday, 2019-05-11

*** tpb has joined #yosys00:00
*** alcorn has joined #yosys00:04
*** zachjs has quit IRC00:44
*** chaseemory has quit IRC00:46
*** chaseemory has joined #yosys01:03
*** gnufan_home has quit IRC01:05
*** s_frit has quit IRC01:16
*** s_frit has joined #yosys01:17
*** zachjs has joined #yosys01:22
bwidawskZipCPU› I actually have been trying with the lattice programmer, and no joy - which was why I wanted to try the open tools :-)01:23
*** futarisIRCcloud has quit IRC01:26
*** zachjs has quit IRC01:46
*** zachjs has joined #yosys01:46
*** alcorn has quit IRC01:48
*** s_frit_ has joined #yosys02:06
*** s_frit has quit IRC02:10
*** s_frit_ has quit IRC02:22
*** s_frit has joined #yosys02:22
*** gsi__ has joined #yosys02:23
*** gsi_ has quit IRC02:26
ZipCPUchaseemory: ;)02:34
ZipCPUbwidawsk: You mean the iCE40 1k stick?02:34
* ZipCPU just finished showing 101 Dalmations to his kids02:35
* ZipCPU googles ECP5 evaluation board02:55
*** PyroPeter has quit IRC02:57
*** emeb has quit IRC03:00
*** PyroPeter has joined #yosys03:11
bwidawskZipCPU› no, the ECP5 EVN03:12
* ZipCPU googles the ECP5 evaluation board03:12
ZipCPULooks like it has a QSPI flash on board, no?03:12
bwidawskwhat's the 'Q'?03:12
bwidawskmine has a macronix part03:13
bwidawsk16pin SPI03:13
ZipCPU"Quad" SPI.  It takes the MISO/MOSI/WP and HOLD pins and turns them all into bidirectional data03:13
ZipCPUOh, 16pin SPI?03:13
bwidawskwell, spi is 1 pin, but the actual chip is 1603:13
* ZipCPU googles some more03:14
ZipCPUOut of curiosity, what are your goals with the flash?  Just initial startup configuration?03:15
bwidawskoh, I didn't notice the special programming instructions03:15
bwidawskhttp://www.latticesemi.com/view_document?document_id=5248403:15
bwidawskso at this point, I'm just trying to compare open vs. proprietary tools03:15
ZipCPUThe data sheet I'm looking at, FPGA-EB-02017-1-0-ECCP5-Evaluation-Board.pdf shows a QSPI flash, with all the standard pins03:16
bwidawskyou have a link for that one handy?03:16
ZipCPUSure, one moment03:17
ZipCPUI found it on this page: https://www.latticesemi.com/en/Products/DevelopmentBoardsAndKits/ECP5EvaluationBoard03:17
tpbTitle: ECP5 Evaluation Board - Lattice Semiconductor (at www.latticesemi.com)03:17
ZipCPUI'm looking at the user guide, https://www.latticesemi.com/view_document?document_id=5247903:17
ZipCPU... and I'm on page 2503:17
bwidawskZipCPU› hmm, maybe the other pins are grounded03:18
ZipCPUIf you look at page 39, it shows a 16 pin flash, of which only 6 are used03:19
ZipCPUSome are grounded, some are test points03:19
bwidawskyeah, okay, I hadn't dug that deeply03:19
ZipCPUI've written about how to build a QSPI flash controller that's highly configurable, yet very low logic03:19
ZipCPUThe basic approach works nicely for dual SPI as well (strapped MISO+MOSI together for bidirectional data lines)03:20
ZipCPUWhile I have a regular SPI flash controller, it's not quite so configurable03:20
bwidawskso... I was under the impression that I can program this flash with jtag, and then on subsequent boot, the bitstream would be loaded into the fpga?03:20
ZipCPUYeah, that's usually how this sort of thing works.  I usually load my design via JTAG, and the program the flash through the design, but I'm probably just strange that way03:21
ZipCPU*then program03:22
*** s_frit has quit IRC03:27
*** s_frit has joined #yosys03:27
*** alcorn has joined #yosys03:41
bwidawskwell, if you know what you're doing, that's probably much faster03:50
bwidawskI'm not sure if I need any straps, or something set to make it load from the SPI, but nothing seems to work for me03:51
*** zachjs has quit IRC04:06
bwidawskfor whatever it's worth, I spent 3 days struggling with diamond and flexlm to get the blinky to work, and symbiflow/trellis worked within 30 seconds04:32
*** futarisIRCcloud has joined #yosys05:07
*** alcorn1 has joined #yosys05:23
*** Kamilion|ZNC has joined #yosys05:24
*** rrika_ has joined #yosys05:24
*** rrika has quit IRC05:26
*** Kamilion has quit IRC05:26
*** markus-k has quit IRC05:26
*** alcorn has quit IRC05:26
*** alcorn1 is now known as alcorn05:26
*** Kamilion|ZNC is now known as Kamilion05:26
*** jevinskie has joined #yosys05:28
*** rrika_ has quit IRC05:28
*** rrika has joined #yosys05:32

Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!