flash/nor: Add support for TI CC26xx/CC13xx flash 58/4358/6
authorEdward Fewell <efewell@ti.com>
Fri, 19 Jan 2018 02:48:11 +0000 (20:48 -0600)
committerTomas Vanek <vanekt@fbl.cz>
Fri, 15 Jun 2018 19:06:25 +0000 (20:06 +0100)
commit7b03129916aa050f4d120a532659dbbba279f7be
tree31e6fa7684c91f2acef325a3d9da6997002e9e3f
parent06123153f38280608b1e92dcb766b31ade7e4668
flash/nor: Add support for TI CC26xx/CC13xx flash

Added cc26xx flash driver to support the TI CC26xx and CC13xx
microcontrollers. Driver is capable of determining which MCU
is connected and configures itself accordingly. Added config
files for four specific variants: CC26x0, CC13x0, CC26x2, and
CC13x2.

Note that the flash loader code is based on the sources used
to support flash in Code Composer Studio and Uniflash from TI.

Removed cc26xx.cfg file made obsolete by this patch.

Change-Id: Ie2b0f74f8af7517a9184704b839677d1c9787862
Signed-off-by: Edward Fewell <efewell@ti.com>
Reviewed-on: http://openocd.zylin.com/4358
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-by: Fredrik Hederstierna <fredrik@hederstierna.com>
25 files changed:
contrib/loaders/flash/cc26xx/Makefile [new file with mode: 0644]
contrib/loaders/flash/cc26xx/cc26x0/cc26x0r2f.lds [new file with mode: 0644]
contrib/loaders/flash/cc26xx/cc26x0_algo.inc [new file with mode: 0644]
contrib/loaders/flash/cc26xx/cc26x2/cc26x2r1f.lds [new file with mode: 0644]
contrib/loaders/flash/cc26xx/cc26x2_algo.inc [new file with mode: 0644]
contrib/loaders/flash/cc26xx/flash.c [new file with mode: 0644]
contrib/loaders/flash/cc26xx/flash.h [new file with mode: 0644]
contrib/loaders/flash/cc26xx/flashloader.c [new file with mode: 0644]
contrib/loaders/flash/cc26xx/flashloader.h [new file with mode: 0644]
contrib/loaders/flash/cc26xx/hw_regs.h [new file with mode: 0644]
contrib/loaders/flash/cc26xx/main.c [new file with mode: 0644]
contrib/loaders/flash/cc26xx/startup.c [new file with mode: 0644]
doc/openocd.texi
src/flash/nor/Makefile.am
src/flash/nor/cc26xx.c [new file with mode: 0644]
src/flash/nor/cc26xx.h [new file with mode: 0644]
src/flash/nor/drivers.c
tcl/board/ti_cc13x0_launchpad.cfg [new file with mode: 0644]
tcl/board/ti_cc13x2_launchpad.cfg [new file with mode: 0644]
tcl/board/ti_cc26x0_launchpad.cfg [new file with mode: 0644]
tcl/board/ti_cc26x2_launchpad.cfg [new file with mode: 0644]
tcl/target/ti_cc13x0.cfg [new file with mode: 0644]
tcl/target/ti_cc13x2.cfg [new file with mode: 0644]
tcl/target/ti_cc26x0.cfg [moved from tcl/target/cc26xx.cfg with 57% similarity, mode: 0644]
tcl/target/ti_cc26x2.cfg [new file with mode: 0644]

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      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)