Forum Discussion
Altera_Forum
Honored Contributor
14 years agoJTAG 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 Republic7 Replies
- Altera_Forum
Honored Contributor
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
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
--- 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
But I need to choose the text and copy to file ....
Is this possible ? - Altera_Forum
Honored Contributor
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
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 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.