1.4 KiB
1.4 KiB
Troubleshooting
Probe Not Found
- Run
probe-rs list. - Check USB cable and power.
- Check
SWDIO,SWCLK,GND, and3V3.
Linux Udev Permissions
- You may need udev rules for ST-Link or your probe.
- Install the vendor or distro rules, then replug the probe.
Wrong Chip Selected
- Run
probe-rs chip list | rg STM32F103. - Override the default with
PROBE_RS_CHIP=STM32F103C8.
No Firmware Output
- Use
run-04orrun-08fromnix develop. - Confirm the firmware did not crash early.
- Confirm the probe stays attached.
- Confirm
BOOT0is low.
Host Chapter Does Not Run
- Use
run-00,run-01,run-02, orrun-03. - If you skipped Nix, make sure
rustup toolchain install 1.95.0andrustup target add thumbv7m-none-eabiare done. - If you skipped Nix, make sure
flip-linkis on yourPATHfor embedded builds.
Blue Pill LED Looks Inverted
- That is expected on most boards.
PC13is usually active-low, so driving it low turns the LED on.
Safety
- Check board voltage before connecting anything.
- Check
SWDIO,SWCLK,GND, and3V3wiring before flashing. - Do not assume a random button or LED pinout without checking the board.
Contribution
- Keep
nix develop,fmt,check, and the chapter build or run aliases working. - Document hardware assumptions when they matter.
- Do not claim hardware-tested behavior unless it was actually tested on hardware.