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/s hang and jump to exception

Altera_Forum
Honored Contributor II
924 Views

Hi, 

 

I'm using NIOS II/s on CyclonV. 

My system contain 2 uarts (Baud Rate 115200) and one timer which tick every 20mSec. 

From time to time the nios hang and only restart help. 

When using the debugger and pausing it after the Nios hang the program in excption handler IRQ. 

I checked the program for memory leakage and divide by zero... and found nothing. 

I will appriciate for advises how to find the root cause. 

 

Thanks, 

Erez
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
201 Views

Any news? 

I'm confronting NIOS hangs too - but with other setup. 

How did you overcome it??
Altera_Forum
Honored Contributor II
201 Views

Hi, 

 

I found out that each time I change the NIOS code it change the behavior of the "hanging" 

So it's hard to find the root couse. 

The thing that solved the problem was: 

1. Shorting the time the nios spent in interrupt to minimum. 

2. I found a line in the code that read from memory that not exist. 

 

Good luck, 

Erez
Reply