We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I am trying to debug helloworld.c for the DS80c400 Tini. I configured the memory as per App613. Using CPU-DLL-c390. I have provided a .INI script which sets the PC to 0x400000 and I am single stepping through the startup400 code. When I reach the Push BFLAGS and Pop BFLAGS I receive the following error in the debugger:
*** error 65: access violation at X:0x400001 : no 'write' permission
*** error 65: access violation at X:0x400001 : no 'read' permission
Obviously, this is not where I expected the stack to be.
Any ideas?
Sounds like the stack is not configured for the right address. Maybe the following knowledgebase article will help:
http://www.keil.com/support/docs/2283.htm
Jon