Forum Discussion
Altera_Forum
Honored Contributor
18 years agoFrom my experience with the SPI megafunction, it works fine. Some of the things you might want to check:
1. Write enabled for the UFM (with the instructions) 2. Whether the block is write-protected (by reading back the status register data) You can also check the nRDY bit and see if the erase or programming is happening. If erase or programming is happening, you should wait until the process is completed. Hope this helps.