Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Honored Contributor I
868 Views

Cyclone V MT25Q256 write from NIOS software

Hi. 

 

We are evaluating alternative FLASHs for the Altera EPCQ256 chip. The recommended MT25Q256 is working with our design regarding programming, booting and remote update. But I cannot write data from my NIOS II firmware.  

 

My setup: Quartus Prime Lite 18.0, with the quartus.ini file described in https://www.altera.com/support/support-resources/knowledge-base/component/2018/how-do-i-enable-micro... 

 

In QSYS, I used to have the Serial Flash Controller Intel Altera IP, and I use the HAL commands from sys/alt_flash_dev.h. When trying to write the return value is 0 (OK), but the data is not present when reading back. 

 

So I tried the Serial Flash Controller Intel Altera IP II with the same settings, but still not working. The Generic Quad SPI controller II lets me select the MT25Q512 (not exactly the type we use), but wants me to export the conduit pins. But the programming pins are dedicated, and I cannot connect to them. 

 

Any hints? 

 

Thanks for reading, 

Heiko
Tags (1)
0 Kudos
0 Replies