Hello,
I'm trying to run a simple "Hello World" program on Nios II.
I'm following these steps: https://www.intel.com/content/dam/support/us/en/programmable/support-resources/fpga-wiki/asset02/nios-ii-hello-world-a10.pdf
I've made to through all the steps of creating the design in platform designer, compiling, programming the design to the board (DE10-Lite), generating the BSP, and building the project in Eclipse with no issue. Even when I run the hardware configuration, I get no errors, but nothing prints to the Nios II Console. I've tried running a simple math program in the debugger, and it seems like the Nios CPU is executing instructions, but when it comes to printing to stdout, nothing shows up. When I open the run configuration window in the Target Connections section, I get the message "The expected Stdout device name does not match the selected target byte stream device name." How can I find the stdout device name? How can I find the selected target byte stream device name? How can I change either of these so that they match? I'm not sure how to fix this error or if it is even the source of why nothing is printing to stdout, but it's all I have right now. I'm using Quartus Lite Version 22.1
Any help is appreciated. Thanks.
連結已複製
Hi allenS1,
Did you use the juart-terminal to perform the operation?
Here I tested with NiosV hello world. You can download the design from the below:
First program the .sof file of the design to the FPGA.
Then run the NiosV command shell. (niosv-shell)
Then download the hello worl application file into the design in the ready_to_test_file folder. (niosv-download app_hal2.elf)
Then perform:
niosv-download -g
niosv-download -r
juart-terminal
You will able to see the Hello world application running.
Thanks.
Regards,
Aik Eu
