diff options
author | Kevin Vermilion <kevin.vermilion@gmail.com> | 2019-01-30 11:01:48 -0800 |
---|---|---|
committer | Tomas Vanek <vanekt@fbl.cz> | 2019-02-07 08:02:10 +0000 |
commit | ecc2f4a694d10e9cc4daf22c76e19d596336e0f3 (patch) | |
tree | 34b41d7498e7f3eb02c9c7914a84aa8612c6d46e /src/flash | |
parent | 740c3ec238adec146afb93e58fe7c17e1044f4ef (diff) | |
download | riscv-openocd-ecc2f4a694d10e9cc4daf22c76e19d596336e0f3.zip riscv-openocd-ecc2f4a694d10e9cc4daf22c76e19d596336e0f3.tar.gz riscv-openocd-ecc2f4a694d10e9cc4daf22c76e19d596336e0f3.tar.bz2 |
at91samd: Add flash programming support for SAMC2?N* parts
Added id, name, flash size and RAM size for following parts to samc20_parts[]:
SAMC20N18A
SAMC20N17A
And the following to samc21_parts[]:
SAMC21N18A
SAMC21N17A
Change-Id: Ie8cf1c531a60bfaed6e814d436d232afb89dae3f
Signed-off-by: Kevin Vermilion <kevin.vermilion@gmail.com>
Reviewed-on: http://openocd.zylin.com/4880
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Diffstat (limited to 'src/flash')
-rw-r--r-- | src/flash/nor/at91samd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/flash/nor/at91samd.c b/src/flash/nor/at91samd.c index 3c63102..90df8be 100644 --- a/src/flash/nor/at91samd.c +++ b/src/flash/nor/at91samd.c @@ -262,6 +262,8 @@ static const struct samd_part samc20_parts[] = { { 0x0B, "SAMC20E17A", 128, 16 }, { 0x0C, "SAMC20E16A", 64, 8 }, { 0x0D, "SAMC20E15A", 32, 4 }, + { 0x20, "SAMC20N18A", 256, 32 }, + { 0x21, "SAMC20N17A", 128, 16 }, }; /* Known SAMC21 parts. */ @@ -278,6 +280,8 @@ static const struct samd_part samc21_parts[] = { { 0x0B, "SAMC21E17A", 128, 16 }, { 0x0C, "SAMC21E16A", 64, 8 }, { 0x0D, "SAMC21E15A", 32, 4 }, + { 0x20, "SAMC21N18A", 256, 32 }, + { 0x21, "SAMC21N17A", 128, 16 }, }; /* Each family of parts contains a parts table in the DEVSEL field of DID. The |