Added error handle of download desktop client
Refactoring the auto_flash_from_TWCI