I'm programming the LH75410 (ARM7TDMI core) in C++ using IAR workbenc version 4.42A.
Startup seems to run correctly. But when I execute the first instructio in "main" I get an error message "CSTACK pointer is 0000 0000, outsid stack range". Stack range is in our RAM area, 4000 0000 - 401F FFFF, an I believe I've written the memory descriptor file properly. The S register contains a valid address for the stack pointer.
Questions are,
1 -- What can I do about this? 2 -- What's causing the problem? 3 -- Is the CSTACK pointer the SP register? If not, what?No doubt this is a case for "rtfm", but I've read and searched all th fm's I can find and not seen a mention of this.