Forum Discussion
Access Configuration Flash pins via Deneric Serial Flash IP- can't assign them via Pin Planner
Hey,
I have burned .sof(The FPGA program) and .hex (some parametrs that I have been created) files into the configuration flash (via JIC file).
my FPGA program uses the Generic Serial Flash IP and I'm trying to read the .hex file parameters but I can't assign the Configuration Flash's pins into the the FPGA design. I got the error "Value entered is not a valid location".
I would like to get some help here'
Thanks
6 Replies
- MathiasB
Occasional Contributor
Hi,
Are you using the Generic Serial Flash Interface IP?
If that is the case, you do not need to manually assign the pins: just leave unchecked the parameters about the ASMI interface and QSPI pins (I don't remember how they are exactly called). Quartus is going to automatically connect the IP to the Active Serial Configuration pins (check the compilation report to be sure).
- Gyud0
Occasional Contributor
Yeah, I'm using this IP.
How can I use those Altera's reserved pins after the configuration process(in User mode) ?
- MathiasB
Occasional Contributor
Go to "assignments" > "device & pins options"
Then in "configuration," make sur you have selected "active serial" (or "active serial x4"). In "dual purpose pins", put everything to "user i/o".
Then you will be able to use those pins in user mode.- Gyud0
Occasional Contributor
I see only the Data[15...8] and Data[7...0] in the "dual purpose pins" tab :
I don't see the Flash pins such as Dclk, ncs AS Data[3...0]
- MathiasB
Occasional Contributor
Ah yes you're right.
I assumed that, based on the message at the top of the window, Quartus was automatically refering to the configuration pins for the selected configuration mode.
So either the AS pins are available by default as user I/Os in User mode, or the setting for this behaviour is elsewhere...
However I do not know of other settings about this. In a design, I use the AS configuration pins as user I/Os to access a QSPI flash (just as you do) and it works. Only thing is that I program the FPGA with JTAG (.sof file) and not actual active serial, despite the Quartus settings.
Is it possible for you to try?