|
debugging error.Next Thread | Thread List | Previous Thread Start a Thread | Settings | Details | Message |
|---|
Read-Only Author sriram k Posted 18-Jan-2008 01:03 Toolset ARM |  debugging error. sriram k Hi all I have just started to use AT91sam9260 in keil 3.5v When i write a simple prog... the compilations gives no errors. When I start debug it displays "Error 65: access violation at 0xFFFFEE40: no 'write' permission" I checked the previous posts and tried to change the memory address locations in Target options. Still it gives the same error. I am facing this problem only with ARM-9series. ARM-7 is working fine plz help me to solve with this problem. Thanks in advance sriram | | Read-Only Author Per Westermark Posted 18-Jan-2008 01:27 Toolset ARM |  RE: debugging error. Per Westermark Different ARM chips have different behaviour with regard to invalid memory accesses. It is the glue logic outside the processor kernel that is generating exceptions. Are there memory at the mentioned address? Is it writeable memory? If not, you will have to figure out why your application tries to perform a write access in that memory region. | | Read-Only Author Andy Neil Posted 18-Jan-2008 01:46 Toolset ARM |  RE: It is the glue logic outside the processor kernel that is generating exceptions. Andy Neil Is it? Isn't that message from the debugger (or the simulator)? So it's the debugger (or the simulator) that is not correctly configured...? See: http://www.keil.com/forum/docs/thread10080.asp http://www.keil.com/support/docs/814.htm | | Read-Only Author Per Westermark Posted 18-Jan-2008 03:01 Toolset ARM |  RE: It is the glue logic outside the processor kernel that is generating exceptions. Per Westermark When running on the hardware, it's the memory controller glue that may (or may not) generate exceptions. When running in a simulator, then it is obviously the Keil simulator (and the configuration to it) that decides if there will be a memory access violation or not. The question is still if there is expected to be any writeable memory at that specific memory address. | | Read-Only Author sriram k Posted 22-Jan-2008 04:34 Toolset ARM |  RE: It is the glue logic outside the processor kernel that is generating exceptions. sriram k Thanks for the reply... I understood what you said. How do I specify all the address ranges? My compiler supports up to 16MB only, and my address range is up to 256MB... Also where do i specify all these addressed. Address range and access type can be given in command line by MAP command. But entering all these ranges every time I compile is bit difficult. So how do I specify these to be fixed? | | Read-Only Author Andy Neil Posted 22-Jan-2008 05:19 Toolset ARM |  RE: How do I specify all the address ranges?" Andy Neil The answer to that is given in the knowledgebase article linked earlier. | | Read-Only Author Andy Neil Posted 22-Jan-2008 05:22 Toolset ARM |  RE: entering all these ranges every time I compile is bit difficult Andy Neil These are debugger commands - they have nothing to do with compiling or the compiler! You can put commonly-used debugger command sequences into a debugger command file - See: http://www.keil.com/support/man/docs/uv3/uv3_cm_include.htm | |
Next Thread | Thread List | Previous Thread Start a Thread | Settings |
|