Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12745 ディスカッション

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

meenalkb
初心者
6,760件の閲覧回数

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 accompanying NIOS II Software Build Tools for Eclipse I've searched through the BSP Editor UI and can't this setting at all. Also, when I generate the Eclipse BSP from my sopcinfo file, there are no HAL driver files generated for the GSFI.

Does anyone know how I can enable HAL support for this IP?

 

0 件の賞賛
1 解決策
hareesh
従業員
6,705件の閲覧回数

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



元の投稿で解決策を見る

27 返答(返信)
hareesh
従業員
6,706件の閲覧回数

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



meenalkb
初心者
5,015件の閲覧回数

meenalkb_0-1655457090123.png

As you can see, I don't see the altera_safeclib option under Software Packages. What now? 

hareesh
従業員
5,004件の閲覧回数

can you share screen shot of that ?

meenalkb
初心者
4,997件の閲覧回数

I did include a screenshot - perhaps you can't see it. I've attached one now.

hareesh
従業員
4,990件の閲覧回数

MicrosoftTeams-image.png

gsfi ip need enable setting then regenerate sopcinfo then should see altera_safeclib

meenalkb
初心者
4,983件の閲覧回数

Hmm tried that.

That makes no difference whatsoever.

hareesh
従業員
4,978件の閲覧回数

which version are you using?

meenalkb
初心者
4,976件の閲覧回数
hareesh
従業員
4,938件の閲覧回数

Screenshot (45).png

also tested in Quartus 21.1. That option is available in Quartus 21.1. I think the problem is in software only. It's better to re-install or update the software.

hareesh
従業員
4,914件の閲覧回数

can you pls share your platform_design

meenalkb
初心者
4,892件の閲覧回数

Hi @hareesh ,

 

I've attached the .qsys and the .sopcinfo. 

I don't know if this is relevant but the IP cores were originally from a Quartus Prime 18.1 design and have been upgraded by the tool to 21.1.


Thanks.

hareesh
従業員
4,870件の閲覧回数

Hi, MEENAL BURROWS,

We have tried reproduce the issue with your shared files but we couldn't reproduce it. There no issue in our environment. Attaching a snapshot of project where you can see the option is available in our environment.  we require remote access of your machine to debug this issue further

 

 

Annotation 2022-06-22 152943.png

 

 

Thanks & regards,

Hareesh B

 

meenalkb
初心者
4,858件の閲覧回数

Thank you for checking this on your setup Hareesh.

Can we arrange a session to debug this issue on my machine?

meenalkb
初心者
4,841件の閲覧回数

@hareesh 
Are there special licensing requirements for the Generic Serial Flash Interface IP? I have tried this on a different machine with no luck.

I really only want the source files for information purposes. Would you be able to zip and send these to me via email?

hareesh
従業員
4,826件の閲覧回数

Hi meenalkb

you can find IP license details in IP user guide. please find a attachment for project source files.

hareesh
従業員
4,796件の閲覧回数

Hi meenalkb,

Since I had provided you the solution and did not received any feedback from you, I shall set this case to close pending. If you still need further assistance, you are welcome reopen this case within 20days or open a new case, some one will be right with you.

 

I shall set this case to close pending,

 

If you happened to close this case you will receive a survey. If you think you would rank your support experience less than 10 out of 10, please allow me to correct it before closing or if the problem can’t be corrected, please let me know the cause so that I may improve your future service experience.

 

 

Thanks,

Best regards,

Hareesh B.

meenalkb
初心者
4,785件の閲覧回数

Hi Hareesh,

 

Thank you for sharing the source files, that's very helpful.

 

However, it would really help me to understand why my Quartus 21.1 install is behaving as it is. I requested a remote session in a previous ticket and I'd be happy to go ahead with this if you can arrange it.

 

Thanks

Meenal

hareesh
従業員
4,757件の閲覧回数

hi

can you please check on another machine. 

meenalkb
初心者
4,740件の閲覧回数

Hi Hareesh

Yes, I did check on a colleague's machine and had the same problem.

 

hareesh
従業員
4,736件の閲覧回数

did you checked with i shared files?

返信