This is an automated email from Gerrit. "Eve Redero <[email protected]>" just uploaded a new patch set to Gerrit, which you can find at https://review.openocd.org/c/openocd/+/9239
-- gerrit commit 3f545acfb1d801c87979220198caeb498530431d Author: Eve Redero <[email protected]> Date: Sun Nov 16 22:23:39 2025 +0100 doc: ftdi gpio bitmask for port b When using port B in an FT4232 FTDI device, the bitmask is relative to the port. Adding a detailed explanation to documentation for this behaviour. Change-Id: I354e017590638b47624afad387b956af57eb22b6 Signed-off-by: Eve Redero <[email protected]> diff --git a/doc/openocd.texi b/doc/openocd.texi index f2ffa3a754..b2d0854b39 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -2806,6 +2806,16 @@ input as necessary to provide the full set of low, high and Hi-Z characteristics. In all other cases, the pins specified in a signal definition are always driven by the FTDI. +When using the second channel of an FT4232, the bitmask refers to the +relative position of the FTDI GPIO in the selected port, not to its absolute +position. GPIO BDBUS0 will be referred to as 0x01, not 0x0100. + +The following example sets BDBUS4 as SWDIO_OE output: +@example +ftdi channel 1 +ftdi layout_signal SWDIO_OE -data 0x10 +@end example + If @option{-alias} or @option{-nalias} is used, the signal is created identical (or with data inverted) to an already specified signal @var{name}. --
