Hi,
Just now, I have send a email, and didn't described clearly about the
board. First the board has four cpus, and each cpu has four cores. The four
cpus are concatenated by fpga. The fisrt cpu output as the second cpu
input, the second cpu output as the third cpu input, the third cpu output
as the forth cpu input, finally the forth cpu output as host input. They
are relay on one jtag chain. I just know these about the board. And I
don't know how to write the config file. Could you help me?
And I have another board, which has single cpu same as above one. And I
have tested pass. Following the single cpu config file.
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