]> git.sur5r.net Git - openocd/blobdiff - tcl/target/swj-dp.tcl
transport: make 'transport select' auto-select the first available transport if not set
[openocd] / tcl / target / swj-dp.tcl
index f759e7c8df3c265f620cde7213e2bef9b88754ca..1d274cb1290cbb73e6efdd64d2ef82b529732ac0 100644 (file)
@@ -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} {