How to boot stm32 Blue Pill?
On the STM32 “Blue Pill”, “booting” basically means: Power the board correctly Put it in the right boot mode (BOOT0/BOOT1) Have valid firmware in flash I’ll walk you through the typical ways to boot it. 1. Powering the Blue Pill (don’t skip this) The board has an STM32F103C8 (or CB) + a 3.3 V regulator. You can power it in three safe ways : Via USB port (Mini-USB) Plug into USB → board gets 5 V → regulator makes 3.3 V for the MCU. Via 5V pin Feed regulated 5 V into the 5V pin, GND to GND. Direct 3.3 V Feed 3.3 V into 3.3V pin, GND to GND (bypasses regulator). ⚠️ Never put 5 V on the 3.3 V pin → instant blue smoke risk. If power is good, the red power LED should light. 2. Boot mode basics: BOOT0 & BOOT1 The STM32 decides where to boot from using BOOT0 and BOOT1 at reset: On the Blue Pill: BOOT0 is broken out with a jumper. BOOT1 (PB2) is usually fixed low (GND) with a resistor. So the useful modes are: BO...