- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
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.
Link copiado
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Show your BSP settings. Did you add the jtag UART component in Platform Designer?
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hi there,
Any other suggestions? I still haven't debugged the issue.
Thanks
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hello there,
Yes I'd still like help with this matter. Thanks.
Best,
allens1
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
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
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
For your current design screenshot from your previous comment.
I think you didnt connect the data_master to the juart Ip
Thanks.
Regards,
Aik Eu
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hi there,
I connected the data_master to jtag ip and I can see the "Hello World" printing to the console. Thanks so much!
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hi allenS1,
Glad that the issue has been resolved. I will close the thread for now.
Thanks.
Regards,
Aik Eu

- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora