; bdiGDB configuration file for 80200 Big Endian Evaluation Platform ; ------------------------------------------------------------------ ; [INIT] WCP15 0x0001 0x000000F8 ;Set big endian mode WCP15 0x010F 0x00002001 ;Enable CP0 and CP13 access ; WGPR 0 0x00000000 ;Linux needs this !!! WGPR 1 0x000000b5 ;Linux needs this !!! [TARGET] CPUTYPE IOP310 ;the target CPU type JTAGCLOCK 1 ;use 16 MHz JTAG clock DBGHANDLER 0xFFFF0800 ;debug handler base address ;DBGHANDLER 0xFE000800 ;debug handler base address ;DBGHANDLER 0x00000000 ;debug handler base address ;DBGHANDLER 0x01FEF800 ;debug handler base address ;BDIMODE AGENT RUN ;the BDI working mode (LOADONLY | AGENT) ;STARTUP STOP 2000 ;let the monitor setup the board ENDIAN BIG ;memory model (LITTLE | BIG) BREAKMODE SOFT ;SOFT or HARD ;VECTOR CATCH 0xDE ;trap all vectors VTABLO 0xe59ff018 ;Use fixed vectors "ldr pc, [pc, #18]" VTABHI 0 0xef9f0000 ;Use fixed vectors VTABHI 1 0xea0000dd ;0xffff0004: b 0xffff0380 VTABHI 2 0xe59ff410 ;0xffff0008: ldr pc, [pc, #410] ; 0xffff0420 VTABHI 3 0xea0000bb ;0xffff000c: b 0xffff0300 VTABHI 4 0xea00009a ;0xffff0010: b 0xffff0280 VTABHI 5 0xea0000fa ;0xffff0014: b 0xffff0404 VTABHI 6 0xea000078 ;0xffff0018: b 0xffff0200 VTABHI 7 0xea0000f7 ;0xffff001c: b 0xffff0400 [HOST] IP 151.120.25.119 FILE E:\cygwin\home\bdidemo\xscale\vmlinux.brh FORMAT ELF ;FILE E:\cygwin\home\bdidemo\xscale\zImage.brh ;FORMAT BIN 0xC1008000 ;START 0xC1008000 LOAD MANUAL ;load code code MANUAL or AUTO after reset [FLASH] WORKSPACE 0xC0000000 ;workspace in target RAM for fast programming algorithm CHIPTYPE STRATAX8 ;Flash type CHIPSIZE 0x400000 ;The size of one flash chip in bytes BUSWIDTH 8 ;The width of the flash memory bus in bits (8 | 16 | 32) ;FILE E:\cygwin\home\bdidemo\xscale\mon_brh.bin FILE E:\cygwin\home\bdidemo\xscale\iq80310.cfg FORMAT BIN 0x00180000 ERASE 0x00180000 ;erase sector 12 ERASE 0x001A0000 ;erase sector 13 ERASE 0x001C0000 ;erase sector 14 ERASE 0x001E0000 ;erase sector 15 [REGS] FILE E:\cygwin\home\bdidemo\xscale\brh80200.def