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

Nios II reading register via console

Honored Contributor II



I setup a Nios II system via Qsys and downloaded it. However I'm not able to run any program on it. The Debugger connects to the target but it does not break in main (). I suspect reset or clk problem and want to read/write some registers, memory, How can I do that? Is there any tool to read/write registers/memory manually? 

I found the System Console, which could provide this functionality. It connects to my system and shows it components. But I didn't found any hint how to use it, to solve my problem to read registers. 


Thank you  


0 Kudos
1 Reply
Honored Contributor II

System Console is described in this document: 


The examples start on page 10-28, and the descriptions on page 10-32 through page 10-35 sound most what you are looking for. 


Note that these are not NIOS processor registers, but are control registers in separate components in your system that are connected via Avalon-MM interface to the NIOS and the JTAG Avalon-MM Master components in your design.
0 Kudos