This is an automated email from Gerrit.

Thomas Schmid (tho...@rfranging.com) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/2177

-- gerrit

commit 18981f1427f8d34d54fc9221e45597ab940cf919
Author: Thomas Schmid <tho...@rfranging.com>
Date:   Mon Jun 16 16:36:22 2014 -0600

    Adding support for SAMR21
    
    Added the two known SAMR21 chip definitions for the SAMR21G18A and 
SAMR21E18A. Verified on the SAMR21 XPLAINED PRO kit.
    
    Change-Id: I309d6139a73d294282bb4833c40182aef5e18e40
    Signed-off-by: Thomas Schmid <tho...@rfranging.com>

diff --git a/src/flash/nor/at91samd.c b/src/flash/nor/at91samd.c
index 17bc8b9..cc25170 100644
--- a/src/flash/nor/at91samd.c
+++ b/src/flash/nor/at91samd.c
@@ -106,6 +106,12 @@ static const struct samd_part samd21_parts[] = {
        { 0xE, "SAMD21E14A", 16, 2 },
 };
 
+/* Known SAMR21 parts. */
+static const struct samd_part samr21_parts[] = {
+       { 0x19, "SAMR21G18A", 256, 32 },
+       { 0x1C, "SAMR21E18A", 256, 32 },
+};
+
 /* Each family of parts contains a parts table in the DEVSEL field of DID.  The
  * processor ID, family ID, and series ID are used to determine which exact
  * family this is and then we can use the corresponding table. */
@@ -123,6 +129,8 @@ static const struct samd_family samd_families[] = {
                samd20_parts, ARRAY_SIZE(samd20_parts) },
        { SAMD_PROCESSOR_M0, SAMD_FAMILY_D, SAMD_SERIES_21,
                samd21_parts, ARRAY_SIZE(samd21_parts) },
+       { SAMD_PROCESSOR_M0, SAMD_FAMILY_D, SAMD_SERIES_21,
+               samr21_parts, ARRAY_SIZE(samr21_parts) },
 };
 
 struct samd_info {

-- 

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to