Forum Discussion
Altera_Forum
Honored Contributor
16 years ago --- Quote Start --- those binaries (nios2-elf*) are located in the Nios EDS install (rather than Quaruts), so i'm not sure why they aren't found. try opening a Nios Command Shell and type nios2-elf-gcc and see if the command is found. --- Quote End --- hello, this error disappeared after I re-install the quartus II 9.0 and Nios II 9.0SP2 IDE to another correct path, but new error msg appear as shown in my new thread: nios2-elf-gcc -g -o1 -ffunction-sections -fverbose-asm -fno-inline -mno-cache-volatile -mno-hw-mulx -mno-hw-mul -mno-hw-div -id:/fyp_extra/nios2eds/components/altera_nios2/hal/inc -dsystem_bus_width=32 -dalt_single_threaded -d_jtag_uart_base=0x00003020 -wl,--defsym -wl,nasys_stack_top=0x2000 -wl,--defsym -wl,nasys_program_mem=0x1000 -wl,--defsym -wl,nasys_data_mem=0x1000 -wl,--section-start -wl,.exceptions=0x1020 -wl,--section-start -wl,.reset=0x1000 -wl,--script=d:/fyp_extra/nios2eds/bin/monitor/build/nios_cpp_build.ld -o d:/fyp_extra/sopc_builder_tutorial/app_software/lights.elf d:/fyp_extra/sopc_builder_tutorial/app_software/lights.c d:/fyp_extra/nios2eds/bin/monitor/lib/jtag_uart.c
d:/fyp_extra/sopc_builder_tutorial/app_software/lights.c: in function `main':
d:/fyp_extra/sopc_builder_tutorial/app_software/lights.c:4: warning: return type of 'main' is not `int'
d:/fyp_extra/sopc_builder_tutorial/app_software/lights.c:6:2: warning: no newline at end of file
elf generated at d:\fyp_extra\sopc_builder_tutorial\app_software\lights.elf.
nios2-elf-objcopy -o srec d:/fyp_extra/sopc_builder_tutorial/app_software/lights.elf d:/fyp_extra/sopc_builder_tutorial/app_software/lights.srec
srec generated at d:\fyp_extra\sopc_builder_tutorial\app_software\lights.srec.
using cable "usb-blaster [usb-0]", device 1, instance 0x00
resetting and pausing target processor: failed
leaving target processor paused
nios2-elf-gcc -g -o1 -ffunction-sections -fverbose-asm -fno-inline -mno-cache-volatile -mno-hw-mulx -mno-hw-mul -mno-hw-div -id:/fyp_extra/nios2eds/components/altera_nios2/hal/inc -dsystem_bus_width=32 -dalt_single_threaded -d_jtag_uart_base=0x00003020 -wl,--defsym -wl,nasys_stack_top=0x2000 -wl,--defsym -wl,nasys_program_mem=0x1000 -wl,--defsym -wl,nasys_data_mem=0x1000 -wl,--section-start -wl,.exceptions=0x1020 -wl,--section-start -wl,.reset=0x1000 -wl,--script=d:/fyp_extra/nios2eds/bin/monitor/build/nios_cpp_build.ld -o d:/fyp_extra/sopc_builder_tutorial/app_software/lights.elf d:/fyp_extra/sopc_builder_tutorial/app_software/lights.c d:/fyp_extra/nios2eds/bin/monitor/lib/jtag_uart.c
d:/fyp_extra/sopc_builder_tutorial/app_software/lights.c: in function `main':
d:/fyp_extra/sopc_builder_tutorial/app_software/lights.c:4: warning: return type of 'main' is not `int'
d:/fyp_extra/sopc_builder_tutorial/app_software/lights.c:6:2: warning: no newline at end of file
elf generated at d:\fyp_extra\sopc_builder_tutorial\app_software\lights.elf.
nios2-elf-objcopy -o srec d:/fyp_extra/sopc_builder_tutorial/app_software/lights.elf d:/fyp_extra/sopc_builder_tutorial/app_software/lights.srec
srec generated at d:\fyp_extra\sopc_builder_tutorial\app_software\lights.srec.
using cable "usb-blaster [usb-0]", device 1, instance 0x00
resetting and pausing target processor: failed
leaving target processor paused
what can i do? thank you