; bdiGDB configuration file for MIPS Atlas 4Kc board ; -------------------------------------------------- ; ; This configuration uses the YAMON monitor setup the board ; [INIT] ; ;WM32 0xBF000700 0x000000C7 ;Enable write to system flash ; ; Setup TLB ;WTLB 0x00000700 0x01C00017 ;System Flash 2 x 16MB, uncached DVG ; ; Invalidate Caches ;IVIC ;Invalidate IC ;IVDC ;Invalidate DC [TARGET] CPUTYPE M4KC ;the used target CPU type JTAGCLOCK 0 ;use 8 MHz JTAG clock SCANPRED 0 0 ;JTAG devices connected before this core SCANSUCC 0 0 ;JTAG devices connected after this core ENDIAN BIG ;target is big endian STARTUP STOP 4000 ;STOP mode is used to let the monitor init the system ;WAKEUP 2000 ;delay after releasing reset 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 ;REGLIST STD CP0 ;send also CP0 registers to GDB [HOST] IP 151.120.25.119 FILE E:\cygwin\home\demo\mips\fibo.x FORMAT ELF ;FILE E:\cygwin\home\bdidemo\mips\vmlinus ;FORMAT ELF ;FILE E:\cygwin\home\bdidemo\mips\vmlinux_atlas_eb.srec ;FORMAT SREC LOAD MANUAL ;load code MANUAL or AUTO after reset [FLASH] WORKSPACE 0xa0000000 ;workspace in target RAM for fast programming algorithm CHIPTYPE STRATAX16 ;Flash type CHIPSIZE 0x800000 ;The size of one i28F640J5 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\atlas_mon.cfg FORMAT BIN 0xbc000000 ERASE 0xbc000000 ;erase sector 0 ERASE 0xbc040000 ;erase sector 1 ERASE 0xbc080000 ;erase sector 2 ERASE 0xbc0c0000 ;erase sector 3 ERASE 0xbc100000 ;erase sector 4 ERASE 0xbc140000 ;erase sector 5 ERASE 0xbc180000 ;erase sector 6 ERASE 0xbc1c0000 ;erase sector 7 ERASE 0xbc200000 ;erase sector 8 ERASE 0xbc240000 ;erase sector 9 ERASE 0xbc280000 ;erase sector 10 ERASE 0xbc2c0000 ;erase sector 11 ERASE 0xbc300000 ;erase sector 12 ERASE 0xbc340000 ;erase sector 13 ERASE 0xbc380000 ;erase sector 14 ERASE 0xbc3c0000 ;erase sector 15 [REGS] DMM1 0xFF300000 ;DSU base address DMM2 0xBF000000 ;Memory mapped registers FILE E:\cygwin\home\bdidemo\mips\reg4kc.def