Updated Compiling and flashing the firmware (markdown)

Candas1
2021-12-31 16:31:20 +01:00
parent adbf69ac03
commit 07af4469ba

@@ -84,9 +84,10 @@ If you have set default_envs in [platformio.ini](/platformio.ini) you can ommit
### Troubleshooting ### Troubleshooting
If you cannot flash the firmware: If you cannot flash the firmware:
- Make sure you properly unlocked the chip - 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 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 - 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 pinout can differ on some boards
- 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)