Firmware · Reliability, low power, debugging
A microcontroller's datasheet sleep current is measured under ideal conditions, and a real board often draws far more unless you set it up carefully.