target: fix 'bp' command help message
[openocd.git] / tcl / target / atheros_ar9344.cfg
blobb698f25034b7a63ded43721a7a8a13f77318d83c
1 if { [info exists CHIPNAME] } {
2         set _CHIPNAME $_CHIPNAME
3 } else {
4         set _CHIPNAME ar9344
7 if { [info exists CPUTAPID] } {
8         set _CPUTAPID $CPUTAPID
9 } else {
10         set _CPUTAPID 0x00000001
13 jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id $_CPUTAPID
15 set _TARGETNAME $_CHIPNAME.cpu
16 target create $_TARGETNAME mips_m4k -endian big -chain-position $_TARGETNAME
18 proc test_ar9344_uart0_tx {} {
19         echo "configuring uart0.."
20         mww 0xb802000c 0x87
21         mww 0xb8020000 0x15
22         mww 0xb8020004 0
23         mww 0xb802000c 7
24         mww 0xb8020004 0
26         echo "send message: hallo world"
27         mww 0xb8020000 0x68
28         mww 0xb8020000 0x65
29         mww 0xb8020000 0x6c
30         mww 0xb8020000 0x6c
31         mww 0xb8020000 0x6f
32         mww 0xb8020000 0x20
33         mww 0xb8020000 0x77
34         mww 0xb8020000 0x6f
35         mww 0xb8020000 0x72
36         mww 0xb8020000 0x6c
37         mww 0xb8020000 0x64
38         mww 0xb8020000 0x0a