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?
Read-Only
Author Jon Ward
Posted 2-Dec-2006 13:57 GMT
Toolset C51
RE: Debug Push-Pop Access Violation
Jon Ward
Sounds like the stack is not configured for the right address.
Maybe the following knowledgebase article will help:
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.