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