From e053151cef8496586d811c16b027d53c4053ac67 Mon Sep 17 00:00:00 2001 From: Candas1 Date: Fri, 31 Dec 2021 16:34:02 +0100 Subject: [PATCH] Updated Compiling and flashing the firmware (markdown) --- Compiling-and-flashing-the-firmware.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Compiling-and-flashing-the-firmware.md b/Compiling-and-flashing-the-firmware.md index 185af7c..109093e 100644 --- a/Compiling-and-flashing-the-firmware.md +++ b/Compiling-and-flashing-the-firmware.md @@ -84,10 +84,11 @@ If you have set default_envs in [platformio.ini](/platformio.ini) you can ommit ### Troubleshooting If you cannot flash the firmware: +- If the LED on the ST-Link is blinking, the driver installation probably didn't go well - Make sure you properly [unlocked](https://github.com/EFeru/hoverboard-firmware-hack-FOC/wiki/How-to-Unlock-MCU-Flash) the chip - Make sure you don't have an already open connection to the chip in another software (st-link utility, ...) - Make sure you properly soldered the headers/wires, clean contact is mandatory -- Also keep in mind the debugging header pinout can differ on some boards +- Also keep in mind the debugging header pin-out can differ on some of the mainboards - In case you connected the pins and you get connection errors, make sure your ST-Link dongle pins are real, by sliding the plastic cover and checking on the ST-Link board itself. An example can be seen [here](https://youtu.be/XWh8yJ_p0HA?t=60)