From: Spencer O. <nt...@us...> - 2010-02-12 11:49:58
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via f7a6e6277681f6e2702bb9d3e0176000bd09a402 (commit) via 747a607aef6572dad8740b76596f2b72036b8685 (commit) from d4d4b11a778c169a23a99f03e9d61f6bf21002c2 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit f7a6e6277681f6e2702bb9d3e0176000bd09a402 Author: Spencer Oliver <nt...@us...> Date: Thu Feb 11 20:56:32 2010 +0000 STR9xpec: issue warning when unlocking device Issue warning to user when unlocking or writing the option bytes. The new settings will not take effect until a target reset. Signed-off-by: Spencer Oliver <nt...@us...> diff --git a/src/flash/nor/str9xpec.c b/src/flash/nor/str9xpec.c index f0e11a5..243336a 100644 --- a/src/flash/nor/str9xpec.c +++ b/src/flash/nor/str9xpec.c @@ -915,6 +915,10 @@ COMMAND_HANDLER(str9xpec_handle_flash_options_write_command) if ((status & ISC_STATUS_ERROR) != STR9XPEC_ISC_SUCCESS) return ERROR_FLASH_OPERATION_FAILED; + command_print(CMD_CTX, "str9xpec write options complete.\n" + "INFO: a reset or power cycle is required " + "for the new settings to take effect."); + return ERROR_OK; } @@ -1077,6 +1081,10 @@ COMMAND_HANDLER(str9xpec_handle_flash_unlock_command) if ((status & ISC_STATUS_ERROR) != STR9XPEC_ISC_SUCCESS) return ERROR_FLASH_OPERATION_FAILED; + command_print(CMD_CTX, "str9xpec unlocked.\n" + "INFO: a reset or power cycle is required " + "for the new settings to take effect."); + return ERROR_OK; } commit 747a607aef6572dad8740b76596f2b72036b8685 Author: Spencer Oliver <nt...@us...> Date: Thu Feb 11 20:55:31 2010 +0000 STM32x: issue warning when unlocking device (bug #16) Issue warning to user when unlocking or writing the option bytes. The new settings will not take effect until a target reset. Signed-off-by: Spencer Oliver <nt...@us...> diff --git a/src/flash/nor/stm32x.c b/src/flash/nor/stm32x.c index eaa3a0e..bfdd3cd 100644 --- a/src/flash/nor/stm32x.c +++ b/src/flash/nor/stm32x.c @@ -978,7 +978,9 @@ COMMAND_HANDLER(stm32x_handle_unlock_command) return ERROR_OK; } - command_print(CMD_CTX, "stm32x unlocked"); + command_print(CMD_CTX, "stm32x unlocked.\n" + "INFO: a reset or power cycle is required " + "for the new settings to take effect."); return ERROR_OK; } @@ -1114,7 +1116,9 @@ COMMAND_HANDLER(stm32x_handle_options_write_command) return ERROR_OK; } - command_print(CMD_CTX, "stm32x write options complete"); + command_print(CMD_CTX, "stm32x write options complete.\n" + "INFO: a reset or power cycle is required " + "for the new settings to take effect."); return ERROR_OK; } ----------------------------------------------------------------------- Summary of changes: src/flash/nor/stm32x.c | 8 ++++++-- src/flash/nor/str9xpec.c | 8 ++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) hooks/post-receive -- Main OpenOCD repository |