; bdiGDB configuration file for AMD DbAu1550 ; ------------------------------------------ ; [INIT] ; WCP0 12 0x00000000 ;disable interrupts ; ; Set processor to little endian mode WM32 0xB1900038 0x00000001 WCP0 12 0x00400000 WCP0 16 0x80008083 ; Setup Static Bus Controller ; Should be done by the Boot mode setup ; RCE0: AMD 29LV256M MirrorBit Flash WM32 0xB4001000 0x00000003 ; RCS0 Configuration WM32 0xB4001004 0x040181D7 ; RCS0 Timing WM32 0xB4001008 0x11803E00 ; RCS0 Address range (1 MB of flash) ; ; Setup SDRAM Controller WM32 0xB4000800 0x04276221 ; CS0 mode configuration WM32 0xB4000808 0x04276221 ; CS1 mode configuration WM32 0xB4000810 0x04276221 ; CS2 mode configuration WM32 0xB4000820 0xE21003F0 ; CS0 address, 32MB at 0x00000000 WM32 0xB4000828 0xE21043F0 ; CS1 address, 32MB at 0x02000000 WM32 0xB4000830 0xE21083F0 ; CS2 address, 32MB at 0x04000000 WM32 0xB4000840 0x9030060A ; SDCONFIGA: refresh disabled WM32 0xB4000848 0x00028000 ; SDCONFIGB WM32 0xB40008C0 0x00000000 ; Precharge all banks WM32 0xB4000880 0x40000000 ; Micron specific: Set normal (not reduced) drive strength WM32 0xB4000888 0x40000000 WM32 0xB4000890 0x40000000 WM32 0xB4000880 0x00000063 ; ? WM32 0xB4000888 0x00000063 WM32 0xB4000890 0x00000063 WM32 0xB40008C0 0x00000000 ; Precharge all banks WM32 0xB40008C8 0x00000000 ; Issue two auto refreshes WM32 0xB40008C8 0x00000000 ; Issue two auto refreshes WM32 0xB4000840 0x9830060A ; SDCONFIGA: refresh enabled ; ; Setup TLB - need this?? ;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 ;the used target CPU type ENDIAN LITTLE ;target is little endian ;ENDIAN BIG ;target is big endian RESET JTAG ;the reset type (NONE, JTAG, HARD) ;WORKSPACE 0xA0000080 ;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 151.120.25.119 ;FILE E:\cygwin\home\bdidemo\mips\fibo.x ;FORMAT ELF ;LOAD MANUAL ;load code MANUAL or AUTO after reset PROMPT Db1550> [FLASH] CHIPTYPE AM29BX16 CHIPSIZE 0x100000 BUSWIDTH 16 ERASE 0xBFC00000 chip FILE $yamon.srec FORMAT SREC 0xA0000000 [REGS] DMM1 0xB4000000 ;memory controller base address DMM2 0xB0400000 ;interrupt controller 0 base address DMM3 0xB1800000 ;interrupt controller 1 base address FILE regau1550.def