-@itemize
-@item @var{master_bank} The bank that this virtual address refers to.
-@end itemize
-
-So in the following example addresses 0xbfc00000 and 0x9fc00000 refer to
-the flash bank defined at address 0x1fc00000. Any cmds executed on
-the virtual banks are actually performed on the physical banks.
-@example
-flash bank $_FLASHNAME pic32mx 0x1fc00000 0 0 0 $_TARGETNAME
-flash bank vbank0 virtual 0xbfc00000 0 0 0 $_TARGETNAME $_FLASHNAME
-flash bank vbank1 virtual 0x9fc00000 0 0 0 $_TARGETNAME $_FLASHNAME
-@end example
-@end deffn
-
-@deffn {Flash Driver} fm3
-All members of the FM3 microcontroller family from Fujitsu
-include internal flash and use ARM Cortex M3 cores.
-The @var{fm3} driver uses the @var{target} parameter to select the
-correct bank config, it can currently be one of the following:
-@code{mb9bfxx1.cpu}, @code{mb9bfxx2.cpu}, @code{mb9bfxx3.cpu},
-@code{mb9bfxx4.cpu}, @code{mb9bfxx5.cpu} or @code{mb9bfxx6.cpu}.
-
-@example
-flash bank $_FLASHNAME fm3 0 0 0 0 $_TARGETNAME
-@end example
-@end deffn
-
-@deffn {Flash Driver} sim3x
-All members of the SiM3 microcontroller family from Silicon Laboratories
-include internal flash and use ARM Cortex M3 cores. It supports both JTAG
-and SWD interface.
-The @var{sim3x} driver tries to probe the device to auto detect the MCU.
-If this failes, it will use the @var{size} parameter as the size of flash bank.
-
-@example
-flash bank $_FLASHNAME sim3x 0 $_CPUROMSIZE 0 0 $_TARGETNAME
-@end example
-
-There are 2 commands defined in the @var{sim3x} driver:
-
-@deffn Command {sim3x mass_erase}
-Erases the complete flash. This is used to unlock the flash.
-And this command is only possible when using the SWD interface.
-@end deffn
-
-@deffn Command {sim3x lock}
-Lock the flash. To unlock use the @command{sim3x mass_erase} command.
-@end deffn
-
-@end deffn
-
-@subsection str9xpec driver
-@cindex str9xpec
-
-Here is some background info to help
-you better understand how this driver works. OpenOCD has two flash drivers for
-the str9:
-@enumerate
-@item
-Standard driver @option{str9x} programmed via the str9 core. Normally used for
-flash programming as it is faster than the @option{str9xpec} driver.
-@item
-Direct programming @option{str9xpec} using the flash controller. This is an
-ISC compilant (IEEE 1532) tap connected in series with the str9 core. The str9
-core does not need to be running to program using this flash driver. Typical use
-for this driver is locking/unlocking the target and programming the option bytes.
-@end enumerate
-
-Before we run any commands using the @option{str9xpec} driver we must first disable
-the str9 core. This example assumes the @option{str9xpec} driver has been
-configured for flash bank 0.
-@example
-# assert srst, we do not want core running
-# while accessing str9xpec flash driver
-jtag_reset 0 1
-# turn off target polling
-poll off
-# disable str9 core
-str9xpec enable_turbo 0
-# read option bytes
-str9xpec options_read 0
-# re-enable str9 core
-str9xpec disable_turbo 0
-poll on
-reset halt
-@end example
-The above example will read the str9 option bytes.
-When performing a unlock remember that you will not be able to halt the str9 - it
-has been locked. Halting the core is not required for the @option{str9xpec} driver
-as mentioned above, just issue the commands above manually or from a telnet prompt.
-
-@deffn {Flash Driver} str9xpec
-Only use this driver for locking/unlocking the device or configuring the option bytes.
-Use the standard str9 driver for programming.
-Before using the flash commands the turbo mode must be enabled using the
-@command{str9xpec enable_turbo} command.
-
-Several str9xpec-specific commands are defined:
-
-@deffn Command {str9xpec disable_turbo} num
-Restore the str9 into JTAG chain.
-@end deffn
-
-@deffn Command {str9xpec enable_turbo} num
-Enable turbo mode, will simply remove the str9 from the chain and talk
-directly to the embedded flash controller.
-@end deffn
-
-@deffn Command {str9xpec lock} num
-Lock str9 device. The str9 will only respond to an unlock command that will
-erase the device.
-@end deffn
-
-@deffn Command {str9xpec part_id} num
-Prints the part identifier for bank @var{num}.
-@end deffn
-
-@deffn Command {str9xpec options_cmap} num (@option{bank0}|@option{bank1})
-Configure str9 boot bank.
-@end deffn
-
-@deffn Command {str9xpec options_lvdsel} num (@option{vdd}|@option{vdd_vddq})
-Configure str9 lvd source.
-@end deffn