Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20693 Discussions

Writing to the QSPI flash while in user mode

Will_Mc
Beginner
355 Views

We have a question on the Agilex fpgas, AGIB027R31B2I2V. It is not clear if the FPGA can write to the external prom in ASx4 mode without a JTAG connection. UG-20205 section 3.2.1 shows the AS Configuration Scheme, which we follow. We will use the quartus prime programmer to program through the SDM of the FGPA to the flash memory on the board. UG-20205 Section 2.1 Figure 4 shows the Intel Agilex Configuration Timing Diagram. On power on, the MSEL pins are sampled. Our MSEL pins are setup for ASx4 Fast. At this point the FPGA is configured from the flash device, which is a read process from the flash. After this the FPGA is initialized and in user mode. While in User Mode, is it possible for the FPGA to write to the flash device? In this case, the JTAG pod is NOT attached to the board.

Labels (1)
0 Kudos
1 Solution
JingyangTeh
Employee
276 Views

Hi


Yes you are able to like what the previous comment mentioned.

You could add the Generic Serial Flash Interface IP into your design and you could read or write to the Flash device in user mode.


https://www.intel.com/content/www/us/en/docs/programmable/683419/23-1-20-2-3/user-guide.html


Regards

Jingyang, Teh


View solution in original post

3 Replies
FvM
Valued Contributor III
333 Views
Yes, you can write configuration flash in user mode. All remote update examples do. Look for Generic Serial Flash Interface IP, alt_asmi or ASMI II IP.
JingyangTeh
Employee
277 Views

Hi


Yes you are able to like what the previous comment mentioned.

You could add the Generic Serial Flash Interface IP into your design and you could read or write to the Flash device in user mode.


https://www.intel.com/content/www/us/en/docs/programmable/683419/23-1-20-2-3/user-guide.html


Regards

Jingyang, Teh


JingyangTeh
Employee
252 Views

Hi


Since this thread been resolve, I shall set this thread to close pending. If you still need further assistance, you are welcome to reopen this thread within 20days or open a new thread, some one will be right with you. Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.


If you happened to close this thread you might receive a survey. If you think you would rank your support experience less than 4 out of 10, please allow me to correct it before closing or if the problem can’t be corrected, please let me know the cause so that I may improve your future service experience.


Regards

Jingyang, Teh


0 Kudos
Reply