; bdiGDB configuration file for Evaluator-7T board ; ------------------------------------------------ ; [INIT] WM32 0x03FF0000 0x07FFFFA0 ;SYSCFG: no cache,SRAM=0x03FE0000,SFR=0x03FF0000 WM32 0x03FF3010 0x0000003E ;EXTDBWTH: DSR0=16, DSR1/2=32 WM32 0x03FF3014 0x18860030 ;ROMCON0: Flash, 0x01800000-0x0187FFFF, 4 wait WM32 0x03FF3018 0x00400010 ;ROMCON1: SRAM, 0x00000000-0x0003FFFF, 2 wait WM32 0x03FF301C 0x00801010 ;ROMCON2: SRAM, 0x00040000-0x0007FFFF, 2 wait WM32 0x03FF303C 0x00008360 ;REFEXTCON: Ext.I/O @ 0x03600000 ; WGPR 11 0x00000020 ;set frame pointer to free RAM WM32 0x00000020 0x00000028 ;dummy stack frame ; RM32 0x00000000 ;read 32bit RM16 0x00000000 ;read 16bit RM8 0x00000000 ;read 8bit ; ;WBIN 0x00001000 E:\cygwin\home\bdidemo\arm\eval7t.cfg ; [TARGET] CPUTYPE ARM7TDMI ;CLOCK 1 ;BDI2000: JTAG clock 16MHz CLOCK 2 ;BDI3000: JTAG clock 16MHz RESET HARD 101 ENDIAN LITTLE ;memory model (LITTLE | BIG) VECTOR CATCH ;catch unhandled exceptions BDIMODE AGENT ;the BDI working mode (LOADONLY | AGENT) BREAKMODE SOFT 0xDFFFDFFF ;SOFT or HARD, ARM / Thumb break code ;BREAKMODE HARD ;SOFT or HARD, ARM / Thumb break code ;DCC 7 ;DCC I/O via TCP port 7 ;SIO 8023 19200 ;TCP port for serial IO SCANINIT r1:t1:w1000:t0:w1000: ;assert reset and toggle TRST SCANINIT w1000000: ;wait 1 seconds SCANINIT i4=0e:d32=00000000 ; SCANPOST w10000:r0:w10000 ;release reset ;SCANPRED 11 64 ;JTAG devices connected before this core ;SCANSUCC 11 66 ;JTAG devices connected after this core [HOST] IP 151.120.25.119 ;FILE E:\cygwin\home\bdidemo\arm\vxworks ;FORMAT COFF FILE E:\cygwin\home\demo\pid7t\fibo.x ;FILE E:\cygwin\home\demo\armcustom\customflash.x FORMAT ELF LOAD MANUAL ;load VxWorks code MANUAL or AUTO after reset [FLASH] WORKSPACE 0x00001000 ;workspace in target RAM for fast programming algorithm CHIPTYPE AT49X16 ;Flash type is SST39VF400 ;CHIPTYPE DCCX8 CHIPSIZE 0x80000 ;The size of one flash chip in bytes (e.g. AM29F010 = 0x20000) BUSWIDTH 16 ;The width of the flash memory bus in bits (8 | 16 | 32) FILE E:\cygwin\home\bdidemo\arm\test0.elf ;The file to program FORMAT BIN 0x01840000 ;FILE E:\cygwin\home\bdidemo\arm\eval7t.cfg ;FORMAT BIN 0x10000 ERASE 0x01840000 BLOCK ;erase a 64kB block ERASE 0x01850000 BLOCK ;erase a 64kB block ERASE 0x01860000 BLOCK ;erase a 64kB block ERASE 0x01870000 BLOCK ;erase a 64kB block ;WORKSPACE 0x00000100 ;CHIPTYPE I28BX16 ;CHIPSIZE 0x10000 ;BUSWIDTH 16 ;FILE E:\temp\pat0080.bin ;FORMAT BIN 0x00010000