Hi Jörg. Thank you for the quick reply. :)
On Wed, 18 Jun 2014 15:18:12 +0200, Jörg Fischer wrote: >> 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. Usually I do... $ openocd -f interface/ftdi/jtag-lock-pick_tiny_2.cfg -c "transport select swd" -f target/lpc1788.cfg -c ... But that won't work for LPC1788; it gives those errors I described for 'dummy.cfg' Note: interface/ftdi/JTAG-lock-pick_tiny_2.cfg works with SWD on a LPC11xx or LPC8xx. -So selecting transport using -c "transport select swd" or -c "transport select jtag" *is* the way it is intended to be used ? What's required in order to get rid of the "Error: session's transport is already selected." message in for instance lpc1788.cfg ? Love Jens ------------------------------------------------------------------------------ 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