-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix software reset by writing in SYSRESETQ register when a reset is r…
…equested (#73) Some debugger software (e.g. Keil) does not perform a software reset when resetting the target. When this option enabled, a soft reset is attempted when DAP_ResetTarget() is performed. This is done by writing to the SYSRESETREQ field of the AIRCR register in the Cortex-M architecture. This should work for ARMv6-m, ARMv7-m and ARMv8-m architecture. However, there is no guarantee that the reset operation will be executed correctly. Only available for SWD. Links: #73 --------- Co-authored-by: windowsair <msdn_02@sina.com>
- Loading branch information
1 parent
adfecf1
commit 2dc7bd6
Showing
2 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters