diff options
author | Alexandre Torgue <alexandre.torgue@st.com> | 2017-11-13 14:05:28 +0100 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2017-12-06 21:29:10 +0000 |
commit | 6a66cccbad7e51ac1b3ea929ab0c86dd02617797 (patch) | |
tree | 5aa066072ff0fc4abbd767592ceb7d291db49985 /doc/openocd.texi | |
parent | 06aebfacda1f60052f6ea0f3d09936184e1bfab8 (diff) | |
download | riscv-openocd-6a66cccbad7e51ac1b3ea929ab0c86dd02617797.zip riscv-openocd-6a66cccbad7e51ac1b3ea929ab0c86dd02617797.tar.gz riscv-openocd-6a66cccbad7e51ac1b3ea929ab0c86dd02617797.tar.bz2 |
flash: Add new stm32h7x driver support
Add basic support for:
-STM32H7x (Embedded flash 2M)
Erase and write tested on stm32h743.
Change-Id: Ie8d8786227cdeee39fcf5663167a053ad8dcef4c
Signed-off-by: RĂ©mi Prud'homme <remi.prudhomme@st.com>
Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
Reviewed-on: http://openocd.zylin.com/4181
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'doc/openocd.texi')
-rw-r--r-- | doc/openocd.texi | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi index e452fa3..2719c2d 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -6009,6 +6009,33 @@ The @var{num} parameter is a value shown by @command{flash banks}, @var{optcr2} @end deffn @end deffn +@deffn {Flash Driver} stm32h7x +All members of the STM32H7 microcontroller families from ST Microelectronics +include internal flash and use ARM Cortex-M7 core. +The driver automatically recognizes a number of these chips using +the chip identification register, and autoconfigures itself. + +Note that some devices have been found that have a flash size register that contains +an invalid value, to workaround this issue you can override the probed value used by +the flash driver. + +@example +flash bank $_FLASHNAME stm32h7x 0 0x20000 0 0 $_TARGETNAME +@end example + +Some stm32h7x-specific commands are defined: + +@deffn Command {stm32h7x lock} num +Locks the entire stm32 device. +The @var{num} parameter is a value shown by @command{flash banks}. +@end deffn + +@deffn Command {stm32h7x unlock} num +Unlocks the entire stm32 device. +The @var{num} parameter is a value shown by @command{flash banks}. +@end deffn +@end deffn + @deffn {Flash Driver} stm32lx All members of the STM32L microcontroller families from ST Microelectronics include internal flash and use ARM Cortex-M3 and Cortex-M0+ cores. |