This is an automated email from Gerrit.

Marc Schink ([email protected]) just uploaded a new patch set to 
Gerrit, which you can find at http://openocd.zylin.com/5205

-- gerrit

commit 51b3df102e64b9c0f5ad06269fab4684d11ffddb
Author: Marc Schink <[email protected]>
Date:   Wed Jun 5 13:34:29 2019 +0200

    tcl/target: Add initial Microchip SAML1x support
    
    There is not flash bank support at the moment.
    
    Change-Id: I833c009d9d21cdeb70b57d67eb557d50ed0fb4de
    Signed-off-by: Marc Schink <[email protected]>

diff --git a/tcl/target/saml1x.cfg b/tcl/target/saml1x.cfg
new file mode 100644
index 0000000..1fea0c6
--- /dev/null
+++ b/tcl/target/saml1x.cfg
@@ -0,0 +1,32 @@
+#
+# Microchip (formerly Atmel) SAM L1x target
+#
+# Note: These devices support SWD only.
+#
+
+transport select swd
+
+if { [info exists CHIPNAME] } {
+    set _CHIPNAME $CHIPNAME
+} else {
+    set _CHIPNAME saml1x
+}
+
+if { [info exists WORKAREASIZE] } {
+   set _WORKAREASIZE $WORKAREASIZE
+} else {
+   set _WORKAREASIZE 0x800
+}
+
+swd newdap $_CHIPNAME cpu -expected-id 0x0bf11477
+dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.cpu
+
+set _TARGETNAME $_CHIPNAME.cpu
+target create $_TARGETNAME cortex_m -dap $_CHIPNAME.dap -ap-num 0
+
+$_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size 
$_WORKAREASIZE -work-area-backup 0
+
+adapter_khz 1000
+
+cortex_m reset_config sysresetreq
+

-- 


_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to