; bdiGDB configuration for AT91RM9200 Thunder board ; ------------------------------------------------------------- ; [INIT] WREG CPSR 0x000000d3 ;set superviser mode WGPR 15 0x00000000 ;set PC = 0 WCP15 0x31 0x00000070 ;CP15 Control : disable caches ; [TARGET] CPUTYPE ARM920T CLOCK 1 ;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 VECTOR CATCH ; catch all unhandled exception ;BREAKMODE SOFT ;SOFT or HARD BREAKMODE SOFT 0xDFFFDFFF ;SOFT or HARD, ARM / Thumb break code ;BREAKMODE SOFT 0xef180000 ;SOFT or HARD (X-Tools V1.0 break code) ;SIO 7 9600 ;TCP port for serial IO ;DCC 7 ;TCP port for DCC I/O [HOST] IP 10.186.20.98 FILE emerald.rick 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] WORKSPACE 0x21001000 ;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) FORMAT SREC 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 reg920t.def