From 03a44d6049aaba13d1383322848ade6db68f7bf9 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Sun, 25 Jul 2021 21:12:54 -0400 Subject: [PATCH] st-flash --- java_console/bin/flash_stlink.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/java_console/bin/flash_stlink.sh b/java_console/bin/flash_stlink.sh index a25aeaa93a..c796c4db49 100644 --- a/java_console/bin/flash_stlink.sh +++ b/java_console/bin/flash_stlink.sh @@ -2,5 +2,9 @@ # sudo apt-get install stlink-tools -y # sudo apt-get remove --purge stlink-tools +# armbian packages repo has 1.5 which does not seem to support ST-LINK 2.1 from newest discovery boards +# version 1.6.1 of https://github.com/stlink-org/stlink works! +# See https://freeelectron.ro/installing-st-link-v2-to-flash-stm32-targets-on-linux/ +# master of https://github.com/stlink-org/stlink does not work https://github.com/stlink-org/stlink/issues/1165 st-flash write rusefi.bin 0x08000000 \ No newline at end of file