; bdiGDB configuration file for ARM PID7T with 720T daughter board
; ----------------------------------------------------------------
;
[INIT]
WM32    0x0B000020  0x00000000  ;clear Reset Map
;
;Setup MMU and enable cache, Translation table at 0x00004000
WCP15   2           0x00004000  ;set Translation Base Address
WCP15   3           0xFFFFFFFF  ;set Domain Access Control
WM32    0x00004000  0x00000C1E  ;MMU: 0x00000000, cacheable, bufferable
WM32    0x00004004  0x00100C1E  ;MMU: 0x00100000, cacheable, bufferable
WM32    0x00004008  0x00200C1E  ;MMU: 0x00200000, cacheable, bufferable
WM32    0x0000400C  0x00300C1E  ;MMU: 0x00300000, cacheable, bufferable
WM32    0x00004100  0x04000C12  ;MMU: 0x04000000, non cacheable, non bufferable
WM32    0x00004280  0x0A000C12  ;MMU: 0x0A000000, non cacheable, non bufferable
WM32    0x000042A0  0x0A800C12  ;MMU: 0x0A800000, non cacheable, non bufferable
WM32    0x000042C0  0x0B000C12  ;MMU: 0x0B000000, non cacheable, non bufferable
WM32    0x000042E0  0x0B800C12  ;MMU: 0x0B800000, non cacheable, non bufferable
WM32    0x00004300  0x0C000C12  ;MMU: 0x0C000000, non cacheable, non bufferable
WM32    0x00004360  0x0D800C12  ;MMU: 0x0D800000, non cacheable, non bufferable
WM32    0x00004380  0x0E000C12  ;MMU: 0x0E000000, non cacheable, non bufferable
WCP15   1           0x0000000D  ;enable MMU, Cache and Write Buffer


[TARGET]
CPUTYPE     ARM720T
CLOCK       1                   ;JTAG clock (0=Adaptive, 1=8MHz, 2=4MHz, 3=2MHz)
ENDIAN      LITTLE              ;memory model (LITTLE | BIG)
VECTOR      CATCH               ;catch unhandled exceptions
BREAKMODE   SOFT 0xDFFFDFFF     ;SOFT or HARD, ARM / Thumb break code

[HOST]
IP          151.120.25.115
FILE        E:\cygnus\root\usr\demo\arm\vxworks
FORMAT      COFF
LOAD        MANUAL              ;load VxWorks code MANUAL or AUTO after reset

[FLASH]
WORKSPACE   0x00000000  ;workspace in target RAM for fast programming algorithm
CHIPTYPE    AM29F       ;Flash type (AM29F | AM29BX8 | AM29BX16 | I28BX8 | I28BX16)
CHIPSIZE    0x20000     ;The size of one flash chip in bytes (e.g. AM29F010 = 0x20000)
BUSWIDTH    8           ;The width of the flash memory bus in bits (8 | 16 | 32)
FILE        e:\tornado\target\proj\arm7_gtw\rom_resident\vxWorks_romCompress.hex  ;The file to program
ERASE       0x04000000  ;erase sector 0 of flash in U12 (AM29F010)
ERASE       0x04004000  ;erase sector 1 of flash
ERASE       0x04008000  ;erase sector 2 of flash
ERASE       0x0400C000  ;erase sector 3 of flash
ERASE       0x04010000  ;erase sector 4 of flash
ERASE       0x04014000  ;erase sector 5 of flash
ERASE       0x04018000  ;erase sector 6 of flash
ERASE       0x0401C000  ;erase sector 7 of flash

[REGS]
FILE	E:\cygnus\root\usr\demo\arm\reg720t.def

