From 367ff5d8b542f481bc611cbd85bdc90617f2b36f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Sun, 31 May 2020 23:53:38 +0200 Subject: [PATCH] README: update flashing over BT details --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f703e19..d1177b2 100644 --- a/README.md +++ b/README.md @@ -198,15 +198,15 @@ sudo systemctl restart bluetooth # pair device (you need the PIN) bluetoothctl power on -pair 98:D3:33:80:86:BA +pair 20:15:02:02:16:28 quit # connect to device -sudo rfcomm bind rfcomm0 98:D3:33:80:86:BA +sudo rfcomm bind rfcomm0 20:15:02:02:16:28 # switch to bootloader -echo "system" > /dev/rfcomm0 +echo "embedded" > /dev/rfcomm0 # flash firmware (it always fails the first time) stm32flash /dev/rfcomm0 -stm32flash /dev/rfcomm0 -S 0x08002000 -w application.bin -R +stm32flash /dev/rfcomm0 -b 115200 -S 0x08002000 -w application.bin -R # disconnect from device sudo rfcomm release rfcomm0 ~~~