docs: add stm32 dual bank example

Change-Id: I1dfe134e2c7694fc978d14b4b21bdf9c82ca4b16
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/507
Tested-by: jenkins
__archive__
Spencer Oliver 2012-03-08 12:33:25 +00:00
parent 7d1f9bafc7
commit ea39d4b281
1 changed files with 6 additions and 0 deletions

View File

@ -4905,6 +4905,12 @@ the chip identification register, and autoconfigures itself.
flash bank $_FLASHNAME stm32f1x 0 0 0 0 $_TARGETNAME flash bank $_FLASHNAME stm32f1x 0 0 0 0 $_TARGETNAME
@end example @end example
If you have a target with dual flash banks then define the second bank
as per the following example.
@example
flash bank $_FLASHNAME stm32f1x 0x08080000 0 0 0 $_TARGETNAME
@end example
Some stm32f1x-specific commands Some stm32f1x-specific commands
@footnote{Currently there is a @command{stm32f1x mass_erase} command. @footnote{Currently there is a @command{stm32f1x mass_erase} command.
That seems pointless since the same effect can be had using the That seems pointless since the same effect can be had using the