X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=doc%2Fopenocd.texi;h=6c6dc9ca71a4b622fd80e0ca01187cb13b0132a7;hp=aa37b37f7205691ca10fd4ace8e8e9889f3df265;hb=9f576d3f480b039571b6c911ad80d9aa9cf05f91;hpb=7a3eec2b4d9dbb9533acfb271dbe91afa0727c8e;ds=sidebyside diff --git a/doc/openocd.texi b/doc/openocd.texi index aa37b37f72..6c6dc9ca71 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -6607,9 +6607,10 @@ or upon executing the @command{stm32f1x options_load} command. The @var{num} parameter is a value shown by @command{flash banks}. @end deffn -@deffn Command {stm32f1x options_write} num (@option{SWWDG}|@option{HWWDG}) (@option{RSTSTNDBY}|@option{NORSTSTNDBY}) (@option{RSTSTOP}|@option{NORSTSTOP}) +@deffn Command {stm32f1x options_write} num (@option{SWWDG}|@option{HWWDG}) (@option{RSTSTNDBY}|@option{NORSTSTNDBY}) (@option{RSTSTOP}|@option{NORSTSTOP}) (@option{USEROPT} user_data) Writes the stm32 option byte with the specified values. The @var{num} parameter is a value shown by @command{flash banks}. +The @var{user_data} parameter is content of higher 16 bits of the option byte register (Data0 and Data1 as one 16bit number). @end deffn @deffn Command {stm32f1x options_load} num