Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12711 Discussions

DE10 Lite NIOS V jtag-terminal problem

ETang2
Beginner
1,120 Views

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

0 Kudos
16 Replies
JingyangTeh
Employee
1,044 Views

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


0 Kudos
ETang2
Beginner
1,031 Views

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

0 Kudos
JingyangTeh
Employee
943 Views

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



0 Kudos
ETang2
Beginner
931 Views

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

0 Kudos
JingyangTeh
Employee
821 Views

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


0 Kudos
JingyangTeh
Employee
782 Views

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


0 Kudos
ETang2
Beginner
770 Views

Hi, i was out of the office. I answer this week...

Regards

Eric

0 Kudos
ETang2
Beginner
737 Views

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

0 Kudos
JingyangTeh
Employee
647 Views

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


0 Kudos
ETang2
Beginner
623 Views

Hi, i'm using Quartus Prime 23.1std build 993.

Regards

Eric

0 Kudos
JingyangTeh
Employee
594 Views

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)

2025-04-16_10h44_10.png

 

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

 

 

 

0 Kudos
ETang2
Beginner
559 Views

Hi, i will try the 25.1 version but i don't know when i will have time to this.

Thank you very much for the help.

Regards

Eric

0 Kudos
ETang2
Beginner
558 Views

 But the last version i find to download is 24.1 standard not 25.1 which seems to be only for pro version.

Regards

Eric

0 Kudos
JingyangTeh
Employee
385 Views

HI


Sorry . The current 25.1 release is for the Pro version.

The 25.1 standard will be release around WW44.

Are you okay to wait till then?


Regards

Jingyang, Teh


0 Kudos
ETang2
Beginner
369 Views

Hi, WW44 means week 44 ?

I will wait.

Regards

Eric

0 Kudos
JingyangTeh
Employee
298 Views

Hi


Yes. week 44. It will be around late October.


I’m glad that your question has been addressed, I now transition this thread to community support. If you have a new question, Please login to ‘https://supporttickets.intel.com/s/?language=en_US’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.



Regards

Jingyang, Teh



0 Kudos
Reply