target: fix 'bp' command help message
[openocd.git] / tcl / target / bcm281xx.cfg
blob6432a2092671f78d271b9c77d3c512c8f45be9c8
1 # BCM281xx
3 if { [info exists CHIPNAME] } {
4         set  _CHIPNAME $CHIPNAME
5 } else {
6         set  _CHIPNAME bcm281xx
10 # Main CPU DAP
11 if { [info exists DAP_TAPID] } {
12         set _DAP_TAPID $DAP_TAPID
13 } else {
14         set _DAP_TAPID 0x4ba00477
17 jtag newtap $_CHIPNAME cpu -expected-id $_DAP_TAPID -irlen 4
20 # Dual Cortex-A9
21 set _TARGETNAME0 $_CHIPNAME.cpu0
22 set _TARGETNAME1 $_CHIPNAME.cpu1
24 dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.cpu
26 target create $_TARGETNAME0 cortex_a -dap $_CHIPNAME.dap -coreid 0 -dbgbase 0x3fe10000
27 target create $_TARGETNAME1 cortex_a -dap $_CHIPNAME.dap -coreid 1 -dbgbase 0x3fe12000
28 target smp $_TARGETNAME0 $_TARGETNAME1
30 $_TARGETNAME0 configure -event gdb-attach {
31         cortex_a dbginit
33 $_TARGETNAME1 configure -event gdb-attach {
34         cortex_a dbginit