; bdiGDB configuration file for Infineon INCA-IP (MIPS 4Kc) board ; --------------------------------------------------------------- ; [INIT] WM32 0xb8000220 0xa0000041 ;WM32 0xb8000260 0x404161ff ; Swapping unit enabled WM32 0xb8000260 0x004161ff ; Swapping unit disabled ;psl WM32 0xb8000264 0x684142BD ;buscon1 WM32 0xb8000224 0xBE0000F1 ;addsel1 WM32 0xb8000268 0x404161ff ;buscon2 WM32 0xb8000228 0xA0800041 ;addsel2 ; ;WM32 0xBF000700 0x000000C7 ;Enable write to system flash ; ; Setup TLB ;WTLB 0x00000700 0x01C00017 ;System Flash 2 x 16MB, uncached DVG ; ; Invalidate Caches ;IVIC 4 256 ;Invalidate IC, 4 way, 256 sets ;IVDC 4 256 ;Invalidate DC, 4 way, 256 sets [TARGET] JTAGCLOCK 1 ;use 8 MHz JTAG clock CPUTYPE M4KC ;the used target CPU type ENDIAN BIG ;target is big endian STARTUP STOP 500 ;STOP mode is used to let the monitor init the system ;WORKSPACE 0xA0000080 ;workspace in target RAM for fast download BDIMODE AGENT ;the BDI working mode (LOADONLY | AGENT) BREAKMODE HARD ;SOFT or HARD, HARD uses PPC hardware breakpoints STEPMODE JTAG ;JTAG, HWBP or SWBP VECTOR CATCH ;catch unhandled exceptions [HOST] IP 192.168.3.1 FILE /tftpboot/INCA/u-boot.bin FORMAT BIN LOAD MANUAL ;load code MANUAL or AUTO after reset [FLASH] ;WORKSPACE 0xa0000000 ;workspace in target RAM for fast programming algorithm CHIPTYPE AM29BX16 ;Flash type (AM29F | AM29BX8 | AM29BX16 | I28BX8 | I28BX16) CHIPSIZE 0x800000 ;The size of one flash chip in bytes (e.g. AM29F040 = 0x80000) BUSWIDTH 16 ;The width of the flash memory bus in bits (8 | 16 | 32) FILE /tftpboot/INCA/u-boot.bin ;FORMAT BIN 0xbc000000 ;ERASE 0xbc000000 ;erase sector 0 ;ERASE 0xbc080000 ;erase sector 1 ;ERASE 0xbc100000 ;erase sector 2 ;ERASE 0xbc180000 ;erase sector 3 ;ERASE 0xbc200000 ;erase sector 4 ;ERASE 0xbc280000 ;erase sector 5 ;ERASE 0xbc300000 ;erase sector 6 ;ERASE 0xbc380000 ;erase sector 7 [REGS] DMM1 0xFF300000 ;DSU base address DMM2 0xBF000000 ;Memory mapped registers FILE /tftpboot/reg4kc.def