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++

JTAG UART in Windows

Altera_Forum
Honored Contributor II
1,887 Views

Hello, 

 

does somebody have some sw. application for Windows (something like Hyperterminal, Hercules etc.), which can read data from jtag uart, or write to jtag uart ? 

 

I found simple program with c source code and dll library in Altera forum (included in attachement - from another thread), but i need to save some data from jtag uart to file in pc and make some analyses, so i had to changed source code and compile ... but i am not familier with c programming for windows... 

 

Thank you for your answer. 

 

Jan Naceradsky, Czech Republic
0 Kudos
7 Replies
Altera_Forum
Honored Contributor II
751 Views

In niosii,you can send characters via Jtag by printf() function. 

Can't you accept that? 

Just print what you want to see in niosii c-program 

 

Or you can also use insystem memory content editor. 

Just store data what you want into on-chip memory. 

And read it via jtag as hex data. 

How to use it is below. 

http://www.akiron.com/fpga/insystemmemoryprogram.zip
0 Kudos
Altera_Forum
Honored Contributor II
751 Views

Thank you for answer, but i would need the sw. like hyperterminal or hercules for pc (windows xp etc.), which read jtag uart. 

 

So i tried InSystemMemory Content Editor, but in instant manager is written - no instances found, i load my nios2 design .sof with sdram, uart, jtag, led, lcd etc... 

 

Where is error ?  

Or is some another tool to read jtag uart ?  

 

Thanks. 

 

Jan
0 Kudos
Altera_Forum
Honored Contributor II
750 Views

 

--- Quote Start ---  

but i would need the sw. like hyperterminal or hercules for pc (windows xp etc.), which read jtag uart. 

 

--- Quote End ---  

 

Why not nios2-terminal ? 

It works exactly the way you want.
0 Kudos
Altera_Forum
Honored Contributor II
750 Views

But I need to choose the text and copy to file .... 

 

Is this possible ?
0 Kudos
Altera_Forum
Honored Contributor II
751 Views

Sure, you can paste and copy from terminal window. 

Another simple solution is redirecting terminal output to a file. 

e.g. : nios2-terminal >dump.dat
0 Kudos
Altera_Forum
Honored Contributor II
751 Views

Oh yes, on the left side up on the window when i click to the icon is menu, where i can select all or choose the text and copy to clipboard ... great ! 

 

Sorry, I didnt know about this. 

 

The second choice is good too, i will try it. 

 

Thank you. 

 

Jan
0 Kudos
Altera_Forum
Honored Contributor II
751 Views

I wrote a simple nios2-terminal monitor and logger. 

You can do a little more than command redirection with it. 

I hope you find this useful.
0 Kudos
Reply