X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=tcl%2Ftarget%2Fswj-dp.tcl;h=1d274cb1290cbb73e6efdd64d2ef82b529732ac0;hb=c32f81f7186ac825652df4226646b3505b01f940;hp=4f2b49692bb1582351e0ab23a38d22528aac4d2e;hpb=c7384117c66e8f18896ca09ab8095d6da16bb1e5;p=openocd.git diff --git a/tcl/target/swj-dp.tcl b/tcl/target/swj-dp.tcl index 4f2b49692b..1d274cb129 100644 --- a/tcl/target/swj-dp.tcl +++ b/tcl/target/swj-dp.tcl @@ -19,8 +19,8 @@ # them more uniformly irlen too...) if [catch {transport select}] { - echo "Info : session transport was not selected, defaulting to JTAG" - transport select jtag + echo "Error: unable to select a session transport. Can't continue." + shutdown } proc swj_newdap {chip tag args} { @@ -30,7 +30,5 @@ proc swj_newdap {chip tag args} { eval jtag newtap $chip $tag $args } elseif [using_swd] { eval swd newdap $chip $tag $args - } elseif [string equal [transport select] "cmsis-dap"] { - eval cmsis-dap newdap $chip $tag $args } }