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.
12435 Discussions

Cannot read IPENDING register!

Altera_Forum
Honored Contributor II
760 Views

Hi guys, 

I'm new to this niosII concept. I've only started working with it a week ago for my final year project. 

every code i wrote worked fine except when interrupts are required (i'm using internal interrupt controller) 

after debugging like 5 programs, i always find the same problem: I JUST CANNOT READ IPENDING REGISTER!!:confused:. 

to make sure, i wrote the following program: 

 

.text 

again: rdctl r23,ipending 

br again 

 

and i passed it to the monitor program, i've changed the ipending register's value randomly. NONE of the values wheye loaded to r23! 

is this a common problem? does anyone knows what to do??? 

i expect a fast respond as like i said i'm working on my final year project and every day counts 

 

thx in advance ;)
0 Kudos
0 Replies
Reply