|
From: openocd-gerrit <ope...@us...> - 2026-09-17 05:51:00
|
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 b66fefa8f46e4734f703693b5137c92fa61ee760 (commit)
from 40cf046076b9b93403e913a83921b3f97c7e26a0 (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 b66fefa8f46e4734f703693b5137c92fa61ee760
Author: Stepan Protsak <spr...@gm...>
Date: Thu Sep 10 20:20:57 2026 +0300
jtag/drivers/cmsis_dap: lower TLR reset message to debug level
cmsis_dap_execute_tlr_reset() announces every TAP reset at LOG_INFO.
A move to Test-Logic-Reset is a routine, expected operation issued on
every reset without TRST, at the end of scan chain examination and
repeatedly during SVF/XSVF playback, so the message is emitted many
times per session, flooding the output, and without telling the user
anything actionable.
doc/manual/style.txt reserves LOG_INFO() for insightful or necessary
information and asks to avoid flooding the log with frequently
generated messages, so LOG_DEBUG() is the appropriate level. No other
adapter driver logs a TLR reset at all, so this also removes an
inconsistency between drivers.
Change-Id: I26df6ac19c7977b6856178af209f0bfb08b6bc65
Signed-off-by: Stepan Protsak <spr...@gm...>
Reviewed-on: https://review.openocd.org/c/openocd/+/9985
Reviewed-by: Tomas Vanek <tom...@gm...>
Tested-by: jenkins
diff --git a/src/jtag/drivers/cmsis_dap.c b/src/jtag/drivers/cmsis_dap.c
index bb8a25262..9afe29209 100644
--- a/src/jtag/drivers/cmsis_dap.c
+++ b/src/jtag/drivers/cmsis_dap.c
@@ -1568,7 +1568,7 @@ static void cmsis_dap_execute_sleep(struct jtag_command *cmd)
/* Set TMS high for five TCK clocks, to move the TAP to the Test-Logic-Reset state */
static int cmsis_dap_execute_tlr_reset(struct jtag_command *cmd)
{
- LOG_INFO("cmsis-dap JTAG TLR_RESET");
+ LOG_DEBUG("cmsis-dap JTAG TLR_RESET");
uint8_t seq = 0xff;
int retval = cmsis_dap_cmd_dap_swj_sequence(8, &seq);
-----------------------------------------------------------------------
Summary of changes:
src/jtag/drivers/cmsis_dap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
Main OpenOCD repository
|