The firmware can be found in the Releases page for the MCU project.
Prerequisites
Flashing
- Download the latest firmware from Releases page.
- Plug the BlackPill into the ST-LINK V2, then connect the ST-LINK V2 to your computer.
- Press the BOOT0 button on the BlackPill, then reset it to enter bootloader mode.
- Launch STM32CubeProgrammer.
- Click the Connect button on the right side of the window.
- 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.
- You should hear a click sound from the relay module.
Next Steps
If you are not planning to modify the firmware, you can skip to the ChassisTuner section.