aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorluca vinci <luca.vinci@st.com>2020-01-08 10:15:40 +0100
committerTomas Vanek <vanekt@fbl.cz>2020-03-07 15:31:09 +0000
commite9932ef23d4af8466e724b7603549778fb93c294 (patch)
tree8a6515bc13db7e6d7e67d549f6cf1707a997f578 /doc
parent6bc0a77a6e1a1146c44785812595250857fc7307 (diff)
downloadriscv-openocd-e9932ef23d4af8466e724b7603549778fb93c294.zip
riscv-openocd-e9932ef23d4af8466e724b7603549778fb93c294.tar.gz
riscv-openocd-e9932ef23d4af8466e724b7603549778fb93c294.tar.bz2
bluenrg-x: simplyfied the driver
Adopted only fast algorithm for flash programming: - write_word and write_byte methods have been removed. - start and end write alignments have been defined. Moved flash controller registers offsets in a common file shared with the flash algorithm. - the flash base address is passed to the flash algorithm as a parameter. Removed unused functions Change-Id: I80aeab3994e477044bbcf02e66d9525dae0cb491 Signed-off-by: luca vinci <luca.vinci@st.com> Reviewed-on: http://openocd.zylin.com/5393 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz> Reviewed-by: Michele Sardo <msmttchr@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/openocd.texi10
1 files changed, 1 insertions, 9 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index 8bb4df6..8aab1ad 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -5842,15 +5842,7 @@ Note that when users ask to erase all the sectors of the flash, a mass erase com
each single sector one by one.
@example
-flash erase_sector 0 0 79 # It will perform a mass erase on BlueNRG-1
-@end example
-
-@example
-flash erase_sector 0 0 127 # It will perform a mass erase on BlueNRG-2
-@end example
-
-@example
-flash erase_sector 0 0 127 # It will perform a mass erase on BlueNRG-LP
+flash erase_sector 0 0 last # It will perform a mass erase
@end example
Triggering a mass erase is also useful when users want to disable readout protection.