Hi, Am 18.06.2014 04:58, schrieb Jens Bauer: > > If I select transport (on the command-line) before I choose interface... > $ openocd -c "transport select swd" -f interface/dummy.cfg > ... I get this error: > Error: Debug adapter doesn't support any transports? When "transport select .." is executed, there is no debugger yet. Error message is a bit misleading here.
> > If I select transport after I choose interface... > $ openocd -f interface/dummy.cfg -c "transport select swd" > ...I get this error: > Error: session's transport is already selected. > > (The same happens when I use for instance > interface/ftdi/jtag-lock-pick_tiny_2.cfg) > > How am I expected to select transport; eg. what's the intended way ? Many debuggers have only JTAG as transport - you cannot select a transport is this case. Dummy is one of them. You select a transport this way: openocd -f interface/vsllink.cfg -c "transport select swd" -f target/lpc1768.cfg But this example requires a patched vsllink driver (see gerrit) - the default one does not support SWD IIRC. -- J. Fischer ------------------------------------------------------------------------------ HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing & Easy Data Exploration http://p.sf.net/sfu/hpccsystems _______________________________________________ OpenOCD-devel mailing list OpenOCD-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openocd-devel