Forum Discussion

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

Problems with creating a Nios II Application and BSP from Template in Eclipse

OK, I know I'm bleeding edge here (or maybe not so much).

I'm relatively new with using the Nios II Design Suite, though I've used Quartus with several other Altera boards. I probably did one project with Eclipse and the DE2 board back in Quartus II 7.x days.

I've upgraded my system to Windows 7. Got Quartus II 9.1, Nios II Embedded Design Suite 9.1 and Modelsim. Installed everything then had problems with using the Parallel Port BitBlaster. I now know this is a driver issue, so I'm going to work around that (use a USB BitBlaster). During this time I've worked on the Quartus side of the software (e.g. repair, modify, etc) only.

However, it did "work once" but now "not any more" deal. When I create a new project in Nios II Design Suite, I don't get the "nios ii application and bsp from template" option. It looks like the plain Eclipse deal. I did work once before (I have files to prove it) but now I don't get the option.

I've repaired, then removed/reinstalled Nios II EDS.

Anybody got any clues?

12 Replies

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

    Yes :

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

    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".

    Run Eclipse in XP sp2 compatability mode. I have administrator privileges. Say yes if 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 NioII Hardware, making sure you refresh the USB connection if needed (on extreme right of window if pops up).

    Should now all run.

    Best of luck.