Open iamhuzhe-nia opened 1 year ago
Just reading iceprog.c code: https://github.com/YosysHQ/icestorm/blob/master/iceprog/iceprog.c#L893
to write to SRAM directly.
According to Lattice notes: https://www.latticesemi.com/-/media/LatticeSemi/Documents/ApplicationNotes/IK/FPGA-TN-02001-3-4-iCE40-Programming-Configuration.ashx?document_id=46502 (page 31, figure 13.2)
there is 8 dummy clocks (while SPI_SS is high) before writing SPI data to ICE40.
That 8 dummy clocks doesn't exist in iceprog.c
Don't know if it affects anything, just to point out the difference
Just reading iceprog.c code: https://github.com/YosysHQ/icestorm/blob/master/iceprog/iceprog.c#L893
to write to SRAM directly.
According to Lattice notes: https://www.latticesemi.com/-/media/LatticeSemi/Documents/ApplicationNotes/IK/FPGA-TN-02001-3-4-iCE40-Programming-Configuration.ashx?document_id=46502 (page 31, figure 13.2)
there is 8 dummy clocks (while SPI_SS is high) before writing SPI data to ICE40.
That 8 dummy clocks doesn't exist in iceprog.c
Don't know if it affects anything, just to point out the difference