]> git.gag.com Git - fw/openocd/commit - src/flash/nor/msp432.c
flash/nor: update support for TI MSP432 devices
authorEdward Fewell <efewell@ti.com>
Fri, 28 Feb 2020 22:56:11 +0000 (16:56 -0600)
committerTomas Vanek <vanekt@fbl.cz>
Sat, 7 Mar 2020 15:32:24 +0000 (15:32 +0000)
commit82a5c55dc357b042b6755b343c920baebd410874
treea2f63b6149e19dcb02ce13a06be1806b6083730f
parente9932ef23d4af8466e724b7603549778fb93c294
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>
doc/openocd.texi
src/flash/nor/msp432.c
src/flash/nor/msp432.h