- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't think so. It's probaly something you can fix in the NIOS software libraries
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I now included signaltap into the design to see what happens on the EPCS signals (DCLK, Din, Dout, Cs_N). There is no activity. Cs_N is high, Dclk is low, Dout is los and Din is high. What can cause this problem?
Thanks for any help in advance- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It's probably better if you use an external oscilloscope instead of the signaltap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I tried both, an osciloscope and signal tap. both show that there is absolutely no activity on the signals to the device.
I also set up a SOPC system that only contains a CPU, JTAG UART, EPCS controller and an on-chip RAM. This minimal system does also not work (same behaviour).- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you set up the "dual purpose pins" as "User I/O" under the device settings ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes. I have set them up.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page