Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iceprog sram programming not consistent with Lattice application notes #316

Open
iamhuzhe-nia opened this issue May 30, 2023 · 0 comments
Open

Comments

@iamhuzhe-nia
Copy link

iamhuzhe-nia commented May 30, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant