The firmware can be found in the Releases page for the MCU project.
Prerequisites
Flashing
- Download the latest firmware from Releases page.
- Connect the USB-C Port on the BlackPill to the computer.
- Press the BOOT0 button on the BlackPill, then reset it to enter bootloader mode.
- Launch STM32CubeProgrammer.
- On the right-hand side of the window, the drop-down menu shows ST-LINK. Change it to USB and click Connect.
- Select Erasing & Programming from the left side of the window (arrow pointing to a device icon).
- Click Browse in the middle of the window and locate the firmware file (
.elf).
- Press Start Programming.
- Wait for the firmware to be flashed.
- Close STM32CubeProgrammer and reset the BlackPill.
- A click sound should be heard from the relay module.
Next Steps
If there are no plans to modify the firmware, skip to the ChassisTuner section.