; bdiGDB configuration file for Alchemy DB1100 board ; -------------------------------------------------- ; This configuration lets the monitor setup the board. ; [INIT] ; WCP0 12 0x00000000 ;disable interrupts ; [TARGET] ;CLOCK 0 ;BDI2000: JTAG clock 16MHz CLOCK 1 ;BDI3000: JTAG clock 16MHz CPUTYPE AU1000 ;the used target CPU family ENDIAN LITTLE ;target is little endian STARTUP STOP 2000 ;STOP mode is used to let the monitor init the system RESET HARD ;the reset type (NONE, JTAG, HARD) WORKSPACE 0xA0000080 ;workspace in target RAM for fast download BDIMODE AGENT ;the BDI working mode (LOADONLY | AGENT) BREAKMODE SOFT ;SOFT or HARD, HARD uses PPC hardware breakpoints STEPMODE JTAG ;JTAG, HWBP or SWBP VECTOR CATCH ;catch unhandled exceptions [HOST] IP 151.120.25.119 FILE E:\cygwin\home\bdidemo\mips\fibo.x FORMAT ELF LOAD MANUAL ;load code MANUAL or AUTO after reset PROMPT DB1100> [FLASH] CHIPTYPE MIRRORX16 ;there is a MirrorBit flash in x16 mode CHIPSIZE 0x800000 ;the chip is Am29LV640MH BUSWIDTH 32 ;there are two chips building a 32-bit system FILE E:\cygwin\home\bdidemo\mips\db1100.bin FORMAT BIN 0xBFC80000; WORKSPACE 0xA0001000; ERASE 0xBFC80000; ERASE 0xBFCA0000; ERASE 0xBFCC0000; ERASE 0xBFCE0000; [REGS] DMM1 0xB4000000 ;memory controller base address DMM2 0xB0400000 ;interrupt controller 0 base address DMM3 0xB1800000 ;interrupt controller 1 base address FILE E:\cygwin\home\bdidemo\mips\regau1k.def