Improved failure reporting for firmware download