; bdiGDB configuration file for Alchemy PB1500 board ; -------------------------------------------------- ; [INIT] ; ;WCP0 12 0x00000000 ;disable interrupts ; ; Setup CPU PLL to 396 MHz WM32 0xB1900060 0x00000021 ;CPU_PLL Configuration ; Setup Endianess WM32 0xB1900038 0x00000001 ;Set to Little Endian WCP0 16 0x00000003 ; Setup Static Bus Controller WM32 0xB4001000 0x00000003 ;RCS0 Configuration WM32 0xB4001004 0x22080b20 ;RCS0 Timing WM32 0xB4001008 0x11c03f00 ;RCS0 Address WM32 0xB4001010 0x00000080 ;RCS1 Configuration WM32 0xB4001014 0x22080a20 ;RCS1 Timing WM32 0xB4001018 0x10c03f00 ;RCS1 Address WM32 0xB4001020 0x000000C4 ;RCS2 Configuration WM32 0xB4001024 0x22080a20 ;RCS2 Timing WM32 0xB4001028 0x11803f00 ;RCS2 Address WM32 0xB4001030 0x00000002 ;RCS3 Configuration WM32 0xB4001034 0x280E3E07 ;RCS3 Timing WM32 0xB4001038 0x10000000 ;RCS3 Address ; ; Setup SDRAM Controller WM32 0xB4000000 0x00551aa9 ;CS0 mode configuration WM32 0xB4000004 0x00551aa9 ;CS1 mode configuration WM32 0xB4000008 0x00551aa9 ;CS2 mode configuration WM32 0xB400000C 0x001003F8 ;CS0 address, 32MB at 0x00000000 WM32 0xB4000010 0x001023F8 ;CS1 address, 32MB at 0x02000000 WM32 0xB4000014 0x001043F8 ;CS2 address, 32MB at 0x02000000 WM32 0xB4000018 0x64000c24 ;Program refresh (disabled) WM32 0xB400001C 0x00000000 ;Precharge all banks WM32 0xB4000020 0x00000000 ;Issue two auto refreshes WM32 0xB4000020 0x00000000 ;Issue two auto refreshes WM32 0xB4000018 0x66000c24 ;Enable refresh WM32 0xB4000024 0x00000023 ;CS0 set mode WM32 0xB4000028 0x00000023 ;CS1 set mode WM32 0xB400002C 0x00000023 ;CS2 set mode ; ; Setup TLB ;WTLB 0x00000600 0x01F80017 ;System Flash 2 x 4MB, uncached DVG ; ; Invalidate Caches ;IVIC 4 128 ;Invalidate IC, 4 way, 128 sets ;IVDC 4 128 ;Invalidate DC, 4 way, 128 sets [TARGET] JTAGCLOCK 0 ;use 16 MHz JTAG clock CPUTYPE AU1000 ;AU1000 ;the used target CPU type ENDIAN LITTLE ;BIG ;target is little endian STARTUP STOP 5000 ;STOP mode is used to let the monitor init the system RESET JTAG ;the reset type (NONE, JTAG, HARD) WORKSPACE 0xA0000000 ;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 163.181.32.78 ;FILE C:\JTAG_test\BDI2000\PB1000\Cel_v_Fahr\hello.ELF FILE BDI2000\hello.ELF FORMAT ELF ;FILE E:\cygwin\home\bdidemo\mips\vmlinus ;FORMAT ELF LOAD MANUAL ;load code MANUAL or AUTO after reset [FLASH] CHIPTYPE MIRRORX16; CHIPSIZE 0X800000; BUSWIDTH 16; FILE yamon-02.19PB1500.rec.m;The file to be loaded into FLASH FORMAT SREC; WORKSPACE 0xA0100000; ERASE 0xBFC00000; [REGS] DMM1 0xB4000000 ;memory controller base address DMM2 0xB0400000 ;interrupt controller 0 base address DMM3 0xB1800000 ;interrupt controller 1 base address ;FILE C:\tftpboot\BDI2000\regau1k.def FILE BDI2000\regau1k.def