IT lexicon › Hardware › Strapping pins

Strapping pins

Hardware På svenska → Updated: 2026-11-03

Ordinary I/O pins that a chip reads in the instant after reset to decide how it should boot.

When reset is released, the pin levels are sampled and latched into a register, after which the pins go back to being plain GPIO. On STM32, the BOOT0 pin decides whether the core starts from flash or from the built-in bootloader in system memory. The ESP32 has several: GPIO0 held low means download mode, and GPIO12 selects the flash supply voltage — pull it high with the wrong external circuit and the chip powers a 3.3 V flash at 1.8 V and refuses to boot.

The failures are classic and hard to spot. A sensor or LED that happens to sit on a strapping pin can put the board in the wrong mode, only sometimes, depending on how quickly the supply rises. Hence the pull-up or pull-down resistor on exactly these pins in nearly every board design, and hence the option, on chips that allow it, of moving the decision into option bytes or eFuses.

← Back to the lexicon