; bdiGDB configuration file for Alchemy Bosporus 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 0x00000043 ;RCS0 Configuration WM32 0xB4001004 0x040181D7 ;RCS0 Timing WM32 0xB4001008 0x11F83Fe0 ;RCS0 Address WM32 0xB4001010 0x00000043 ;RCS1 Configuration WM32 0xB4001004 0x040181D7 ;RCS0 Timing WM32 0xB4001018 0x11F03Fe0 ;RCS1 Address ; ; Setup SDRAM Controller WM32 0xB4000000 0x00552ea9 ;CS0 mode configuration WM32 0xB4000004 0x00552ea9 ;CS1 mode configuration WM32 0xB400000C 0x001003F8 ;CS0 address, 32MB at 0x00000000 WM32 0xB4000010 0x001023F8 ;CS1 address, 32MB at 0x02000000 WM32 0xB4000018 0x74000c24 ;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 0x76000c24 ;Enable refresh WM32 0xB4000024 0x00000023 ;CS0 set mode WM32 0xB4000028 0x00000023 ;CS1 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.20BOSPORUS.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