flash/nor: add support for TI MSP432 devices 53/4153/10
authorEdward Fewell <efewell@ti.com>
Sat, 3 Jun 2017 02:20:26 +0000 (21:20 -0500)
committerTomas Vanek <vanekt@fbl.cz>
Wed, 18 Jul 2018 20:09:23 +0000 (21:09 +0100)
flash/nor: add support for TI MSP432 devices

Added msp432 flash driver to support the TI MSP432P4x and
MSP432E4x microcontrollers. Implemented the flash algo
helper as used in the TI debug and flash tools. This
implemention supports the MSP432E4, Falcon, and Falcon 2M
variants. The flash driver automatically detects the
connected variant and configures itself appropriately.
Added command to mass erase device for consistency with
TI tools and added command to unlock the protected BSL

Tested using MSP432E401Y, MSP432P401R, and MSP432P4111
Tested with embedded XDS110 debug probe in CMSIS-DAP
mode and with external SEGGER J-Link probe.

Removed ti_msp432p4xx.cfg file made obsolete by this
Change-Id: I3b29d39ccc492524ef2c4a1733f7f9942c2684c0
Signed-off-by: Edward Fewell <efewell@ti.com>
Reviewed-on: http://openocd.zylin.com/4153
Tested-by: jenkins
Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
26 files changed:
contrib/loaders/flash/msp432/MSP432E4_FlashLibIf.h [new file with mode: 0644]
contrib/loaders/flash/msp432/MSP432P4_FlashLibIf.h [new file with mode: 0644]
contrib/loaders/flash/msp432/Makefile [new file with mode: 0644]
contrib/loaders/flash/msp432/driverlib.c [new file with mode: 0644]
contrib/loaders/flash/msp432/driverlib.h [new file with mode: 0644]
contrib/loaders/flash/msp432/main_msp432e4x.c [new file with mode: 0644]
contrib/loaders/flash/msp432/main_msp432p401x.c [new file with mode: 0644]
contrib/loaders/flash/msp432/main_msp432p411x.c [new file with mode: 0644]
contrib/loaders/flash/msp432/msp432e4x.h [new file with mode: 0644]
contrib/loaders/flash/msp432/msp432e4x/msp432e4x.lds [new file with mode: 0644]
contrib/loaders/flash/msp432/msp432e4x_algo.inc [new file with mode: 0644]
contrib/loaders/flash/msp432/msp432p401x.h [new file with mode: 0644]
contrib/loaders/flash/msp432/msp432p401x/msp432p401x.lds [new file with mode: 0644]
contrib/loaders/flash/msp432/msp432p401x_algo.inc [new file with mode: 0644]
contrib/loaders/flash/msp432/msp432p411x.h [new file with mode: 0644]
contrib/loaders/flash/msp432/msp432p411x/msp432p411x.lds [new file with mode: 0644]
contrib/loaders/flash/msp432/msp432p411x_algo.inc [new file with mode: 0644]
contrib/loaders/flash/msp432/startup_msp432e4.c [new file with mode: 0644]
contrib/loaders/flash/msp432/startup_msp432p4.c [new file with mode: 0644]
src/flash/nor/msp432.c [new file with mode: 0644]
src/flash/nor/msp432.h [new file with mode: 0644]
tcl/board/ti_msp432_launchpad.cfg [new file with mode: 0644]
tcl/target/ti_msp432.cfg [moved from tcl/target/ti_msp432p4xx.cfg with 66% similarity]

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)