Keil Logo Arm Logo

Discussion Forum

Debug Push-Pop Access Violation

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Details Message
Read-Only
Author
M. Pollock
Posted
23-Nov-2006 03:12 GMT
Toolset
C51
New! Debug Push-Pop Access Violation

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
New! RE: Debug Push-Pop Access Violation

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

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Keil logo

Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.