; bdiGDB configuration file for Cavium CN3860 ; ------------------------------------------- ; ; This configuration uses the monitor setup the board ; [INIT] ; ; Invalidate Caches ;#0 IVIC ;Invalidate IC ;#0 IVDC ;Invalidate DC ; ; Setup TLB ;#0 WTLB 0xC000000000000600 0x00000017 ;Map 0xc000... -> 0x0000... [TARGET] ; common parameters POWERUP 2000 ;power-up delay 2 seconds JTAGCLOCK 1 ;use 16 MHz JTAG clock ; ;====================================================== ; !!!! defines the cores numbers without any holes !!!! ;====================================================== ; ; Core#0 parameters (active core after reset) #0 CPUTYPE CNMIPS ;the used target CPU type #0 RESET JTAG ;don't use RESET HARD #0 ENDIAN BIG ;target is big endian #0 JTAGDELAY 5 ;40 TCK's access delay #0 STARTUP STOP 5000 ;STOP mode is used to let the monitor init the system #0 WORKSPACE 0xA0000080 ;workspace in target RAM for fast download #0 BREAKMODE HARD ;SOFT or HARD #0 SCANPRED 15 75 ;select last core in scan chain #0 SCANSUCC 0 0 ; ; Core#1 parameters #1 CPUTYPE CNMIPS #1 RESET NONE #1 ENDIAN BIG #1 JTAGDELAY 5 #1 STARTUP WAIT ;CPU is held in reset #1 BREAKMODE HARD #1 SCANPRED 14 70 #1 SCANSUCC 1 5 ; ; Core#2 parameters #2 CPUTYPE CNMIPS #2 RESET NONE #2 ENDIAN BIG #2 JTAGDELAY 5 #2 STARTUP WAIT ;CPU is held in reset #2 BREAKMODE HARD #2 SCANPRED 13 65 #2 SCANSUCC 2 10 ; ; Core#3 parameters #3 CPUTYPE CNMIPS #3 RESET NONE #3 ENDIAN BIG #3 JTAGDELAY 5 #3 STARTUP WAIT ;CPU is held in reset #3 BREAKMODE HARD #3 SCANPRED 12 60 #3 SCANSUCC 3 15 ; ; Core#4 parameters #4 CPUTYPE CNMIPS #4 RESET NONE #4 ENDIAN BIG #4 JTAGDELAY 5 #4 STARTUP WAIT ;CPU is held in reset #4 BREAKMODE HARD #4 SCANPRED 11 55 #4 SCANSUCC 4 20 ; ; Core#5 parameters #5 CPUTYPE CNMIPS #5 RESET NONE #5 ENDIAN BIG #5 JTAGDELAY 5 #5 STARTUP WAIT ;CPU is held in reset #5 BREAKMODE HARD #5 SCANPRED 10 50 #5 SCANSUCC 5 25 ; ; Core#6 parameters #6 CPUTYPE CNMIPS #6 RESET NONE #6 ENDIAN BIG #6 JTAGDELAY 5 #6 STARTUP WAIT ;CPU is held in reset #6 BREAKMODE HARD #6 SCANPRED 9 45 #6 SCANSUCC 6 30 ; ; Core#7 parameters #7 CPUTYPE CNMIPS #7 RESET NONE #7 ENDIAN BIG #7 JTAGDELAY 5 #7 STARTUP WAIT ;CPU is held in reset #7 BREAKMODE HARD #7 SCANPRED 8 40 #7 SCANSUCC 7 35 ; ; Core#8 parameters #8 CPUTYPE CNMIPS #8 RESET NONE #8 ENDIAN BIG #8 JTAGDELAY 5 #8 STARTUP WAIT ;CPU is held in reset #8 BREAKMODE HARD #8 SCANPRED 7 35 #8 SCANSUCC 8 40 ; ; Core#9 parameters #9 CPUTYPE CNMIPS #9 RESET NONE #9 ENDIAN BIG #9 JTAGDELAY 5 #9 STARTUP WAIT ;CPU is held in reset #9 BREAKMODE HARD #9 SCANPRED 6 30 #9 SCANSUCC 9 45 ; ; Core#10 parameters #10 CPUTYPE CNMIPS #10 RESET NONE #10 ENDIAN BIG #10 JTAGDELAY 5 #10 STARTUP WAIT ;CPU is held in reset #10 BREAKMODE HARD #10 SCANPRED 5 25 #10 SCANSUCC 10 50 ; ; Core#11 parameters #11 CPUTYPE CNMIPS #11 RESET NONE #11 ENDIAN BIG #11 JTAGDELAY 5 #11 STARTUP WAIT ;CPU is held in reset #11 BREAKMODE HARD #11 SCANPRED 4 20 #11 SCANSUCC 11 55 ; ; Core#12 parameters #12 CPUTYPE CNMIPS #12 RESET NONE #12 ENDIAN BIG #12 JTAGDELAY 5 #12 STARTUP WAIT ;CPU is held in reset #12 BREAKMODE HARD #12 SCANPRED 3 15 #12 SCANSUCC 12 60 ; ; Core#13 parameters #13 CPUTYPE CNMIPS #13 RESET NONE #13 ENDIAN BIG #13 JTAGDELAY 5 #13 STARTUP WAIT ;CPU is held in reset #13 BREAKMODE HARD #13 SCANPRED 2 10 #13 SCANSUCC 13 65 ; ; Core#14 parameters #14 CPUTYPE CNMIPS #14 RESET NONE #14 ENDIAN BIG #14 JTAGDELAY 5 #14 STARTUP WAIT ;CPU is held in reset #14 BREAKMODE HARD #14 SCANPRED 1 5 #14 SCANSUCC 14 70 ; ; Core#15 parameters #15 CPUTYPE CNMIPS #15 RESET NONE #15 ENDIAN BIG #15 JTAGDELAY 5 #15 STARTUP WAIT ;CPU is held in reset #15 BREAKMODE HARD #15 SCANPRED 0 0 #15 SCANSUCC 15 75 ; ;====================================================== [HOST] IP 151.120.25.112 ;#0 FILE E:\temp\dump1024k.bin ;#0 FORMAT BIN 0xA0020000 #0 FILE E:\temp\test.out #0 FORMAT BIN 0x81000000 #0 PROMPT cnMIPS#0> #1 PROMPT cnMIPS#1> #2 PROMPT cnMIPS#2> #3 PROMPT cnMIPS#3> #4 PROMPT cnMIPS#4> #5 PROMPT cnMIPS#5> #6 PROMPT cnMIPS#6> #7 PROMPT cnMIPS#7> #8 PROMPT cnMIPS#8> #9 PROMPT cnMIPS#9> #10 PROMPT cnMIPS#10> #11 PROMPT cnMIPS#11> #12 PROMPT cnMIPS#12> #13 PROMPT cnMIPS#13> #14 PROMPT cnMIPS#14> #15 PROMPT cnMIPS#15> [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