Forum Discussion

Joda's avatar
Joda
Icon for New Contributor rankNew Contributor
3 years ago
Solved

missing altera_safeclib in BSP Software Package from BSP Editor

Hi fellows,

I am creating a FPGA project for the Cyclone 10 LP evaluation board.

The project is setup like shown below. I would like to write to the external flash with the NIOS2 softcore.

You see - no rocket science here. My problem now is that I cannot enable the altera_safeclib in the BSP editor, because it is not available (see picture below). However, this is required according to https://www.intel.com/content/www/us/en/docs/programmable/683419/22-1-20-1-1/nios-ii-hal-driver.html.

Any help is appreciated

Are any examples around, where the NIOS2 writes to the external flash by utilizing the Intel Generic Serial flash?

Greets

  • Here is the settings for the GSFI IP.

    Hope it helps.

    Thank you.

    Regards,

    Kelly Jialin, GOH

4 Replies

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

    Hi,

    The GSFI IP needs to be enabled with the following settings (refer to picture below. Next, regenerate the .sopcinfo file and you should be able to see the altera_safeclib.


    If you are still unable to see the altera.safeclib, it might be due to the software is not updated to the latest version.


    We do have a design example but it is targeted on the Cyclone V board instead for your reference : https://www.intel.com/content/www/us/en/design-example/714709/cyclone-v-generic-serial-flash-interface-and-nios-ii-booting.html?


    Thank you.


    Regards,

    Kelly Jialin, GOH


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

    Here is the settings for the GSFI IP.

    Hope it helps.

    Thank you.

    Regards,

    Kelly Jialin, GOH

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

    thank you. considering the settings and the regeneration of the .sopcinfo solved my problem

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

    Hi,

    I’m glad that your question has been addressed, I now transition this thread to community support. If you have a new question, 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.


    p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer or rate 9/10 survey.


    Regards,

    Kelly Jialin, GOH