I am using the On-Chip Flash Intel FPGA IP and following the Intel® MAX® 10 User Flash Memory User Guide here. I am trying to simply write test data.
I have followed the guide's steps for erasing and writing to the memory and have only had success when erasing. I can see this by the status register reads '1' in bit 4.
However, I follow the process for writing and the status register reads 2'b10 (BUSY_WRITE) but a few clock cycles later, when these bits are 2'b00 (IDLE), bit 3 (write-successful) is a '0'. I expect bit 3 to be a '1' after this write operation.
The user guide suggests 3 reasons for this issue
I have attached my waveform and Platform Designer design / IP Parameters.
Thanks everyone in advance
Do you make sure to erase the flash location before you perform a program (write) operation?
Do you able to duplicate the figure no. 8 diagram in the UG?
You can refer to the example design below from the link below.
Yes, I make sure to erase the flash location before writing.
In my original design I did not hold the write signal for long, though after modifying the code, writing still fails.
I'll work off the example design, I couldn't find that from the design store.