Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
1,235 Views

JTAG UART in Windows

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 I
99 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
Altera_Forum
Honored Contributor I
99 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
Altera_Forum
Honored Contributor I
99 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.
Altera_Forum
Honored Contributor I
99 Views

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

 

Is this possible ?
Altera_Forum
Honored Contributor I
99 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
Altera_Forum
Honored Contributor I
99 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
Altera_Forum
Honored Contributor I
99 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.
Reply