hi
Thank you for your advise, and I have two board, one is has single cpu,
another one has four cpus, the two boards have a same cpu, which has four
cores, I have tested single cpu pass. And I don't know how to write another
config file. Fllowing the single cpu config file.
interface ft2232
if { [info exists CHIPNAME] } {
set _CHIPNAME $CHIPNAME
} else {
set _CHIPNAME ls3a
}
if { [info exists ENDIAN] } {
set _ENDIAN $ENDIAN
} else {
# this defaults to a bigendian
set _ENDIAN little
}
adapter_khz 6000
jtag newtap ls3a3 cpu -irlen 5 -ircapture 0x1 -irmask 0x1
jtag newtap ls3a2 cpu -irlen 5 -ircapture 0x1 -irmask 0x1
jtag newtap ls3a1 cpu -irlen 5 -ircapture 0x1 -irmask 0x1
jtag newtap $_CHIPNAME cpu -irlen 5 -ircapture 0x1 -irmask 0x1
set _TARGETNAME $_CHIPNAME.cpu
target create $_TARGETNAME mips64_m4k -endian $_ENDIAN -chain-position
ls3a.cpu
target create ls3a1.cpu mips64_m4k -endian $_ENDIAN -chain-position
ls3a1.cpu
target create ls3a2.cpu mips64_m4k -endian $_ENDIAN -chain-position
ls3a2.cpu
target create ls3a3.cpu mips64_m4k -endian $_ENDIAN -chain-position
ls3a3.cpu
target smp ls3a.cpu ls3a1.cpu ls3a2.cpu ls3a3.cpu
adapter_nsrst_delay 100
jtag_ntrst_delay 100
reset_config trst_only
init_reset 0
init
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel