projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ensure Cortex-M reset wakes device from sleep (wfi/wfe)
[fw/openocd]
/
tcl
/
target
/
at91sam3XXX.cfg
diff --git
a/tcl/target/at91sam3XXX.cfg
b/tcl/target/at91sam3XXX.cfg
index 63759e3f5a67d90888c2ea99ef215468801c775f..b90e3f0157c93fcbeb1d9b9e78452f7eba9e907d 100644
(file)
--- a/
tcl/target/at91sam3XXX.cfg
+++ b/
tcl/target/at91sam3XXX.cfg
@@
-66,3
+66,7
@@
$_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size 16384 -work-ar
$_TARGETNAME configure -event gdb-flash-erase-start {
halt
}
+
+# if srst is not fitted use SYSRESETREQ to
+# perform a soft reset
+cortex_m3 reset_config sysresetreq