- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For my design, I'm using the Cyclone V (5CEFA7F23). I'm looking to boot the "factory image" from an EPCQ flash device using Active Serial x4, and then from the factory image (when in user mode), communicate with the same EPCQ device. The Cyclone V device will be receiving a firmware update over Ethernet that I'm looking to write to the flash device. I see within pin planner that the data pins are not assignable, which i presume is because they are dedicated for boot. For example, AS_DATA0 or pin AB4, is not assignable.
Is there a way to communicate with the flash device using the same pins that are used for boot? Or do i have to communicate in user mode via additional standard I/O pins? If the latter, I imagine the dedicated boot data[3:0] pins go into high-z, but I don't see this mentioned in the documentation. Can someone provide any insight into this? ThxLink Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The EPCS Serial Flash Controller Core also works with EPCQ but (currently?) only in x1 mode. They call it "EPCS/EPCQx1 Serial Flash Controller"
http://www.altera.com/literature/ug/ug_embedded_ip.pdf- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you ever resolve this issue? I am having this issue as well. It seems like the tool is not allowing me to assign these pins as user I/O after config as was possible in previous device families.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have recently been doing the same thing, and according to Altera it is not possible to use these pins directly in user mode.
However, the ALTASMI_PARALLEL IP can be used to access the flash. In my opinion, ALTASMI_PARALLEL has a lot of weaknesses:- It does not have a working simulation model.
- It is not well documented what is happening on the interface towards the flash.
- We found a problem with the sector erase command (which is supposed to be fixed in 13.1)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- I have recently been doing the same thing, and according to Altera it is not possible to use these pins directly in user mode. However, the ALTASMI_PARALLEL IP can be used to access the flash. In my opinion, ALTASMI_PARALLEL has a lot of weaknesses:
- It does not have a working simulation model.
- It is not well documented what is happening on the interface towards the flash.
- We found a problem with the sector erase command (which is supposed to be fixed in 13.1)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'll also add that the ALTASMI_PARALLEL block is just far too complicated for may uses.
All you need is a simple block to allow an Avalon master to bit-bang the interface. The most would be something to allow 32bit and 8bit reads/writes to be done an a single Avalon cycle. Everything else can be done with a very simple software interface - not based on the HAL code for the old EPCS flash controller which is a lot of library code that doesn't expose the interfaces the code needs.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page