- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, i implement a NIOS V processor in a DE10 Lite board. I program it using Ashling Riscfree. In this program i have a count value printed in the terminal each 0.5 s. All works fine except that in the jtag-terminal the values are not printed in "real time" but by packet of 32 values (each 32 values i insert a \n).
Any idea why the values are not print in real time ?
Thanks
Eric
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
For the printout in the jtag uart, is the logs appearing all at once?
What is the behavior of the printout? Is the printout constantly printout at a different interval than 0.5?
Regards
Jingyang, Teh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, i'm not sure what you mean by the logs.
The printout seems to be line by line (32 hex values) whereas in the program the printout is value by value. The value printedout seems to be many seconds late (the values are printedout both in the jtag-terminal and in the seven_segment display of the DE10).
If i use the same program running in a NIOS II, the values are printedout one by one at the same time than the seven_segment display.
Regards
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Could you share your Quartus project, BSP setting and your c code?
Did you selected the correct clock frequency for your design?
Regards
Jingyang, Teh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I'm not sure what you mean by "correct clock frequency for your design". I select 50MHz as it is the DE10Lite clock frequency.
Please find attached the zip directory of the project.
Regards
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Apologies for the late reply.
I have miss out this issue from my list.
From the look sof the BSP and the method you are printing it seems like it should print correctly.
Is there a screenshot of the printout issue that you are mentioning?
Regards
Jingyang, Teh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI
Do you have an update on this?
You mentioned that the printout is a bit delay, could you check in the BSP Setting the memory region for the JTAG UART is it defined as a Peripheral Region? If not could you change it to a Peripheral Region.
Regards
Jingyang, Teh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, i was out of the office. I answer this week...
Regards
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi thanks for the answers. I'm not sure to understand what you mean about the memory region for the JTAG UART.
In the NiosII project (see NiosII.mp4), the hex car are displayed on by one whereas in the NiosV project (see NiosV.mp4) the hax car are displayed line by line with the same program.
I can't figure out why ...
Regards
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Thanks for the video on the printout.
It seems strange that the NiosV is printing the values line by line.
Which Quartus Version that you are using?
Let me try to run a simple NiosV print out to see if this is happening on my end.
Regards
Jingyang, Teh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, i'm using Quartus Prime 23.1std build 993.
Regards
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Thanks for confirming.
I tried it on Quartus 24.3 and found the same behavior too.
However I tried it in Quartus 25.1 and it is solved.
For Quartus 25.1 they have added an option on the printout behavior. (by new character or by new line)
Is it okay if you migrate your design to Quartus 25.1std?
If not , is this behavior acceptable? Since the end result printout is the same.
Regards
Jingyang, Teh

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