aboutsummaryrefslogtreecommitdiff
path: root/doc/openocd.texi
diff options
context:
space:
mode:
authorEdward Fewell <efewell@ti.com>2020-02-28 16:56:11 -0600
committerTomas Vanek <vanekt@fbl.cz>2020-03-07 15:32:24 +0000
commit82a5c55dc357b042b6755b343c920baebd410874 (patch)
treea2f63b6149e19dcb02ce13a06be1806b6083730f /doc/openocd.texi
parente9932ef23d4af8466e724b7603549778fb93c294 (diff)
downloadriscv-openocd-82a5c55dc357b042b6755b343c920baebd410874.zip
riscv-openocd-82a5c55dc357b042b6755b343c920baebd410874.tar.gz
riscv-openocd-82a5c55dc357b042b6755b343c920baebd410874.tar.bz2
flash/nor: update support for TI MSP432 devices
Added fixes for issues found in additional code reviews. Fixed host Endianness issues with using buffer reads and writes instead of the *_u32 variants. Changed code that tried to ID banks by hardcode bank_number values to use instead the bank base address. This fixes problems using configurations with multiple devices. Note that this replaces Change 4786 which has been abandoned because of extensive changes to the code to stop IDing banks by name. And I think I really messed up a rebase/merge on the document file. Tested on MSP432P401R, MSP432P4111, and MSP432E401Y Launchpads. Change-Id: Id05798b3aa78ae5cbe725ee762a164d673ee5767 Signed-off-by: Edward Fewell <efewell@ti.com> Reviewed-on: http://openocd.zylin.com/5481 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Diffstat (limited to 'doc/openocd.texi')
-rw-r--r--doc/openocd.texi8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index 8aab1ad..454ae06 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -6299,14 +6299,14 @@ if @{ [info exists IMEMORY] && [string equal $IMEMORY true] @} @{
All versions of the SimpleLink MSP432 microcontrollers from Texas
Instruments include internal flash. The msp432 flash driver automatically
recognizes the specific version's flash parameters and autoconfigures itself.
-Main program flash (starting at address 0) is flash bank 0. Information flash
-region on MSP432P4 versions (starting at address 0x200000) is flash bank 1.
+Main program flash starts at address 0. The information flash region on
+MSP432P4 versions starts at address 0x200000.
@example
flash bank $_FLASHNAME msp432 0 0 0 0 $_TARGETNAME
@end example
-@deffn Command {msp432 mass_erase} [main|all]
+@deffn Command {msp432 mass_erase} bank_id [main|all]
Performs a complete erase of flash. By default, @command{mass_erase} will erase
only the main program flash.
@@ -6315,7 +6315,7 @@ main program and information flash regions. To also erase the BSL in information
flash, the user must first use the @command{bsl} command.
@end deffn
-@deffn Command {msp432 bsl} [unlock|lock]
+@deffn Command {msp432 bsl} bank_id [unlock|lock]
On MSP432P4 versions, @command{bsl} unlocks and locks the bootstrap loader (BSL)
region in information flash so that flash commands can erase or write the BSL.
Leave the BSL locked to prevent accidentally corrupting the bootstrap loader.