From RTEMSWiki
; bdiGDB configuration file for COGENT CSB350 board
; --------------------------------------------------
;
; NOTE: This is CSB350.cfg (BDI2000) as received from
; 08/26/04 Yong Tao (taoyong2002cncq@yahoo.com.cn) by
; Bogdan Vacaliuc (bvacaliuc@ngit.com)
;
; NOTE: This file sets up the system for LITTLE ENDIAN, and
; has other differences in the setup of the Flash
; and SDRAM. You '''must''' edit this file for your setup.
[[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
;RCE0: Intel Strata Flash E28F640-J3A120
;RCE0 - Not used
WM32 0xB4001000 0x00001443 ;RCS0 Configuration,from the csb350 umon's au1100.h
WM32 0xB4001004 0x22080b20 ;RCS0 Timing
WM32 0xB4001008 0x11F83FE0 ;RCS0 Address
; Setup SDRAM Controller
;SDCS0 - 32MB Micron 48LC8M16A2
;SDCS1 - Not used
;SDCS2 - Not used
WM32 0xB4000000 0x00551AA9 ;CS0 mode configuration
WM32 0xB4000004 0x00000000 ;CS1 mode configuration - Not used
WM32 0xB4000008 0x00000000 ;CS2 mode configuration - Not used
WM32 0xB400000C 0x001003F8 ;CS0 address, 32MB at 0x00000000
WM32 0xB4000010 0x00000000 ;CS1 address, 32MB at 0x02000000
WM32 0xB4000014 0x00000000 ;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
[[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 192.168.100.251 ;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 STRATAX16;
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 /tftpboot/regau1100.def