Forum Discussion
Altera_Forum
Honored Contributor
14 years agoDE0 Nano - Problem using the provided examples
Hi,
i just received my DE0 Nano board and I've been trying the examples in the system CD. I've downloaded and installed Quartus 11.0sp1 + Nios II/Nios II GCC4 Toolchain. Every example works fine, except the myfirst_niosii example. When I execute the batch file, it programs the .sof file into the FPGA, but it is unable to to start the test_bashrc. Excerpt of test.bat: " "%QUARTUS_ROOTDIR%\bin\cygwin\bin\bash.exe" --rcfile ".\test_bashrc" " After the .sof file is programmed, it gives an error saying that it is unable to find the nios2-terminal and the nios2-download commands. From what I can understand these commands are called so that the hello_world_0.elf file is downloaded and run. Anybody can help me shed some light on this? Thanks in advance11 Replies
- Altera_Forum
Honored Contributor
Bumping an old thread, but this is the top result when I googled my problem and I figured someone might want this fix in future. The SOPC demo wasn't working, the problem can be fixed on windows by creating a DE0_Nano.sh file in the demo_batch directory with the following:
# file: nios2_sdk_shell_bashrc "$SOPC_KIT_NIOS2/nios2_command_shell.sh" nios2-download DE0_NANO.elf -c 1 -r -g "$SOPC_KIT_NIOS2/nios2_command_shell.sh" nios2-terminal -c 1 # End of file