Altera_Forum
Honored Contributor
21 years agoNIOS II ISS Simulator error
Hi all,
I'm getting this error when running a simple application: the application works fine; at a given point I need to change the stack pointer to another (fresh, never used) location. At that point, I try to pop a word from the (new) stack, and I get the following error: cpu:nios2ModelRun: ERROR: [676037] load word access to address 0x1fff784 returned uninitialized memory (valid mask=0x0) I think the reason for this error is that the location was never written before, and so the ISS simulator gives an Error (that is more a warning than an error, isn't it?). I solved the issue simply wiping out all the memory from symbol "end" to the current value of the sp register, but I don't think that it is the best way to do O:-) Is it possible to disable that "unused memory" check on the ISS? Thanks, Paolo