Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
target/cortex_m: fix soft_reset_halt
in GDB event "gdb-flash-erase-start", a soft reset dont perform correctly target need to halt Unfortunately, the execution of soft reset fails with time out error (after 100 ms: S_HALT not raised => Target not halted => reset not performed). After investigation, Accordingly to ARM DDI0403E.B, chapter “B3.2.6 Application Interrupt and Reset Control Register, AIRCR” before setting DEMCR.VC_CORERESET to perform local system reset, we must halt the core otherwisethe behavior is unpredictable. Change-Id: I440c66dca5effa2079ae330a31e2311525539e29 Signed-off-by: fedi BOUZAZI <[email protected]>
- Loading branch information