From a23d92e441b4e5b3eb01716c50969e1681c92305 Mon Sep 17 00:00:00 2001 From: rusefillc <48498823+rusefillc@users.noreply.github.com> Date: Tue, 25 Jul 2023 12:42:14 -0400 Subject: [PATCH] only: HW CI flash erase progress (#5445) Co-authored-by: rusefillc --- .github/workflows/hw-ci/openocd_wipe_and_flash.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/hw-ci/openocd_wipe_and_flash.sh b/.github/workflows/hw-ci/openocd_wipe_and_flash.sh index 48c48c06c3..208c84ba68 100755 --- a/.github/workflows/hw-ci/openocd_wipe_and_flash.sh +++ b/.github/workflows/hw-ci/openocd_wipe_and_flash.sh @@ -13,4 +13,4 @@ set -e cd firmware # works on F4 with ST-LINK/V3 does not seem to work using V2 :( -openocd -f "$HW_SCRIPT" -c init -c targets -c "reset halt" -c "flash erase_sector 0 0 11" -c "flash write_image "deliver/rusefi.bin" 0x08000000" -c "reset run" -c "shutdown" \ No newline at end of file +openocd -f "$HW_SCRIPT" -c init -c targets -c "reset halt" -c "flash erase_sector 0 0 last" -c "flash write_image "deliver/rusefi.bin" 0x08000000" -c "reset run" -c "shutdown" \ No newline at end of file