; bdiGDB configuration file for IXP435Kit ; --------------------------------------- ; ; The values used to configure the memory controller ; are the ones RedBoot uses to setup my board. ; Your system may need different ones !!! ; ; [INIT] WCP15 0x0001 0x000000f8 ;CTR: set big endian mode WCP15 0x2001 0x00000001 ;AUX: Disable Write Buffer Coalescing ; ; DDR SDRAM Config WM32 0xc4000000 0xbfff3c42 ;EXP_CS0 WM32 0xc4000008 0xbfff3c03 ;EXP_CS2 ; WM32 0xCC00e504 0x72222312 ;SDCR0 WM32 0xCC00e508 0x687144a7 ;SDCR1 WM32 0xCC00e50c 0x00000000 ;SDBR WM32 0xCC00e510 0x00000004 ;SBR0 WM32 0xCC00e514 0x00000004 ;SBR1 WM32 0xCC00e548 0x00000000 ;Set RFR-Refresh Rate to zero WM32 0xCC00e500 0x00000003 ;Send NOP to Mem Controller WM32 0xCC00e500 0x00000002 ;Send Precharge-All Command WM32 0xCC00e500 0x00000007 ;Send Extended Mode Reg2 Set WM32 0xCC00e500 0x00000008 ;Send Extended Mode Reg3 Set WM32 0xCC00e500 0x00000004 ;Send Extended Mode Reg1 Set DELAY 10 WM32 0xCC00e500 0x00000001 ;Send Mode Reg Set (DLL reset) DELAY 10 WM32 0xCC00e500 0x00000002 ;Send Precharge-All DELAY 10 WM32 0xCC00e500 0x00000006 ;Send Auto-Refresh DELAY 10 WM32 0xCC00e500 0x00000006 ;Send Auto-Refresh DELAY 10 WM32 0xCC00e500 0x00000000 ;Send Mode Reg Set (no DLL reset) DELAY 10 WM32 0xCC00e500 0x0000000f ;Send "Normal Operation" WM32 0xCC00e548 0x00000610 ;RFR - Refresh Counter DELAY 100 ; ; Don't know what the following is for, taken from boot code. ; But it seems to be necessary for DDR configuration. ; WM32 0xCC00f550 0x00000004 WM32 0xCC00f554 0x00000000 WM32 0xCC00f558 0x00000000 WM32 0xCC00f55c 0x00000000 WM32 0xCC00f560 0x00000000 WM32 0xCC00f564 0x00000000 WM32 0xCC00f568 0x00000000 WM32 0xCC00f574 0x0000000a ; WM32 0xCC00f578 0x0002d400 WM32 0xCC00f578 0x0002d400 WM32 0xCC00f578 0x0002d400 WM32 0xCC00f578 0x0002d400 WM32 0xCC00f578 0x0002d400 WM32 0xCC00f578 0x0002d400 WM32 0xCC00f578 0x0002d000 ; WM32 0xCC00f57c 0x0000889c WM32 0xCC00f57c 0x0000889c WM32 0xCC00f57c 0x0000889c WM32 0xCC00f57c 0x0000889c WM32 0xCC00f57c 0x0000889c WM32 0xCC00f57c 0x0000809c ; WM32 0xCC00f500 0x81000006 WM32 0xCC00f500 0x81000106 WM32 0xCC00f500 0x81000206 WM32 0xCC00f500 0x81000306 WM32 0xCC00f500 0x81000406 WM32 0xCC00f500 0x81000506 WM32 0xCC00f500 0x81000606 WM32 0xCC00f500 0x81000706 ; WM32 0xCC00f500 0x81002006 WM32 0xCC00f500 0x81002106 WM32 0xCC00f500 0x81002206 WM32 0xCC00f500 0x81002306 WM32 0xCC00f500 0x81002406 WM32 0xCC00f500 0x81002506 WM32 0xCC00f500 0x81002606 WM32 0xCC00f500 0x81002706 ; WM32 0xCC00f500 0x81004006 WM32 0xCC00f500 0x81004106 WM32 0xCC00f500 0x81004206 WM32 0xCC00f500 0x81004306 WM32 0xCC00f500 0x81004406 WM32 0xCC00f500 0x81004506 WM32 0xCC00f500 0x81004606 WM32 0xCC00f500 0x81004706 ; WM32 0xCC00f500 0x81006006 WM32 0xCC00f500 0x81006106 WM32 0xCC00f500 0x81006206 WM32 0xCC00f500 0x81006306 WM32 0xCC00f500 0x81006406 WM32 0xCC00f500 0x81006506 WM32 0xCC00f500 0x81006606 WM32 0xCC00f500 0x81006706 ; ; WM32 0xc4000024 0x00000100 ;EXP_CFG1 WM32 0xc4000020 0x001ff7fe ;EXP_CFG0 WM32 0xc4000024 0x80000100 ;EXP_CFG1 ; ; If ECC is enabled, write to all DDR RAM (128 MB) ;FILL 0x00000000 0x08000000 ;fill 128MB ; [TARGET] CPUTYPE IXP400 ;the target CPU type ;CPUTYPE IXP435 ;the target CPU type JTAGCLOCK 1 ;use 16 MHz JTAG clock POWERUP 2000 RESET ;keep reset asserted during power-up WAKEUP 200 ;wait after releasing reset DBGHANDLER 0xFFFF0800 ;debug handler base address ENDIAN BIG ;memory model (LITTLE | BIG) BREAKMODE HARD ;SOFT or HARD VECTOR CATCH 0xDE ;trap all vectors ;VECTOR CATCH 0x1E ;trap Abort, SWI, Undef VTABLO 0xe59ff018 ;Use fixed vetors "ldr pc, [pc, #24]" VTABHI 0xffffffff ;Do not update relocated vector table [HOST] IP 151.120.25.119 FILE E:/temp/dump512k.bin FORMAT BIN 0x00020000 LOAD MANUAL ;load code code MANUAL or AUTO after reset PROMPT IXP435> [FLASH] WORKSPACE 0x00001000 ;workspace in target RAM for fast programming algorithm CHIPTYPE STRATAX16 ;Flash type is 28F128P30T CHIPSIZE 0x01000000 ;The size of one flash chip in bytes BUSWIDTH 16 ;The width of the flash memory bus in bits (8 | 16 | 32) FILE E:/temp/dump512k.bin FORMAT BIN 0x50e00000 ERASE 0x50e00000 0x20000 8 UNLOCK [REGS] FILE $regIXP435.def