aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorluca vinci <luca.vinci@st.com>2019-11-05 08:45:04 +0100
committerTomas Vanek <vanekt@fbl.cz>2020-03-07 15:31:02 +0000
commit6bc0a77a6e1a1146c44785812595250857fc7307 (patch)
tree0cdb4b492c07559343c8fa271b18ee871c7030df /doc
parenta2e822834df52efef5e1bbcb91a6eb1afbf102db (diff)
downloadriscv-openocd-6bc0a77a6e1a1146c44785812595250857fc7307.zip
riscv-openocd-6bc0a77a6e1a1146c44785812595250857fc7307.tar.gz
riscv-openocd-6bc0a77a6e1a1146c44785812595250857fc7307.tar.bz2
bluenrg-x: added support for BlueNRG-LP device
Extended bluenrg-x flash driver with BlueNRG-LP flash controller. Changes include: - register set for the flash controller - made software structure prone to support more easily future devices - updated target config file Change-Id: I2e2dc70db32cf98c62e3a43f2e44a4600a25ac5b Signed-off-by: luca vinci <luca.vinci@st.com> Reviewed-on: http://openocd.zylin.com/5343 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Diffstat (limited to 'doc')
-rw-r--r--doc/openocd.texi6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index d059cfa..8bb4df6 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -5830,7 +5830,7 @@ The AVR 8-bit microcontrollers from Atmel integrate flash memory.
@end deffn
@deffn {Flash Driver} bluenrg-x
-STMicroelectronics BlueNRG-1 and BlueNRG-2 Bluetooth low energy wireless system-on-chip. They include ARM Cortex-M0 core and internal flash memory.
+STMicroelectronics BlueNRG-1, BlueNRG-2 and BlueNRG-LP Bluetooth low energy wireless system-on-chip. They include ARM Cortex-M0/M0+ core and internal flash memory.
The driver automatically recognizes these chips using
the chip identification registers, and autoconfigures itself.
@@ -5849,6 +5849,10 @@ flash erase_sector 0 0 79 # It will perform a mass erase on BlueNRG-1
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
+@end example
+
Triggering a mass erase is also useful when users want to disable readout protection.
@end deffn