; bdiGDB configuration for ARM Integrator CM946E-S
; ------------------------------------------------
;
[INIT]
;
;Setup protection and enable cache
WCP15   0x0010      0x0000003F  ;background region 0
WCP15   0x0011      0x0000002B  ;region 1 (@0x00000000,4MB)
WCP15   0x0002      0x00000002  ;data region 1 cacheable
WCP15   0x0102      0x00000002  ;inst region 1 cacheable
WCP15   0x0003      0x00000002  ;data region 1 bufferable
WCP15   0x0005      0x00000033  ;data region 0/1 full access
WCP15   0x0105      0x00000033  ;inst region 0/1 full access
WCP15   0x0001      0x0000107D  ;enable protection and caches
;
;Setup other regions but do not enable
WCP15   0x0012      0x2d000000  ;region 2
WCP15   0x0013      0x3d000000  ;region 3
WCP15   0x0014      0x4d000000  ;region 4
WCP15   0x0015      0x5d000000  ;region 5
WCP15   0x0016      0x6d000000  ;region 6
WCP15   0x0017      0x7d000000  ;region 7
;
WGPR    11          0x00000020  ;set frame pointer to free RAM
WM32    0x00000020  0x00000028  ;dummy stack frame
;


[TARGET]
CPUTYPE     ARM946E
CLOCK       2                   ;JTAG clock (0=Adaptive, 1=8MHz, 2=4MHz, 3=2MHz)
ENDIAN      LITTLE              ;memory model (LITTLE | BIG)
VECTOR      CATCH 0x1f          ;catch D_Abort, P_Abort, SWI, Undef and Reset
BREAKMODE   SOFT 0xDFFFDFFF     ;SOFT or HARD, ARM / Thumb break code
;SIO         7 9600              ;TCP port for serial IO

[HOST]
IP          151.120.25.119
FILE        E:\cygwin\home\bdidemo\arm\vxworks
FORMAT      COFF
;FILE        E:\cygwin\home\bdidemo\arm\bin_sem0.exe
;FILE        E:\cygwin\home\bdidemo\arm\test0.elf
;FORMAT      ELF
LOAD        MANUAL      ;load VxWorks code MANUAL or AUTO after reset

[FLASH]

[REGS]
FILE	E:\cygwin\home\bdidemo\arm\reg946e.def

