Forum Discussion

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

No NIOS II hardware option in Eclipse

Hello there, I am following this guide (http://www.emb4fun.de/fpga/niosii2/index.html) on how to set up NIOS II processor for the the Altera DE1 board and then program it with the RT kernel ChibiOS. Unfortunately I am stuck on the step "How to Debug" since the option for debugging the software as NIOS II Hardware is not there and when I try to upload the .elf file with the help of the GUIs run button i get the following error message: http://www.alteraforum.com/forum/attachment.php?attachmentid=12504&stc=1

When I build the program I do not get any errors so I would assumed that it should work, so I tried to run the program but there is no option to actually run it on the NIOS II Hardware in the GUI so I went into the command shell and entered the following command: nios2-download -r -g <software.elf>; nios2-terminal

And guess what? It actually works runs....

So how do I get the GUI uploading and debugging to work since that is pretty much what the IDE should be for mostly right? Here is a picture of what I mean http://www.alteraforum.com/forum/attachment.php?attachmentid=12505&stc=1 there should be an option to run it as NIOS II Hardware.

Here is a link where a guy is having the same problem but with no solution...

http://www.alteraforum.com/forum/showthread.php?t=30848

1 Reply

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

    Have you a valid Nios licence? If you don't and you use Nios in OpenCores evaluation mode, after you have configured the fpga you need to keep the JTAG connected (don't close the final message box); otherwise the Nios core would stop working and you possibly get those error.