projects
/
fw
/
stlink
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Modify shutdown seqeunce. Now a F107 in sleep mode reacts on the reset pin after...
[fw/stlink]
/
src
/
stlink-common.c
diff --git
a/src/stlink-common.c
b/src/stlink-common.c
index 8bc2a8bf02b0a84d0f409f7bf52487a8aa7af2c2..74c5bcc7c4fa65e5e403b25f03f338321d7164d6 100644
(file)
--- a/
src/stlink-common.c
+++ b/
src/stlink-common.c
@@
-359,6
+359,7
@@
void stlink_close(stlink_t *sl) {
void stlink_exit_debug_mode(stlink_t *sl) {
DLOG("*** stlink_exit_debug_mode ***\n");
+ stlink_write_debug32(sl, DHCSR, DBGKEY);
sl->backend->exit_debug_mode(sl);
}