; bdiGDB configuration file for IXDP465 board ; ------------------------------------------- ; [INIT] WCP15 0x0001 0x000000f8 ;CTR: set big endian mode WCP15 0x2001 0x00000001 ;AUX: Disable Write Buffer Coalescing WCP15 0x010F 0x00000001 ;CPA: Enable CP0 access ; ; DDR SDRAM Config ; ;WM32 0xc4000000 0xbfff3c42 ; EXP_CNFG1 16MB WM32 0xc4000000 0xbfff0242 ; EXP_CNFG1 32MB DELAY 34 WM32 0xCC00e504 0x62330106 ; SDCR0 WM32 0xCC00e508 0xa670a493 ; SDCR1 WM32 0xCC00e50c 0x00000000 ; SDBR RM32 0xCC00e50c ; Read it back WM32 0xCC00e510 0x80000002 ; SDBR0 RM32 0xCC00e510 ; Read it back WM32 0xCC00e514 0x80000004 ; SDBR1 RM32 0xCC00e514 ; Read it back WM32 0xCC00e51c 0x0000000c ; ECCR WM32 0xCC00e53c 0x00000011 ; MPTCR WM32 0xCC00e548 0x0000000 ; RFR - Refresh Counter WM32 0xCC00e500 0x0000003 ; Send NOP to Mem Controller WM32 0xCC00e500 0x0000002 ; Send Precharge-All Command to Mem Controller WM32 0xCC00e500 0x0000003 ; Send NOP to Mem Controller DELAY 1 WM32 0xCC00e500 0x0000004 ; Send Extended Mode Reg Set (enable DLL) to Mem Controller WM32 0xCC00e500 0x0000003 ; Send NOP to Mem Controller DELAY 1 WM32 0xCC00e500 0x0000001 ; Send Mode Reg Set (DLL reset) to Mem Controller WM32 0xCC00e500 0x0000003 ; Send NOP to Mem Controller DELAY 1 WM32 0xCC00e500 0x0000002 ; Send Precharge-All Command to Mem Controller WM32 0xCC00e500 0x0000003 ; Send NOP to Mem Controller DELAY 1 WM32 0xCC00e500 0x0000006 ; Send Auto-Refresh Command to Mem Controller WM32 0xCC00e500 0x0000003 ; Send NOP to Mem Controller DELAY 1 WM32 0xCC00e500 0x0000006 ; Send Auto-Refresh Command to Mem Controller WM32 0xCC00e500 0x0000003 ; Send NOP to Mem Controller DELAY 1 WM32 0xCC00e500 0x0000000 ; Send Mode Reg Set (no DLL reset) to Mem Controller WM32 0xCC00e500 0x0000003 ; Send NOP to Mem Controller DELAY 1 WM32 0xCC00e500 0x0000008 ; Send "Normal Operation" to Mem Controller DELAY 1 WM32 0xCC00e548 0x0000410 ; RFR - Refresh Counter DELAY 34 ; ; SDRAM controller 256MB ; leaving this in for reference for now ; ;WM32 0xCC000000 0x0000000d ;CONF : 256MB, CAS 3 clocks ;WM32 0xCC000004 0x00000000 ;REFR : disable refresh ;WM32 0xCC000008 0x00000003 ;IR : NOP ;DELAY 20 ;WM32 0xCC000004 0x0000081a ;REFR : set value ;WM32 0xCC000008 0x00000002 ;IR : Precharge All ;DELAY 20 ;WM32 0xCC000008 0x00000004 ;IR : Auto Refresh #1 ;WM32 0xCC000008 0x00000004 ;IR : Auto Refresh #2 ;WM32 0xCC000008 0x00000004 ;IR : Auto Refresh #3 ;WM32 0xCC000008 0x00000004 ;IR : Auto Refresh #4 ;WM32 0xCC000008 0x00000004 ;IR : Auto Refresh #5 ;WM32 0xCC000008 0x00000004 ;IR : Auto Refresh #6 ;WM32 0xCC000008 0x00000004 ;IR : Auto Refresh #7 ;WM32 0xCC000008 0x00000004 ;IR : Auto Refresh #8 ;WM32 0xCC000008 0x00000001 ;IR : Mode Select CAS3 ;WM32 0xCC000008 0x00000006 ;IR : Normal Operation ; ; Expansion BUS (Flash Memory) ; ;WM32 0xc4000000 0xbcd23c40 ;CS0 : Write disabled @0x50000000 WM32 0xc4000000 0xbcd20242 ;CS0 : Write enabled @0x50000000 WM32 0xc4000004 0xbfff3c03 ;CS1 : UTOPIA card @0x51000000 WM32 0xc4000008 0xbfff0002 ;CS2 : HEX Display @0x52000000 WM32 0xc4000020 0x00fffffe ;CFG0 : Map SDRAM to 0x00000000 ; ; ; Write to all of DDR RAM (128 MB) to ; initialize for ECC FILL 0x00000000 0x8000000 ; fill 128MB [TARGET] CPUTYPE IXP425 ;the target CPU type JTAGCLOCK 0 ;use 16 MHz JTAG clock DBGHANDLER 0xFFFF0800 ;debug handler base address ENDIAN BIG ;memory model (LITTLE | BIG) BREAKMODE SOFT ;SOFT or HARD ;VECTOR CATCH 0xDE ;trap all vectors VECTOR CATCH 0x1E ;trap Abort, SWI, Undef VTABLO 0xe59ff0f4 ;Use fixed vetors "ldr pc, [pc, #f4]" VTABHI 0xffffffff ;Do not update relocated vector table [HOST] IP 10.0.2.100 FILE zImage FORMAT ELF LOAD MANUAL ;load code code MANUAL or AUTO after reset [FLASH] WORKSPACE 0x00001000 ;workspace in target RAM for fast programming algorithm CHIPTYPE STRATAX16 ;Flash type CHIPSIZE 0x02000000 ;The size of one flash chip in bytes BUSWIDTH 16 ;The width of the flash memory bus in bits (8 | 16 | 32) ;FILE E:\cygwin\home\bdidemo\xscale\ixdp465.cfg FILE bmp_redboot_ROM.bin FORMAT BIN 0x50000000 ERASE 0x50000000 ;erase sector 64 ERASE 0x50020000 ;erase sector 65 ERASE 0x50040000 ;erase sector 66 ERASE 0x50060000 ;erase sector 67 ERASE 0x50080000 ;erase sector 64 ERASE 0x500A0000 ;erase sector 65 ERASE 0x500C0000 ;erase sector 66 ERASE 0x500E0000 ;erase sector 67 [REGS] FILE regIXP465.def