Altera_Forum
Honored Contributor
16 years agoM25P32 access
I am using a Cyclone IV device with a M25P32 flash as EPCS replacement. I am aware of the fact that Quartus does not support M25P32 since there is no EPC32 device available. Therefore I tried to access the device through the EPCS controller from a Nios II.
The Software crashed during the access. During debugging I found out that the software crashed when it reads out the Device ID. There are some lines in the File altera_avalon_epcs_flash_controller.c to find out which EPCS is attached. However, the software does not ever reach this part of the code. It crashes during the SPI command to read out the Device ID. Does anyone have an idea what the problem could be? Does altera check the device ID in the logic of the EPCS controller?