; bdiGDB configuration file for Cavium CN3860 ; ------------------------------------------- ; ; This configuration uses the monitor setup the board ; [INIT] ; ; Invalidate Caches ;IVIC ;Invalidate IC ;IVDC ;Invalidate DC ; ; Setup TLB ;WTLB 0xC000000000000600 0x00000017 ;Map 0xc000... -> 0x0000... [TARGET] CPUTYPE CNMIPS ;the used target CPU type JTAGCLOCK 1 ;use 16 MHz JTAG clock JTAGDELAY 5 ;40 TCK's access delay ENDIAN BIG ;target is big endian POWERUP 2000 ;power-up delay 3 seconds RESET HARD ;hard reset via RST pin ;RESET JTAG ;STARTUP RUN STARTUP STOP 5000 ;STOP mode is used to let the monitor init the system WORKSPACE 0xA0000080 ;workspace in target RAM for fast download BREAKMODE HARD ;SOFT or HARD, HARD uses PPC hardware breakpoints STEPMODE JTAG ;JTAG, HWBP or SWBP ; SCANPRED 15 75 ;select last core in scan chain SCANSUCC 0 0 ; ;#1 CPUTYPE CNMIPS ;the used target CPU type ;#1 SCANPRED 14 70 ;#1 SCANSUCC 1 5 ;#1 STARTUP WAIT ;CPU is held in reset ; ;#2 CPUTYPE CNMIPS ;the used target CPU type ;#2 SCANPRED 13 65 ;#2 SCANSUCC 2 10 ;#2 STARTUP WAIT ;CPU is held in reset ; ;#3 CPUTYPE CNMIPS ;the used target CPU type ;#3 SCANPRED 12 60 ;#3 SCANSUCC 3 15 ;#3 STARTUP WAIT ;CPU is held in reset [HOST] IP 151.120.25.112 ;FILE E:\temp\dump1024k.bin ;FORMAT BIN 0xA0020000 FILE E:\temp\test.out FORMAT BIN 0x81000000 PROMPT cnMIPS> [FLASH] ; only to test execution of target code WORKSPACE 0xA0001000 ;workspace in SDRAM CHIPTYPE AM29BX16 ;Flash type CHIPSIZE 0x00200000 ;The size of one flash chip in bytes BUSWIDTH 16 ;The width of the flash memory bus in bits FILE E:\temp\dump16k.bin FORMAT BIN 0xA0300000 [REGS] ;used for all cores unless overridden DMM1 0xFF300000 ;DSU base address DMM2 0x80000000_0 ;xkphys segment FILE $regCNMIPS.def