]> git.sur5r.net Git - openocd/commit
flash/nor: add support for TI MSP432 devices
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)
commit3e84da55a64fbfb025c104d0968e2cb84de80a53
tree3b4e2dffe868ad4a96082053a3157b96a5b74f2d
parentb24301a01a0d9d98363bdeaadcdfcb604388e40f
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
region.

Tested using MSP432E401Y, MSP432P401R, and MSP432P4111
LaunchPads.
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
patch.
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>
27 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]
doc/openocd.texi
src/flash/nor/Makefile.am
src/flash/nor/drivers.c
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 [new file with mode: 0644]
tcl/target/ti_msp432p4xx.cfg [deleted file]