This is an automated email from Gerrit. "Tomas Vanek <van...@fbl.cz>" just uploaded a new patch set to Gerrit, which you can find at https://review.openocd.org/c/openocd/+/6744
-- gerrit commit 6900b31f06dcf8b68bfde30467fdc0dddbd6f2bb Author: Tomas Vanek <van...@fbl.cz> Date: Tue Nov 23 13:17:47 2021 +0100 doc: mention SWD multidrop Change-Id: I361dc351c407b67613eadef4d29e27ed0e00bd05 Signed-off-by: Tomas Vanek <van...@fbl.cz> diff --git a/doc/openocd.texi b/doc/openocd.texi index 0ab4b36ac..d3200384f 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -3472,6 +3472,17 @@ Parameters are currently the same as "jtag newtap" but this is expected to change. @end deffn +@cindex SWD multi-drop +The newer SWD devices (SW-DP v2 or SWJ-DP v2) support the multi-drop extension +of SWD protocol: two or more devices can be connected to one SWD adapter. +SWD transport works in multi-drop mode if @ref{dap_create,DAP} is configured +with both @code{-dp-id} and @code{-instance-id} parameters regardless how many +DAPs are created. + +Not all adapters and adapter drivers support SWD multi-drop. Only the following +adapter drivers are SWD multi-drop capable: +cmsis_dap (use an adapter with CMSIS-DAP version 2.0), ftdi, all bitbang based. + @subsection SPI Transport @cindex SPI @cindex Serial Peripheral Interface @@ -4385,6 +4396,7 @@ instead of "@option{-chain-position} @var{dotted.name}" when the target is creat The @command{dap} command group supports the following sub-commands: +@anchor{dap_create} @deffn {Command} {dap create} dap_name @option{-chain-position} dotted.name configparams... Declare a DAP instance named @var{dap_name} linked to the JTAG tap @var{dotted.name}. This also creates a new command (@command{dap_name}) --