; bdiGDB configuration file for EP1000 (au1000) board -- Written By Fahd Abidi Ultimate Solutions ; -------------------------------------------------- ; [INIT] ; WCP0 12 0x00000000 ;disable interrupts ; ; Setup CPU PLL WM32 0xB1900060 0x006f3061 ; Setup Endianness WM32 0xB1900038 0x00000021 WCP0 16 0x80080083 ; ; RCS0 WM32 0xb4001000 0x00000043 WM32 0xb4001004 0xffffffdd WM32 0xb4001008 0x11f83fe0 ; RCS1 WM32 0xb4001010 0x00000043 WM32 0xb4001014 0xffffffdd WM32 0xb4001018 0x11f03fe0 ; RCS2 WM32 0xb4001020 0x00000040 WM32 0xb4001024 0x33030a10 WM32 0xb4001028 0x10f03fc0 ; RCS3 WM32 0xb4001030 0x00000002 WM32 0xb4001034 0x280e3e07 WM32 0xb4001038 0x10000000 ; ;;STARTUP RUN WM32 0xb4000000 0x00552ea9 WM32 0xb4000004 0x00552ea9 ; WM32 0xb400000c 0x001003f8 ; WM32 0xb4000010 0x001023f8 ; WM32 0xb400001c 0 ; WM32 0xb4000020 0 WM32 0xb4000020 0 ; WM32 0xb4000024 0x00000023 WM32 0xb4000028 0x00000023 ; WM32 0xb4000018 0x76000c24 ; [TARGET] JTAGCLOCK 0 ;use 16 MHz JTAG clock CPUTYPE AU1000 ;the used target CPU type ENDIAN LITTLE ;target is little endian RESET JTAG ;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 ;STARTUP RUN ;Use this mode to run yamon immediatly out of reset [HOST] IP 192.168.123.103 FILE /EP1000/MIPSLau1xxx100.ep FORMAT SREC LOAD MANUAL ;load code MANUAL or AUTO after reset [FLASH] CHIPTYPE MIRRORX16 CHIPSIZE 0x800000 BUSWIDTH 16 FILE test FORMAT BIN 0xBF000000 ERASE 0xBF000000 ; To erase all of Bank 2 use the following command in the BDI prompt ; erase 0xbf000000 0x10000 127 [REGS] DMM1 0xB4000000 ;memory controller base address DMM2 0xB0400000 ;interrupt controller 0 base address DMM3 0xB1800000 ;interrupt controller 1 base address FILE /EP1000/regau1k.def