Forum Discussion

AKAYA's avatar
AKAYA
Icon for Occasional Contributor rankOccasional Contributor
6 years ago

error: cannot add flash programmer object file to the top level.

hi,

i am trying to program the QSPI flash. When am trying to download it using the JTAG through the programmer its giving the error saying cannot add flash programmer object file to the top level.

am trying to follow the steps from the manual

https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/an/an741.pdf

can someone please help me with this..

kindly waiting for the reply

9 Replies

  • ShafiqY_Intel's avatar
    ShafiqY_Intel
    Icon for Frequent Contributor rankFrequent Contributor

    Hi AKAYA,

    Can you provide the screenshot of the error (include the error ID code )?

    When you generate .pof file, did you choose mode "internal configuration"?

    And, if you are using Intel MAX 10 Dev kit, please set the SW2 to default value.

    Thanks

    • AKAYA's avatar
      AKAYA
      Icon for Occasional Contributor rankOccasional Contributor

      thanks for the reply...

      while generating the .pof file, according to the manual it should be set to 1-bit passive. so, i have set it to the same.

      other thing is am not using the Max10 Dev kit, am working on a customized board then how to set those switches?

      kindly waiting for the reply..

  • ShafiqY_Intel's avatar
    ShafiqY_Intel
    Icon for Frequent Contributor rankFrequent Contributor

    "should be set to 1-bit passive. so, i have set it to the same."

    In your custom board, did you using 512Mb CFI flash?

    The manual is based on MAX 10 Dev kit (have 512Mb QSPI flash). You need to select the correct QSPI based on your custom board.

    "am working on a customized board then how to set those switches?"

    The SW2 used to bypass JTAG and HSMC. You no need to worry is your board dont have this switch.

    Can you sent your screenshot of the error (include the error ID code )?

    Thanks

    • AKAYA's avatar
      AKAYA
      Icon for Occasional Contributor rankOccasional Contributor

      am using the max10 10M25SAE144C8G for my project.

      am attaching the screenshot of the error message below.

      kindly waiting for the reply...

      • AKAYA's avatar
        AKAYA
        Icon for Occasional Contributor rankOccasional Contributor

        can you let me know how to resolve this problem...

        kindly waiting for the reply...