From 529f353e5f344b11a3f96b7fb1af6414b65da909 Mon Sep 17 00:00:00 2001 From: Andrey Gusakov Date: Mon, 9 Mar 2026 22:21:59 +0300 Subject: [PATCH] Linux openocd flashing script for WBO F0 --- .../Wideband f0_module 2023-dec/flash-st-link.sh | 6 ++++++ .../Wideband f0_module 2023-dec/openocd-f0.cfg | 14 ++++++++++++++ 2 files changed, 20 insertions(+) create mode 100755 modules/wbo/fw-releases/Wideband f0_module 2023-dec/flash-st-link.sh create mode 100644 modules/wbo/fw-releases/Wideband f0_module 2023-dec/openocd-f0.cfg diff --git a/modules/wbo/fw-releases/Wideband f0_module 2023-dec/flash-st-link.sh b/modules/wbo/fw-releases/Wideband f0_module 2023-dec/flash-st-link.sh new file mode 100755 index 0000000..f9bace0 --- /dev/null +++ b/modules/wbo/fw-releases/Wideband f0_module 2023-dec/flash-st-link.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +openocd -f openocd-f0.cfg +# sleep 10 +# echo "shutdown" | nc localhost 4444 +echo Done! diff --git a/modules/wbo/fw-releases/Wideband f0_module 2023-dec/openocd-f0.cfg b/modules/wbo/fw-releases/Wideband f0_module 2023-dec/openocd-f0.cfg new file mode 100644 index 0000000..3f53b04 --- /dev/null +++ b/modules/wbo/fw-releases/Wideband f0_module 2023-dec/openocd-f0.cfg @@ -0,0 +1,14 @@ +#Include configs from openocd +source [find interface/stlink.cfg] +source [find target/stm32f0x.cfg] + +init +sleep 200 +reset halt +sleep 200 + +flash probe 0 +stm32f1x mass_erase 0 +flash write_image wideband_image_with_bl.bin 0x08000000 bin +reset +shutdown