; bdiGDB configuration file for Keil MCB2100 (LPC2129) board ; ---------------------------------------------------------- ; [INIT] WREG CPSR 0x000000D3 ;select supervisor mode WGPR 15 0x00000000 ;set PC WM32 0xE01FC040 0x00000001 ;MEMMAP: User flash mode ; ; Disable PLL for flash programming WM32 0xE01FC080 0x00000000 ;PLLCON: WM32 0xE01FC084 0x00000000 ;PLLCFG: WM32 0xE01FC08C 0x000000AA ;PLLFEED: WM32 0xE01FC08C 0x00000055 ;PLLFEED: DELAY 100 ; [TARGET] CPUTYPE ARM7TDMI ;CLOCK 4 ;BDI2000: JTAG clock 1MHz ( < 1/6 of CPU clock ) CLOCK 7 ;BDI3000: JTAG clock 1MHz ( < 1/6 of CPU clock ) RESET HARD 500 ;apply 500 ms RESET WAKEUP 100 ;give reset time to complete STARTUP STOP 500 ;let monitor run for 500 ms ENDIAN LITTLE ;memory model (LITTLE | BIG) 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 [HOST] IP 151.120.25.119 FILE E:\cygwin\home\demo\pid7t\fibo.x FORMAT ELF LOAD MANUAL ;load VxWorks code MANUAL or AUTO after reset PROMPT LPC2129> [FLASH] CHIPTYPE LPC2000 12000 ;select LPC2100 flash, fsys = 12.000 MHz CHIPSIZE 0x40000 ;256k internal flash WORKSPACE 0x40001000 ;internal SRAM for buffer, code and stack ;FILE E:\temp\error.sss ;FORMAT SREC ;ERASE 0x0001FF00 FILE E:\temp\dump16k.bin FORMAT BIN 0x00008000 ERASE 0x000000F0 BLANK ;erase sector 4...7 with blank check ;FILE E:\cygwin\home\bdidemo\arm\mcb2100.bin ;FORMAT BIN 0x00000000 ;ERASE 0x0001FFFF BLANK ;erase sector 0...16 with blank check [REGS] FILE E:\cygwin\home\bdidemo\arm\reg2100.def