|
From: <ge...@op...> - 2012-08-30 11:59:10
|
This is an automated email from Gerrit. Spencer Oliver (sp...@sp...) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/802 -- gerrit commit 9110022226bf2de899a6983162d2eec7e097a526 Author: Spencer Oliver <sp...@sp...> Date: Thu Aug 30 12:53:34 2012 +0100 cortex_m: suggest using hardware srst if VECTRESET used If the target does not support SYSRESETREQ we fall back to using VECTRESET. This however does not reset the peripherals and we issue a warning to the user to suggest using a reset-init script. Also suggest that using hardware srst will give them the same functionality as using SYSRESETREQ. Change-Id: Ie1781c4b849fed66c52222e6539735537c879fb3 Signed-off-by: Spencer Oliver <sp...@sp...> diff --git a/src/target/cortex_m.c b/src/target/cortex_m.c index 5fa78ca..74505a8 100644 --- a/src/target/cortex_m.c +++ b/src/target/cortex_m.c @@ -1025,7 +1025,7 @@ static int cortex_m3_assert_reset(struct target *target) if (reset_config == CORTEX_M3_RESET_VECTRESET) { LOG_WARNING("Only resetting the Cortex-M3 core, use a reset-init event " - "handler to reset any peripherals"); + "handler to reset any peripherals or configure hardware srst support."); } { -- |