Add the ability to switch between bootloader and firmware seamlessly.