Forum Discussion

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

I really need some help about the "Creating Multiprocessor Nios II Systems"Tuturial

:p Hi,

everyone.

I really need some hints.No matter how hard I try,I can never execute the "Creating Multiporcessor Nios II Systems " sucessfully on the hardware.

I have tried the following ways:

1.Following the tuturial,I use the shell to generate the files and then import them to the SBT Eclipse(10.0).After build it ,I can not find "run on hardware" on the "run" Tab;

2.In Eclipse,I create a new project and directly copy the application source code to the project. I choose "microC/os" and"niche" for the BSP.But when I build it ,it is said that many heads files can not be found.For example ,the file "altera_avalon_pio_regs.h";

3.Then I try to use IDE(9.1) because I have successfully execute several programs in the IDE before. I create a project and copy the source file into it.Then when I complie it ,the error happens:

"ERROR - Nios II system libraries in the IDE development flow do not support an external interrupt controller port on the Nios II.

Use the Nios II software build tools development flow instead."

Then I download the SP2 for both QuartusII and EDS and try it again.But the error is still there.

I have spent a lot of time on it but still did not figure it out .Can anyone give me any kind of clue and hint? I will really appreciate that .Thanks !!!:D

5 Replies

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

    the clue is there, isn't it? you can't use Nios IDE because it will not be supported going forward. you must use the Nios II Software Build Tools to use that particular component

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

    Hi,

    Thank you for your reply.But you can check the SP2.It is said that the SP2 adds the support for the interrupt controller. I tried the eclipse,but it seemed that the application always can not find the necessay files in the BSP.I do not know why...
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    :D :D :D very complicated indeed, never got it to run , have not tried it for a while :mad:

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

    It is not very complicated.

    But my problem is that ,in eclipse, it seems that I can not create the necessary BSP well compared with in the IDE.But in IDE,it seems that the interrupt controller is not supported.

    Does anyone successfully execute this tutorial?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi,I think finally I figure it out.When I use eclipse 9.1 ,I could not find "Nios II application and BSP from template".So I give up 9.1 and use 10.0 instead.However, the files in the tuturial seems to be 9.1 version and when I open the BSP editor in 10.0,in the Drivers Tab,nearly all the drivers have not been found.

    So I just uninstall all the Altera Sofeware and delect the remaining files,and then I download and install version 9.1 again.Now I can build successfully!