Description
Describe the request
Print the output from the arduino-fwuploader
invocations to the IDE's "Output" panel.
🙂 It will be easier for the user to troubleshoot problems that might occur during the process.
🙂 Target-specific usage advice will be visible to the user.
Describe the current behavior
Arduino IDE's "Firmware Updater" and "Upload SSL Root Certificates" features allow the user to update the supplemental modules found on some Arduino boards. These features use the Arduino Firmware Uploader command line tool.
As with any other complex technical operation, the process might fail for a variety of reasons. For example:
- stdout from
arduino-fwuploader
is not logged #1497 - Certificate upload fails if Serial Monitor/Plotter is open #750
- https://forum.arduino.cc/t/uno-r4-wifi-board-is-online-but-no-ota-option-for-upload/1152220/33
- https://forum.arduino.cc/t/unable-to-update-firmware-on-arduino-nano-33-iot/1142340
Currently, the only feedback provided to the user when this happens is a generic message with advice that is not always helpful:
⚠ Installation failed. Please try again.
Even when the process is successful, it might be that the target-specific plugins print helpful usage advice. For example, this important message printed by Arduino Firmware Updater when targeting the UNO R4 WiFi board:
Upload completed! To complete the update process please disconnect and then reconnect the board.
🙁 The user doesn't receive any information about the cause of a failed operation in the Arduino IDE GUI. They must sift through the logs generated by the IDE to find any such information.
🙁 There is no way for important target-specific advice to be displayed to the user in the Arduino IDE GUI.
Arduino IDE version
Operating system
All
Operating system version
Any
Additional context
For the sake of transparency, I suggest also printing the arduino-fwuploader
command to the output, as is done by Arduino IDE during the compilation and upload processes when verbose output is enabled. This information can be useful for troubleshooting and also helps advanced users to develop workflows using Arduino Firmware Uploader directly.
Additional Requests
- https://forum.arduino.cc/t/arduino-uno-r4-wifi-board-shows-offline/1228184/3
- https://forum.arduino.cc/t/i-cant-update-the-firmware-on-my-arduino-uno-r4-wifi/1180604/17
- https://forum.arduino.cc/t/wlan-active-true-hang-up-for-arduino-rp2040-connect/1298318/4
Related
- Firmware update fails if Serial Monitor/Plotter is open #2060
- Communicate Internet access requirement of FW update/certificate upload to user #786
- https://forum.arduino.cc/t/arduino-create-agent-uno-r4-wifi-unable-to-update-firmware/1233222/2
- https://forum.arduino.cc/t/arduino-nano-33-iot-blank-drak-screen-and-firmware-update-issues/1320729
Issue checklist
- I searched for previous requests in the issue tracker
- I verified the feature was still missing when using the latest nightly build
- My request contains all necessary details