Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12453 Discussions

Nios II reading register via console

Altera_Forum
Honored Contributor II
889 Views

Hi, 

 

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  

 

Tom
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
119 Views

System Console is described in this document: 

http://www.altera.com/literature/hb/qts/qts_qii53028.pdf 

 

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.
Reply