From dd95f593a05d75a01ba181e3e037ccb45885b944 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Nohlg=C3=A5rd?= <joakim.nohlgard@eistec.se> Date: Sun, 8 Oct 2017 07:59:16 +0200 Subject: [PATCH] openocd: Run verify after write without intermediate reset Fixes problems with the watchdog interfering on Kinetis K devices when USE_OLD_OPENOCD=0. --- dist/tools/openocd/openocd.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/dist/tools/openocd/openocd.sh b/dist/tools/openocd/openocd.sh index 3fcbb6fee5..babf0bb224 100755 --- a/dist/tools/openocd/openocd.sh +++ b/dist/tools/openocd/openocd.sh @@ -162,7 +162,6 @@ do_flash() { -c 'reset halt' \ ${OPENOCD_PRE_FLASH_CMDS} \ -c 'flash write_image erase \"${IMAGE_FILE}\" ${IMAGE_OFFSET} ${IMAGE_TYPE}' \ - -c 'reset halt' \ ${OPENOCD_PRE_VERIFY_CMDS} \ -c 'verify_image \"${IMAGE_FILE}\"' \ -c 'reset run' \ -- GitLab