From 8e44a9663df314ad527cca6687ea362c72e84a3f Mon Sep 17 00:00:00 2001 From: Andrey Yurovsky Date: Tue, 25 Feb 2014 22:18:03 -0800 Subject: Add support for the Atmel SAMG53 flash: at91sam4: add support for the SAMG53 family (this also covers the SAMG51). The SAMG5x parts have an EEFC (enhanced embedded flash controller) which seems to be identical to the EFC that the sam4 driver supports. Add a script for the Xplained Pro G53 board, this has the onboard CMSIS-DAP debugger and a SAMG53N19. Tested on this board and chip combination. Change-Id: I12af50402cd2069b3c7380d92e6fe54816d6c045 Signed-off-by: Andrey Yurovsky Reviewed-on: http://openocd.zylin.com/1974 Tested-by: jenkins Reviewed-by: Spencer Oliver --- tcl/target/at91samg5x.cfg | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tcl/target/at91samg5x.cfg (limited to 'tcl/target') diff --git a/tcl/target/at91samg5x.cfg b/tcl/target/at91samg5x.cfg new file mode 100644 index 00000000..d26455b0 --- /dev/null +++ b/tcl/target/at91samg5x.cfg @@ -0,0 +1,7 @@ +# script for the ATMEL samg5x CORTEX-M4F chip family +# + +source [find target/at91sam4XXX.cfg] + +set _FLASHNAME $_CHIPNAME.flash +flash bank $_FLASHNAME at91sam4 0x00400000 0 1 1 $_TARGETNAME -- cgit v1.2.3-18-g5258