openocd/tcl
Andrey Yurovsky 2cf48d2c79 flash: at91samd: add SAML21 support, fix part ID issue
This adds support for the new Atmel SAML21 family of low-power Cortex
M0+ devices.  Their Flash controller is essentially the SAMDxx one so
the change consists of adding the new part IDs.  Unfortunately the
device ID logic had a couple of mistakes in it that did not affect
anything on SAMD2x devices (due to 0 values expected there) but that is
a problem on L21, it's therefore addressed here and things should now
match the datasheets.

Tested on Amtel SAML21 Xplained Pro development kit against the included
SAML21J18A there.  Also tested for regressions on a SAMD20 and SAMD21
using their dev kits.

Change-Id: I768f75e064b8656c15148730dacaa4c3acfc4101
Signed-off-by: Andrey Yurovsky <yurovsky@gmail.com>
Reviewed-on: http://openocd.zylin.com/2690
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
2015-04-16 20:30:34 +01:00
..
board flash: at91samd: add SAML21 support, fix part ID issue 2015-04-16 20:30:34 +01:00
chip Fix a typo. 2013-07-07 13:00:59 +00:00
cpld Add config file for Lattice LC4032ZE CPLD (ispMACH 4000ZE family) 2012-07-17 08:29:32 +00:00
cpu/arm Move TCL script files -- Step 2 of 2: 2009-05-27 06:49:24 +00:00
interface turtelizer2-revC: Tested with real hardware. 2015-04-14 12:07:22 +01:00
target docs: update OpenOCD url's to openocd.org domain 2015-04-16 20:28:21 +01:00
test TCL scripts: replace "puts" with "echo" 2010-11-09 08:12:51 +01:00
tools tcl: add TP-LINK TL-MR3020 to the firmware recovery script 2015-02-11 15:30:28 +00:00
bitsbytes.tcl TCL scripts: replace "puts" with "echo" 2010-11-09 08:12:51 +01:00
mem_helper.tcl TCL scripts: fix ocd_mem2array/mem2array 2010-09-28 10:44:50 +02:00
memory.tcl tcl: remove silly ocd_ prefix to array2mem and mem2array 2010-08-11 17:24:55 +02:00
mmr_helpers.tcl TCL scripts: replace "puts" with "echo" 2010-11-09 08:12:51 +01:00