; bdiGDB configuration file for Alchemy PB1100 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 0x00001403 ;RCS0 Configuration WM32 0xB4001004 0x55018011 ;RCS0 Timing WM32 0xB4001008 0x11F83FE0 ;RCS0 Address ; Setup SDRAM Controller WM32 0xB4000000 0x00000000 ;CS0 mode configuration WM32 0xB4000004 0x00552229 ;CS1 mode configuration WM32 0xB4000008 0x00552229 ;CS2 mode configuration WM32 0xB400000C 0x00000000 ;CS0 address, 32MB at 0x00000000 WM32 0xB4000010 0x001003F8 ;CS1 address, 32MB at 0x02000000 WM32 0xB4000014 0x001023F8 ;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 0x00000000 ;CS0 set mode WM32 0xB4000028 0x00000023 ;CS1 set mode WM32 0xB400002C 0x00000023 ;CS2 set mode [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 \\THis needs to be set appropriately FILE BDI2000\hello.ELF FORMAT ELF LOAD MANUAL ;load code MANUAL or AUTO after reset [FLASH] //THis needs to be set for the FLASH used 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 BDI2000\regau1100.def