Forum Discussion

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

Altera Monitor Program compilation failed!

hi, guys, the error info is as follows:

/usr/bin/bash: e:/program: No such file or directory

/usr/bin/bash: nios2-elf-ld: command not found

Compilation stopped.

what's goin on? Nearly desperate, the tutorial is not helpful at all! or may be the tutorial is too old version.

thanks, guys

13 Replies

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

    --- Quote Start ---

    Hi grit,

    did you first download your Nios hardware (.sof file) in the FPGA before starting the Altera Monitor Program?

    --- Quote End ---

    Hi, Sanmao,

    The error msg has gone now. I guess it is because previously I clicked cancel on the window of "open core plus time: unlimited".

    Anyway, this error is gone already. However, a new problem just came, the lights.c is loaded into the cyclone II, but when I execute it using the Altera Monitor program, the LEDs didn't turn on when I toggled the switches...there is no error message occured during the execution either...

    What problem could it be this time?

    Thanks and regards
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    When I am trying to compile and load the getting_started_s program in University program, I am getting following error:

    nios2-elf-objcopy -O srec E:/altera/91/University_Program/NiosII_Computer_Systems/DE2/DE2_Basic_Computer/app_software/getting_started_s/getting_started.elf E:/altera/91/University_Program/NiosII_Computer_Systems/DE2/DE2_Basic_Computer/app_software/getting_started_s/getting_started.srec

    /usr/bin/bash: line 0: igncr: invalid option name

    I have reinstalled whole altera but still its giving the same error.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hello,

    I am trying to do following Tutorial:

    Using the SDRAM on Altera’s DE2-115 Board with VHDL Designs.

    This tutorial uses Altera Monitor Program software as application program.

    While compiling and loading in Altera Monitor Program, I am getting following similar error:

    /usr/bin/bash: nios2-elf-ld: command not found

    Compilation stopped.

    I tried the solutions discussed above in this thread but can't remove error.

    Any help?

    Thanks in advance