wuxx / icesugar

iCESugar FPGA Board (base on iCE40UP5k)
350 stars 96 forks source link

Flash reading from the iCE40 UltraPlus #51

Closed wil-low closed 1 year ago

wil-low commented 1 year ago

I'm trying to communicate with built-in SPI flash but it does not respond to any commands - I tried the sources of flash example and JEDEC ID request. Looks like flash chip (Winbond 25Q64JVSIQ) is different from what is used in the example.

Don't forget to put the breakout board in flash mode using the jumpers on J6!

this is unclear too - how it relates to icesugar... When I set the jumpers vertically, the board does not load bitstream.

Maybe there is no way to address built-in SPI flash programmatically?

wil-low commented 1 year ago

I found the explanation here: https://github.com/BrunoLevy/learn-fpga/blob/master/FemtoRV/TUTORIALS/spi_flash.md It works now