Updated Compiling and flashing the firmware (markdown)

Candas1
2021-12-31 16:34:02 +01:00
parent 07af4469ba
commit e053151cef

@@ -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)