; bdiGDB configuration file for MIPS Atlas 4Kc board ; -------------------------------------------------- ; ; This configuration uses the YAMON monitor setup the board ; [INIT] ; DELAY 500 [TARGET] JTAGCLOCK 0 ;use 8 MHz JTAG clock CPUTYPE M4KC ;the used target CPU type ENDIAN BIG ;target is big endian ;RESET HARD ;STARTUP RESET ;STARTUP STOP 8000 ;STOP mode is used to let the monitor init the system SIO 204 115200 ;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 HWBP ;JTAG, HWBP or SWBP ;VECTOR CATCH ;catch unhandled exceptions MMU XLAT ;MMU support enabled ;PTBASE 0xC0000000 ;here are the page table pointers [HOST] IP 192.168.1.115 TELNET NOECHO ;FILE E:\cygwin\home\bdidemo\mips\fibo.x ;FORMAT ELF ;FILE E:\cygwin\home\bdidemo\mips\vmlinus FORMAT ELF LOAD MANUAL ;load code MANUAL or AUTO after reset [FLASH] WORKSPACE 0xa0000000 ;workspace in target RAM for fast programming algorithm CHIPTYPE STRATAX16 ;Flash type (AM29F | AM29BX8 | AM29BX16 | I28BX8 | I28BX16) CHIPSIZE 0x800000 ;The size of one flash chip in bytes (e.g. AM29F040 = 0x80000) BUSWIDTH 32 ;The width of the flash memory bus in bits (8 | 16 | 32) ;FILE E:\cygwin\home\bdidemo\mips\vmlinus FILE E:\cygwin\home\bdidemo\mips\s334a.cfg 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 /abatron/mips32/reg4kc.def