Forum Discussion

HamzahS's avatar
HamzahS
Icon for New Contributor rankNew Contributor
2 years ago

Nois V Command Shell Error

Hello,

I've implemented Nios V/g in Quartus Prime Standard Edition 23.1std. I want to create the bsp project using the following command:

niosv-bsp -c --quartus-project=TEST.qpf --sopcinfo=sys_module.sopcinfo --type=hal sw/bsp_custom/settings.bsp

I get the following erros:

Error: Unrecognized switch <b>quartus-project</b>
Error: Failed to validate switches.

I tried many forms of the command, but I still get the error.

Kindly advise on how to solve this issue.

Thanks,

3 Replies

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

    I've run afoul of this as well. There seems to be a discrepancy between the command-line arguments referenced in the docs, the commands that niosv-bsp claims to support and actually available in niosv-bsp.

    The solution for now: try leaving out the --quartus-project switch. It's not necessary

    niosv-bsp -c -s=sys_module.sopcinfo -t=hal sw/bsp_custom/settings.bsp
    • HamzahS's avatar
      HamzahS
      Icon for New Contributor rankNew Contributor

      I've tried this and it worked to generate the BSP, thanks a lot.

  • tehjingy_Altera's avatar
    tehjingy_Altera
    Icon for Regular Contributor rankRegular Contributor

    Hi


    Since this thread been resolve, I shall set this thread to close pending. If you still need further assistance, you are welcome to reopen this thread within 20days or open a new thread, some one will be right with you. 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.


    If you happened to close this thread you might receive a survey. If you think you would rank your support experience less than 4 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.


    Regards

    Jingyang, Teh