- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, my intention is to read data from NIOS memory (e.g. onchip RAM or SRAM) via the NIOS2 Command Shell. I have running a script and want to read at a special memory address, which is written by the Nios II processor. I think there must be a possibility to "upload" data from the Command Shell, because the "nios2-download" command executes a verify after downloading data to memory. Does anybody have experience with this topic? In other words, I'm looking for a possibility to change information between a running Nios II SW and my script (a simple print to terminal is not helpful). Greetings
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
you could use a simple UART-based protocol between your host machine (PC with a skript, or C-Code) and the NIOS.
The most simple implementation is to use putchar and getchar?!- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would suggest using the System Console for that. You can read and write directly to any Avalon component (such as the on-chip memory) using simple TCL commands. Have a read at the document https://www.altera.com.cn/zh_cn/pdfs/literature/hb/qts/qts_qii53028.pdf
At page 10-16 there are many examples on how to use this tool including how to read/write to on-chip memory. Regards, Thiago
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page