aboutsummaryrefslogtreecommitdiff
path: root/tcl/board
diff options
context:
space:
mode:
authorTomas Vanek <vanekt@fbl.cz>2017-10-27 21:43:25 +0200
committerTomas Vanek <vanekt@fbl.cz>2019-02-05 17:45:18 +0000
commitdeaf3d264123391d8fe5c4cccbf8fb8852e1be23 (patch)
tree321b1363c50f907a1aa1e81e5d1e2e046f6c0848 /tcl/board
parent346ce2f13f48f36550b2a1a3862801496e20c81b (diff)
flash/nor: flash driver and cfg for SAM E54, E53, E51 and D51
The new Microchip (former Atmel) series powered by Cortex-M4 looks very similar to older M0+ powered SAM D2x at the first sight. Unfortunately the new series differs a lot in important details. NVMCTRL has different register addresses, moved important bits and even changed binary command set. An universal driver for all SAM D/E would be very complicated. That's why a new driver was derived. Tested on Microchip SAM E54 Xplained Pro kit (board cfg included). Adjusted for the restructured dap support. Checked by valgrind and clang static analyzer. Change-Id: I26c67047a552076f4b207b9b89285a53d69b4ca4 Signed-off-by: Tomas Vanek <vanekt@fbl.cz> Reviewed-on: http://openocd.zylin.com/4272 Tested-by: jenkins Reviewed-by: Andres Vahter <andres.vahter@gmail.com>
Diffstat (limited to 'tcl/board')
-rw-r--r--tcl/board/microchip_same54_xplained_pro.cfg13
1 files changed, 13 insertions, 0 deletions
diff --git a/tcl/board/microchip_same54_xplained_pro.cfg b/tcl/board/microchip_same54_xplained_pro.cfg
new file mode 100644
index 00000000..db8a8561
--- /dev/null
+++ b/tcl/board/microchip_same54_xplained_pro.cfg
@@ -0,0 +1,13 @@
+#
+# Microchip (former Atmel) SAM E54 Xplained Pro evaluation kit.
+# http://www.microchip.com/developmenttools/productdetails.aspx?partno=atsame54-xpro
+#
+
+source [find interface/cmsis-dap.cfg]
+
+set CHIPNAME same54
+
+source [find target/atsame5x.cfg]
+
+reset_config srst_only
+