Forum Discussion

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

Project Update (NIOS II IDE -> NIOS II SBT)

Hi everyone,

I am trying to update my project so then I can update some features.

This project was developed on Quartus v4.1 and NIOS II IDE. I am trying to update to v11.0

I converted all the components from SOPC Builder (classic) to Qsys...and everything went fine no errors.

Now I am not sure what I have to do to import my old project(NIOS II IDE) into the SBT eclipse. All that I found online was some what confusing.

I tried to do what I read online* but I got ta error, and also I am not sure how to use my libraries/code starting a new project as the online solution does.

Any help will be very welcome...tks (I am a beginner, so be patient...)

5 Replies

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

    Let me be more specific here...

    I am basically trying to port a NIOS II IDE project to the SBT, and I am trying to do so using the script below:

    nios2-convert-ide2sbt --input-dir=.../software/project1

    --output-dir=.../software_sbt

    --build-config=Release

    After running the script, I am getting a failing message: C:/altera/kits/nios2/compnents/altera_hal/build/app.mk: No such file or directory

    make: *** No rule to make target 'C:/altera/kits/nios2/compnents/altera_hal/build/app.mk'. Stop

    After these two lines of message I get a bunch of lines such "at com.altera.embededsw.convert.swproject...", and 4 make files get created in the output directory:

    -extract735593881111270515.mk

    -extract2541208479128725489.mk

    -extract3127138762486601969.mk

    -extract78493567471325407859.mk

    Can anyone help me to port my project in to the SBT properly???
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I keep talking to my self, but I believe this might be useful to somebody else...

    Well, one of the errors that I was having yesterday was because my make file was not pointing to the right directory. So I got the "No such file or directory" message out of the way.

    Now I am really stuck with a java error..I keep getting this message:

    Exception in thread "main" java.lang.RuntimeException: Failed to launch make command

    ..and the same make file get created on my output directory :mad:

    I dont know what else to do, I reinstalled Quartus and I kept getting the same message...ANY IDEAS????
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Which Java do you think I should be using. Do we have any Java (JRE)requirements for NIOS II SBT?

    Thanks for your time
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I quit trying to convert the project!!

    I started a blank project, and all went fine besides the upload. I am having problem to load the application into the FPGA.

    I have a feeling that the problem is based on my BSP file. The flash programmer cant get the System ID. Did anyone had this experience before?? What all I need to have in Qsys to set he system ID??

    Thank You very much