Keil™, An ARM® Company

Discussion Forum

error 65

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

DetailsMessage
Read-Only
Author
Frank Zeeman
Posted
22-May-2007 00:30
Toolset
C166
New! error 65

when i debug my program i get
*** error 65: access violation: addr=0x00000000

help please

Read-Only
Author
Frank Zeeman
Posted
22-May-2007 00:32
Toolset
C166
New! RE: error 65

my memory map shows
001: 0x00000000 - 0x00000003 exec read

Read-Only
Author
Frank Zeeman
Posted
22-May-2007 00:43
Toolset
C166
New! RE: error 65

in the m61 file

START STOP LENGTH TYPE RTYP ALIGN TGR GRP COMB CLASS SECTION NAME
=====================================================================================
000000H 000003H 000004H --- --- --- --- --- --- * INTVECTOR TABLE *

Read-Only
Author
Reinhard Keil
Posted
22-May-2007 01:18
Toolset
C166
New! RE: error 65

You need to map the memory using the MAP command.
See: http://www.keil.com/support/docs/814.htm

Read-Only
Author
Frank Zeeman
Posted
22-May-2007 01:30
Toolset
C166
New! RE: error 65

so i should create a .ini file and write there something like
MAP 0x00000000, 0x00000003 READ EXEC

well i still get the same error

Read-Only
Author
Frank Zeeman
Posted
22-May-2007 01:43
Toolset
C166
New! RE: error 65

i wrote
MAP MAP 0x00000000, 0x00000003 READ WRITE
sorry

but now i get
*** error 65: access violation: addr=0x00000400
the instruction that generated that is 201: return strlen(line);
0000371E D4900200 MOV R9,[R0+#0x0002]

now at that location m61
START STOP LENGTH TYPE RTYP ALIGN TGR GRP COMB CLASS SECTION NAME
=====================================================================================

0000B0H 0009E5H 000936H CODE REL WORD --- --- PUBL FCODE ?PR?SIM

i am missing something?

Read-Only
Author
Reinhard Keil
Posted
22-May-2007 06:35
Toolset
C166
New! RE: error 65

what tool version are you using? What device are you simulating?

Read-Only
Author
Frank Zeeman
Posted
22-May-2007 16:17
Toolset
C166
New! RE: error 65

it is a kitcon 161 uvision 3

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