X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=doc%2Fopenocd.texi;h=c526a632a7e8f1c1c0e5f932b8bdb7038d59338f;hp=b79325276d35e304e7d3d1701deb9b51780da7ce;hb=a6a642bf72a12c9a1fc4b92de2dc46d12cb3b58e;hpb=8536306b6ebcee8249376734d64db40a07916c9d diff --git a/doc/openocd.texi b/doc/openocd.texi index b79325276d..c526a632a7 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -6869,7 +6869,7 @@ The @var{num} parameter is a value shown by @command{flash banks}. @end deffn @deffn {Flash Driver} stm32l4x -All members of the STM32L4 microcontroller families from STMicroelectronics +All members of the STM32L4 and STM32WB microcontroller families from STMicroelectronics include internal flash and use ARM Cortex-M4 cores. The driver automatically recognizes a number of these chips using the chip identification register, and autoconfigures itself. @@ -6911,7 +6911,9 @@ is the register offset of the Option byte to read. For example to read the FLASH_OPTR register: @example stm32l4x option_read 0 0x20 -# Option Register: <0x40022020> = 0xffeff8aa +# Option Register (for STM32L4x): <0x40022020> = 0xffeff8aa +# Option Register (for STM32WBx): <0x58004020> = ... +# The correct flash base address will be used automatically @end example The above example will read out the FLASH_OPTR register which contains the RDP