Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
13 years ago

‘Nios II Application and BSP from Template’ not available

Hello,

I am new in this forum; I have checked but apparently nobody had a problem similar to mine:

I installed the Quartus Web Edition, which includes NIOS II 11.1sp2 Software Build Tools for Eclipse. I read in the user manual that it is possible to create an application by pointing to ‘New’ on the ‘File’ menu and then doing click on ‘Nios II Application and BSP from Template’; however I cannot find that option when using the Nios Software build Tool included with the Quartus software. How can I solve this? I tried creating a normal C++ project, but then I cannot assign the Quartus .sopcinfo file to the project.

Does someone know how I can solve this?

17 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Try running NIOS II EDS with "Run As Administrator" method.

    Looks like it requires Administrator rights when run for the first time ...

    Jari
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi,

    aha ur running under win7, which Quartus version are u using?

    Here i'm running Quartus 9.1 under WinXp, but at another PC with Win7 i needed to install Quartus 11 to get the NIOS environment running.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Just last week we had this similar problem in Windows 7 64-bit workstation with a fresh Quartus II 11.1sp1 installation, all NIOS II related menu items and perspective were missing.

    Then we ran the NIOS EDS with Run As Administator method and all the NIOS II items were available.

    After that there was no need to use that Run As Administrator method anymore, all the NIOS II items were available when the NIOS EDS was started normally ...

    Jari
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I have un-installed all Altera packages, wiped all remaining Altera files, re-booted, and re-installed.

    Now I get the NIOSII menu items.

    Can create the BSP but still having trouble creating the application.

    At the moment it is failing to find main.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi

    i get this message a lot and normally my project runs fine anyway.

    Is an .elf file created if you compile?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The problems I was having appear to be due to being on a Windows 7 64 bit system, and having pre-existing earlier Altera systems.

    First problem : Eclipse does not connect to the NiosII systems at all.

    Second problem (when it does connect) it produces a .bsp but no application, , no .c file, no .elf.

    This is what I have found :

    If working in Windows 7 64bit :

    If you don't see a NiosII menu item on the Eclipse IDE,

    or File => Run -> Nios II C/C++ Application and BSP from Template :

    Un-install ALL Altera packages, delete ALL Altera files, reboot, re-install NiosII with Eclipse.

    Then one should have the NiosII menu items, including "Nios II C/C++ Application and BSP from Template".

    If you get a .bsp but no application :

    Run Eclipse in XP sp2 compatibility mode. Set administrator privileges if you don't already have them. Say yes if you get a run confirm window.

    Then run "Nios II C/C++ Application and BSP from Template".

    Should now run through OK.

    Build Application (right click).

    Use NiosII => Quartus II Programmer menu item to connect to hardware, upload .sof file.

    Run application as NiosII Hardware, making sure you refresh the USB connection if needed (on extreme right of window if pops up).

    Should now run OK.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thanks a lot,

    I was thinking of downloading QV12 sp2 :(

    The real problem was administrator privilege , once you run in admin mode

    things are working fine:).