From c4232bea2e2278b98a3b51e1d14b287d766ab5c2 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Wed, 4 May 2022 13:54:42 -0400 Subject: [PATCH] docs: Note pins used for stm32flash in Bootloaders.md Signed-off-by: Kevin O'Connor --- docs/Bootloaders.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/Bootloaders.md b/docs/Bootloaders.md index 884cfbfd..6933c47b 100644 --- a/docs/Bootloaders.md +++ b/docs/Bootloaders.md @@ -254,10 +254,11 @@ bossac -U -p /dev/ttyACM0 --offset=0x4000 -w out/klipper.bin -v -b -R ## STM32F103 micro-controllers (Blue Pill devices) The STM32F103 devices have a ROM that can flash a bootloader or -application via 3.3V serial. To access this ROM, one should connect -the "boot 0" pin to high and "boot 1" pin to low, and then reset the -device. The "stm32flash" package can then be used to flash the device -using something like: +application via 3.3V serial. Typically one would wire the PA10 (MCU +Rx) and PA9 (MCU Tx) pins to a 3.3V UART adapter. To access the ROM, +one should connect the "boot 0" pin to high and "boot 1" pin to low, +and then reset the device. The "stm32flash" package can then be used +to flash the device using something like: ``` stm32flash -w out/klipper.bin -v -g 0 /dev/ttyAMA0 ```