Firmware · GPIO in practice
A GPIO port is switched off after reset, and writing to it before turning it on can fail without any error.