 Question:
Error Message
" Illegal memory access-outside valid range " ?
Answer: The reasons are :
- Incompatibility between the memory declared in your "
emuinit.cmd " file (for the emulator) or the " siminit.cmd " file (for the simulator) and your linker command file. You are in fact
accessing memory that is not defined in the ma command list or you are accessing processor
reserved memory.
Simulators are more strict in detecting invalid memory accesses
than emulators. In an emulator unless you are single-stepping, the emulator doesn't check
if you are accessing invalid memory. If that invalid memory is on-chip or depending on
your external memory interface, the device may return back a normal RDY signal and the
emulator will not detect this.
OR
You haven't declared in your
ma commands, the global and local memory control
registers. Even though you are not accessing external memory, the simulator needs that
minimum configuration. |