Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16216 Discussions

generic fpga HAL driver API source code availability

gflood
Employee
336 Views

Hi guys,

 

i'm a newbie to this frum and am not really sure if this is he place for this...

 

does anyone know if the intel_gsfi source code is avaible for download for intel projects...

* 1. Open the Generic Serial Flash Interface Intel FPGA IP
* 2. Read flash info                   - intel_gsfi_get_info()
* 3. Select flash device               - intel_gsfi_chip_select()
* 4. Write data                        - intel_gsfi_write(), intel_gsfi_write_block(), intel_gsfi_read()
* 5. Lock the flash                    - intel_gsfi_lock()
* 6. Attempt to erase the locked flash - intel_gsfi_erase_block()
* 7. Unlock the flash                  - intel_gsfi_lock()
* 8. Re-attempt the failed erase       - intel_gsfi_erase_block()
* 9. Configure the GSFI IP             - intel_gsfi_config()
 
would be nice if it was available for download to be used in my project.
0 Kudos
6 Replies
gflood
Employee
328 Views

id even settle for a lib file for ubuntu....

 

g

0 Kudos
KellyJialin_Goh
Employee
293 Views

Hi,

Do check out this link to enable the GSFI HAL API: https://www.intel.com/content/www/us/en/docs/programmable/683419/21-2-20-1-1/nios-ii-hal-driver.html


You will need to Enable altera_safeclib in BSP Software Package from BSP Editor to use the HAL API.

1.To enable the altera_safeclib, these are the GSFI IP parameters that you will need to set with the photo attached below.


2.Regenerate the .sopcinfo file and you should be able to see the altera_safeclib on the software package.


Thank you.

Regards,

Kelly Jialin, GOH


0 Kudos
KellyJialin_Goh
Employee
292 Views

KellyJialin_Goh_0-1667283939395.png

Here is the parameters that you will need to set for the GSFI IP to allow the altera_safeclib.

Thank you.

 

Regards,

Kelly 

0 Kudos
KellyJialin_Goh
Employee
271 Views

Hi,

Is the steps I mentioned helpful to you?


Regards,

Kelly


0 Kudos
KellyJialin_Goh
Employee
254 Views

Hi,

Any updates from your side?


Regards,

Kelly


0 Kudos
KellyJialin_Goh
Employee
240 Views

Hi,

As we do not receive any response from you on the previous answer that we have provided. 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.


Thank you.

Regards,

Kelly Jialin, GOH


0 Kudos
Reply