; bdiGDB configuration file for MIPS Malta 24Kf board ; --------------------------------------------------- ; ; This configuration uses the YAMON monitor setup the board ; [INIT] ; Setup TLB ;WTLB 0x00000700 0x01E00017 ;Monitor Flash 2 x 16MB, uncached DVG ; ; Invalidate Caches ;IVIC ;Invalidate IC ;IVDC ;Invalidate DC [TARGET] ;CLOCK 0 ;BDI2000: JTAG clock 16MHz CLOCK 1 ;BDI3000: JTAG clock 16MHz POWERUP 5000 ;power-up delay WAKEUP 500 ;delay after releasing reset #0 CPUTYPE M24K ;the used target CPU type ;#0 CPUTYPE M24K MIPS16 ;M24K, force MIPS16 breakpoints ;#0 ENDIAN LITTLE ;target is little endian #0 ENDIAN BIG ;target is big endian #0 STARTUP STOP 4000 ;STOP mode is used to let the monitor init the system #0 WORKSPACE 0xA0000080 ;workspace in target RAM for fast download #0 BREAKMODE SOFT ;SOFT or HARD, HARD uses hardware breakpoints #0 STEPMODE JTAG ;JTAG, HWBP or SWBP #0 REGLIST STD FPR ;send also FP registers to GDB [HOST] IP 151.120.25.119 FILE E:\cygwin\home\demo\mips\fibo.x FORMAT ELF LOAD MANUAL ;load code MANUAL or AUTO after reset PROMPT M24K> [FLASH] ;WORKSPACE 0xa0000800 ;workspace in target RAM for fast programming algorithm CHIPTYPE I28BX16 ;Flash type (AM29F | AM29BX8 | AM29BX16 | I28BX8 | I28BX16) CHIPSIZE 0x200000 ;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 | 64) FILE E:\cygwin\home\bdidemo\mips\malta_24kf.cfg FORMAT BIN 0xbfe00000 ;FILE E:\cygwin\home\bdidemo\mips\yamon_02_04_off.bin ;FORMAT BIN 0xbfc00018 ; *** skip REVISION at 0xbfc00010 *** ;ERASE 0xbfc00000 ;erase sector 0 ;ERASE 0xbfc20000 ;erase sector 1 ;ERASE 0xbfc40000 ;erase sector 2 ;ERASE 0xbfc60000 ;erase sector 3 ;ERASE 0xbfc80000 ;erase sector 4 ;ERASE 0xbfca0000 ;erase sector 5 ;ERASE 0xbfcc0000 ;erase sector 6 ;ERASE 0xbfce0000 ;erase sector 7 ;ERASE 0xbfd00000 ;erase sector 8 ;ERASE 0xbfd20000 ;erase sector 9 ;ERASE 0xbfd40000 ;erase sector 10 ;ERASE 0xbfd60000 ;erase sector 11 ;ERASE 0xbfd80000 ;erase sector 12 ;ERASE 0xbfda0000 ;erase sector 13 ;ERASE 0xbfdc0000 ;erase sector 14 ;ERASE 0xbfde0000 ;erase sector 15 ERASE 0xbfe00000 ;erase sector 16 ;ERASE 0xbfe20000 ;erase sector 17 ;ERASE 0xbfe40000 ;erase sector 18 ;ERASE 0xbfe60000 ;erase sector 19 ;ERASE 0xbfe80000 ;erase sector 20 ;ERASE 0xbfea0000 ;erase sector 21 ;ERASE 0xbfec0000 ;erase sector 22 ;ERASE 0xbfee0000 ;erase sector 23 ;ERASE 0xbff00000 ;erase sector 24 ;ERASE 0xbff20000 ;erase sector 25 ;ERASE 0xbff40000 ;erase sector 26 ;ERASE 0xbff60000 ;erase sector 27 ;ERASE 0xbff80000 ;erase sector 28 ;ERASE 0xbffa0000 ;erase sector 29 ;ERASE 0xbffc0000 ;erase sector 30 ;ERASE 0xbffe0000 ;erase sector 31 [REGS] DMM1 0xFF300000 ;DSU base address DMM2 0xBF000000 ;Memory mapped registers FILE $reg24kf.def