Forum Discussion

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

Nios II - Eclipse 9.1 quits when I try to make a new Hardware Run Configuration?

Hi,

I imported my first project in the Nios II 9.1 Eclipse Platform. It compiles inside the Eclipse GUI, but when I go to create a Hardware configuration the program simply quits without any error messages or indication of what happened when I click on New_configuration. When I restart and go back to the Run Configuration page the New_configuration is listed but quits again when I click on it.

Any ideas?

-Jennifer

4 Replies

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

    I haven't seen that one yet. I did have one problem with the Run Configurations when importing a project from the 8.1 build tools to 9.1. For some reason, the 8.1 tools had not appended the ".elf" extension to the ".elf" file and the Run Configuration depends on this ".elf" file extension. I modified the project properties to specify the ".elf" extension for the file. Not sure if it's related or not.

    The only thing I could think to try is to run the IDE in debug mode. Launch the IDE from the console and give it the -debug and -consolelog arguments. See this page for more info:

    http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/org.eclipse.platform.doc.user/tasks/running_eclipse.htm

    The hope of course is that it gives you something useful when it crashes.

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

    Thank you for the link, I am sure it will come in handy..

    I was just about to reply to my own post.

    It appears that if you use -O3 on you BSP it causes this behavior.

    I was randomly trying things and selected -O2 now the window opens and I can start editing the Run configuration but in the Project name: pull down for the Nios II hardware configuration my application project doesn't show up? Only my library project shows up.... So I am off randomly trying things again.

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

    The 9.1 Eclipse tools definitely feel like a Beta product to me. We need to be diligent in feeding this info back to Altera so they can get it all fixed.

    Jake