This is an automated email from Gerrit. "Tomas Vanek <[email protected]>" just uploaded a new patch set to Gerrit, which you can find at https://review.openocd.org/c/openocd/+/9331
-- gerrit commit b6ddc6753f8e5dfb3e94a123f6ec9438681476d6 Author: Tomas Vanek <[email protected]> Date: Sat Jan 3 12:09:20 2026 +0100 flash/nor: do not report error as unknown The command "flash erase_check" reported any error code from flash driver erase_check method as "unknown" despite the error is usually described in a log message from the flash driver layer. E.g.: Error: Target not halted unknown error when checking erase state of flash bank #0 at 0x00000000 Reword the message not to mislead user. Change-Id: Ica768fa2924c107fa36d0f654d2c3149aa608dc4 Signed-off-by: Tomas Vanek <[email protected]> diff --git a/src/flash/nor/tcl.c b/src/flash/nor/tcl.c index 517d9aca1d..2e7e6a38f7 100644 --- a/src/flash/nor/tcl.c +++ b/src/flash/nor/tcl.c @@ -192,7 +192,7 @@ COMMAND_HANDLER(handle_flash_erase_check_command) command_print(CMD, "successfully checked erase state"); else { command_print(CMD, - "unknown error when checking erase state of flash bank #%s at " + "Error: checking erase state of flash bank #%s at " TARGET_ADDR_FMT, CMD_ARGV[0], p->base); --
