; bdiGDB configuration file for Ashling LPC2100 board ; --------------------------------------------------- ; [INIT] ;WREG CPSR 0x000000D3 ;select supervisor mode ;WGPR 15 0x00000000 ;set PC WM32 0xE01FC040 0x00000001 ;MEMMAP: User flash mode [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 [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 LPC2100> [FLASH] CHIPTYPE LPC2000 14745 ;select LPC2100 flash, fsys = 14.745MHz CHIPSIZE 0x20000 ;128k internal flash WORKSPACE 0x40001000 ;internal SRAM for buffer, code and stack FILE E:\temp\dump16k.bin FORMAT BIN 0x00008000 ERASE 0x000000F0 BLANK ;erase sector 4...7 with blank check ;FILE E:\cygwin\home\bdidemo\arm\lpc2100.bin ;FORMAT BIN 0x00000000 ;ERASE 0x00007FFF BLANK ;erase sector 0...14 with blank check [REGS] FILE E:\cygwin\home\bdidemo\arm\reg2100.def