Improved error message on firmware upload