]> git.gag.com Git - fw/openocd/blobdiff - tcl/target/bluenrg-x.cfg
bluenrg-x: simplyfied the driver
[fw/openocd] / tcl / target / bluenrg-x.cfg
index 691bbbf83b2744ac0276ce422a9f7295f600f84c..a9d321ee6bc1e9ea7c3c9addc5d68eca004d15f2 100644 (file)
@@ -23,13 +23,7 @@ if { [info exists WORKAREASIZE] } {
 
 adapter speed 4000
 
-if { [info exists CPUTAPID] } {
-   set _CPUTAPID $CPUTAPID
-} else {
-   set _CPUTAPID 0x0bb11477
-}
-
-swj_newdap $_CHIPNAME cpu -expected-id $_CPUTAPID
+swj_newdap $_CHIPNAME cpu -expected-id 0x0bb11477 -expected-id 0x0bc11477
 dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.cpu
 
 set _TARGETNAME $_CHIPNAME.cpu