Forum Discussion

meenalkb's avatar
meenalkb
Icon for Occasional Contributor rankOccasional Contributor
3 years ago
Solved

HAL API for the Generic Serial Flash Interface FPGA IP, 'altera_safeclib'

In the user guide for the Generic Serial Flash Interface (GSFI) it says "altera_safeclib" must be enabled in the BSP editor to use the HAL API for this device. With a Quartus 21.1 install and the a...
  • hareesh's avatar
    3 years ago

    Hi Meenalkb,

    To enable the Generic Serial Flash Interface (GSFI) use the HAL API and follow the below steps in Eclipse.

    1. BSP Editor->Nios II
    2. file paths of .sopcinfo and .bsp (new or old) in the open BSP window and click on open.
    3. A platform design window will be open in which you select the BSP software packages option. In that, just enable the altera_safeclib option.
    4. Select Generate BSP.

    once the BSP generation is completed. Check in the drivers->inc and drivers->src folders. for

    https://www.intel.com/content/www/us/en/docs/programmable/683419/22-1-20-1-1/nios-ii-hal-driver.html

    • intel_generic_serial_flash_interface_top.h
    • intel_generic_serial_flash_interface_top.c