Skip to content

Commit 4bed98c

Browse files
committed
Unable to flash
1 parent 5403eb2 commit 4bed98c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/stm32l4/flash-boot.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ set -e # Exit when any command fails.
55
set -x # Echo all commands.
66

77
#openocd/bin/openocd -f scripts/stm32l4/flash-init.ocd -f interface/stlink.cfg -f target/stm32l4x.cfg -f scripts/stm32l4/flash-boot.ocd
8-
openocd/bin/openocd -f scripts/stm32l4/flash-init.ocd -f interface/stlink-v2-1.cfg -c "transport select hla_swd" -f target/stm32l4x.cfg -f scripts/stm32l4/flash-boot.ocd
8+
$HOME/openocd-0.10.0/bin/openocd -s /Users/Luppy/openocd-0.10.0/scripts -f scripts/stm32l4/flash-init.ocd -f interface/stlink-v2-1.cfg -c "transport select hla_swd" -f target/stm32l4x.cfg -f scripts/stm32l4/flash-boot.ocd

scripts/stm32l4/flash-init.ocd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This is an OpenOCD script that prepares the STM32 Blue Pill before any flashing.
22

33
# Disable all openocd messages.
4-
debug_level 4
4+
debug_level 3
55

66
# Set flash size to 64 KB instead of default 128 KB
77
# echo "Setting flash size to 64 KB..."

0 commit comments

Comments
 (0)