Forum Discussion

Will_Mc's avatar
Will_Mc
Icon for New Contributor rankNew Contributor
2 years ago
Solved

Writing to the QSPI flash while in user mode

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.

3 Replies

  • FvM's avatar
    FvM
    Icon for Super Contributor rankSuper Contributor
    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.
  • tehjingy_Altera's avatar
    tehjingy_Altera
    Icon for Regular Contributor rankRegular Contributor

    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