]> git.sur5r.net Git - openocd/commitdiff
flash/nor/at91samd: add SAMR21E19A DID
authorTomas Vanek <vanekt@fbl.cz>
Tue, 23 Oct 2018 09:21:10 +0000 (11:21 +0200)
committerTomas Vanek <vanekt@fbl.cz>
Fri, 2 Nov 2018 11:55:49 +0000 (11:55 +0000)
While on it correct RAM amount of SAMR21x16A devices

Change-Id: Ie9ab9de1551bdceff17af7597a9a2ee41f5aebe0
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/4734
Reviewed-by: Eduardo Montoya
Tested-by: jenkins
src/flash/nor/at91samd.c

index 017d1441e9dd451120da34982689191f6bbf069a..5f172d118e56819af8765ab4e385a2e41e0a39bc 100644 (file)
@@ -165,12 +165,13 @@ static const struct samd_part samd21_parts[] = {
        { 0xE, "SAMD21E14A", 16, 2 },
 
     /* SAMR21 parts have integrated SAMD21 with a radio */
+       { 0x18, "SAMR21G19A", 256, 32 }, /* with 512k of serial flash */
        { 0x19, "SAMR21G18A", 256, 32 },
        { 0x1A, "SAMR21G17A", 128, 32 },
-       { 0x1B, "SAMR21G16A",  64, 32 },
+       { 0x1B, "SAMR21G16A",  64, 16 },
        { 0x1C, "SAMR21E18A", 256, 32 },
        { 0x1D, "SAMR21E17A", 128, 32 },
-       { 0x1E, "SAMR21E16A",  64, 32 },
+       { 0x1E, "SAMR21E16A",  64, 16 },
 
     /* SAMD21 B Variants (Table 3-7 from rev I of datasheet) */
        { 0x20, "SAMD21J16B", 64, 8 },