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

Writing to nios reset vector

Honored Contributor II



I have just found rather stupid bug when I was dereferencing NULL pointer and had a nios reset.  

I'm actually need some help to clarify (for better understanding nios) what actually happend and how nios is reseting. 


Some example code.  


some_struct_type1 * a = NULL; 

some_struct_type2* struct1 = a->p_struct1; 

*(struct1->p_int) = 0xfeed; 


So why I have restart and not simple memory corruption?
0 Kudos
0 Replies