- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello everyone,
I'm encountering an issue while trying to assemble a Nios II program using the Nios II Command Shell. The specific error message I receive is:
```
nios2-elf-as.exe --gstabs -I "C:/intelFPGA_lite/21.1/nios2eds/components/altera_nios2/sdk/inc/" simple_program.s -o simple_program.s.o
/bin/sh: 1: nios2-elf-as.exe: not found
make: *** [amp.mk:79: simple_program.s.o] Error 127
```
I'm not sure if there's a specific step I'm missing or if there's an issue with my environment setup.
Could someone please guide me on how to resolve this issue? Any suggestions or insights would be greatly appreciated.
Thank you in advance for your help!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi csnsssn,
Did you run the Nios II command shell first in your terminal?
You can find the Nios II Command Shell.bat in the Nio2eds folder in your quartus installation file.
Thanks.
Regards,
Aik Eu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your suggestion.
I ran the Nios II Command Shell as you advised. I have also tried using the older version of the monitor program (version 18.1), and it successfully compiled the program. However, the issue persists with the newer version (21.1), and I'm still encountering the same error.
Any further guidance or suggestions would be greatly appreciated.
Thank you for your help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi csnsssn,
I am not familiar about the command(nios2-elf-as) which you are trying to run, it is the nios2-elf-ar as below?
Can you try the run other command in the Nios II terminal like sof2flash and see if it is being recognized by the terminal?
Thanks.
Regards,
Aik Eu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi csnsssn,
May I know any further follow up from the issue?
Thanks.
Regards,
Aik Eu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I followed your advice, and everything is working fine now. The issue has been resolved. I appreciate your assistance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi csnsssn,
Glad to know that the issue has been resolved. I now transition this thread to community support. If you have a new question, Please login to ‘https://supporttickets.intel.com/s/?language=en_US’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.
Thanks.
Regards,
Aik Eu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello sir i got the same error in my computer also can u resolve the issue sir
nios2-elf-as.exe --gstabs -I "C:/intelFPGA/23.1std/nios2eds/components/altera_nios2/sdk/inc/" simple_program.s -o simple_program.s.o
amp.mk:78: recipe for target 'simple_program.s.o' failed
/bin/sh: 1: nios2-elf-as.exe: not found
make: *** [simple_program.s.o] Error 127
i got this error in intel fpga monitor program
i am installed quartus prime 23.1 std version and installed 21.1 intel fpga monitor program because in intel fpga monitor program only two version are available 18.1 and 21.1 so give me clarity that version is supported for quartus 23.1 std version or because of version change only i got this error please give me relpy sir

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page