From: OpenOCD-Gerrit <ope...@us...> - 2021-09-17 12:59:38
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via c865879eb81b6e5fca58bed8b63f6336b98ec425 (commit) from fc74ccda52eced1f7be9fc99f071b0f47a7044ea (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit c865879eb81b6e5fca58bed8b63f6336b98ec425 Author: Tarek BOCHKATI <tar...@gm...> Date: Thu Sep 2 15:56:50 2021 +0100 doc: add a note to use 'stm32l4x option_load' after changing option bytes Change-Id: I502be27da892e393731d11e02203c736e77033d0 Signed-off-by: Tarek BOCHKATI <tar...@gm...> Reviewed-on: https://review.openocd.org/c/openocd/+/6533 Tested-by: jenkins Reviewed-by: Karl Palsson <ka...@tw...> Reviewed-by: Paul Fertser <fer...@gm...> Reviewed-by: Tomas Vanek <va...@fb...> diff --git a/doc/openocd.texi b/doc/openocd.texi index 9c94c7168..6a8350a51 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -7348,11 +7348,15 @@ Some stm32l4x-specific commands are defined: @deffn {Command} {stm32l4x lock} num Locks the entire stm32 device. The @var{num} parameter is a value shown by @command{flash banks}. + +@emph{Note:} To apply the protection change immediately, use @command{stm32l4x option_load}. @end deffn @deffn {Command} {stm32l4x unlock} num Unlocks the entire stm32 device. The @var{num} parameter is a value shown by @command{flash banks}. + +@emph{Note:} To apply the protection change immediately, use @command{stm32l4x option_load}. @end deffn @deffn Command {stm32l4x flashloader} num [@option{enable} | @option{disable}] @@ -7390,6 +7394,8 @@ The @var{num} parameter is a value shown by @command{flash banks}, @var{reg_offs is the register offset of the Option byte to write, and @var{reg_mask} is the mask to apply when writing the register (only bits with a '1' will be touched). +@emph{Note:} To apply the option bytes change immediately, use @command{stm32l4x option_load}. + For example to write the WRP1AR option bytes: @example stm32l4x option_write 0 0x28 0x00FF0000 0x00FF00FF ----------------------------------------------------------------------- Summary of changes: doc/openocd.texi | 6 ++++++ 1 file changed, 6 insertions(+) hooks/post-receive -- Main OpenOCD repository |