Added custom bus error logic to bootloader