Forum Discussion

Patrik78's avatar
Patrik78
Icon for New Contributor rankNew Contributor
1 year ago

CFI 32-bit programming

Hello,

I'm trying to program a CFI 32-bit flash, composed by 2 16-bit flash in a parallel configuration, , using quartus_pgm/Nios Flash programmer (Quartus 18.1). Flash memories use AMD command set.

I set up a nios2 with a generic tristate controller that seems correctly configured and load at FPGA power on.

In fact the raw CFI table read by the programmer seems to be ok.

Any ideas of why this error is happening ?

Here a screenshot after the command "quartus_pgm --nios2 --base=0x800000 --program" is sent to the shell.

Thank you in advance. 

10 Replies

    • Patrik78's avatar
      Patrik78
      Icon for New Contributor rankNew Contributor

      Hi,

      the configuration you suggest is using a max cpld to program the CFI and this is not what I have in my Hardware.

      I've only a Cyclone V connected to the external 32 bit CFI Flash and I would like to program it by Nios Flash programmer.

      Is the 32 bit (16+16) with AMD command set actually supported by Nios Flash Programmer ?

  • tehjingy_Altera's avatar
    tehjingy_Altera
    Icon for Regular Contributor rankRegular Contributor

    Hi


    As we do not receive any response from you on the previous question/reply/answer that we have provided. Please login to ‘https://supporttickets.intel.com/s/?language=en_US’, 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.


    Regards

    Jingyang, Teh


    • Patrik78's avatar
      Patrik78
      Icon for New Contributor rankNew Contributor

      I'm not using PFL, I'm trying to use Nios Flash Programmer.

      Is the 32 bit CFI (16+16 configuration) with AMD command set actually supported by Nios Flash Programmer ?

  • tehjingy_Altera's avatar
    tehjingy_Altera
    Icon for Regular Contributor rankRegular Contributor

    Hi


    Just to mention if you are trying to run the Nios from a combine 16+16 bit, it is not possible to run the Nios. It can only be run out from one 16 bit CFI.


    For flashing other than the Max10 the CFI will need to be program by an external programmer. Only the Max10 got the CPLD that is able to connect to the CFI.


    Regards

    Jingyang, Teh



  • tehjingy_Altera's avatar
    tehjingy_Altera
    Icon for Regular Contributor rankRegular Contributor

    Hi


    As we do not receive any response from you on the previous question/reply/answer that we have provided. Please login to ‘https://supporttickets.intel.com/s/?language=en_US’, 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.


    Regards

    Jingyang, Teh