Jens Bauer wrote: > >> What's required in order to get rid of the "Error: session's transport > >> is already selected." message in for instance lpc1788.cfg ? > > > > This suggests that lpc1788.cfg is trying to select transport *again* ? > > That was my impression too, but I can't seem to find where this would happen.
openocd/tcl $ git grep transport board/voltcraft_dso-3062c.cfg:# Enable this if your JTAG adapter supports multiple transports (JTAG or SWD). board/voltcraft_dso-3062c.cfg:### transport select jtag target/k40.cfg:# K40 devices support both JTAG and SWD transports. target/k60.cfg:# K60 devices support both JTAG and SWD transports. target/lpc17xx.cfg:# LPC17xx chips support both JTAG and SWD transports. target/lpc17xx.cfg:# Adapt based on what transport is active. target/stellaris.cfg:# Luminary chips support both JTAG and SWD transports. target/stellaris.cfg:# Adapt based on what transport is active. target/stm32_stlink.cfg:transport select $_TRANSPORT target/swj-dp.tcl:# on which transport is active. target/swj-dp.tcl:# based on the transport in use with this session. target/swj-dp.tcl:# for now, ignore non-JTAG and non-SWD transports target/swj-dp.tcl:set tran [transport select] Ignoring all the comments the last one looks interesting. openocd/tcl $ git grep swj-dp target/k40.cfg:source [find target/swj-dp.tcl] target/k60.cfg:source [find target/swj-dp.tcl] target/lpc17xx.cfg:source [find target/swj-dp.tcl] target/stellaris.cfg:source [find target/swj-dp.tcl] Maybe OpenOCD spits out an error message even though the current transport is only being inquired. //Peter ------------------------------------------------------------------------------ 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