stdout from arduino-fwuploader
is not logged
#1497
Labels
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Describe the problem
The non-GUI aspects of the Arduino IDE's "WiFi101 / WiFiNINA Firmware Updater" and "Upload SSL Root Certificates" features are provided by a command line tool named "Arduino Firmware Uploader" (executable name
arduino-fwuploader
).Only the most basic feedback is provided in the IDE's GUI about the progress of updating firmware or uploading a certificate. In the event the process fails, the logs can be checked for the output of the tool, which should provide more information about the problem.
🐛 Only the stderr stream from
arduino-fwuploader
is printed in the logs. The stdout stream may contain information essential for troubleshooting the failure.To reproduce
Equipment
Steps
<serial port>
is replaced by the port address of the board)ⓘ This will not be possible if using the Linux AppImage package of the IDE. You can open the port in a standalone installation of Arduino CLI, Arduino IDE 1.x Serial Monitor, or any other application.
🐛 The
arduino-fwuploader
output shown in the logs is not very helpful:arduino-fwuploader
command shown in the logs from a command line terminal.🙂 The output contains valuable information about the cause of the failure:
Expected behavior
The logs contain the combined stdout and stderr streams from
arduino-fwuploader
.Arduino IDE version
2.0.0-snapshot-8783952
Operating system
Windows
Operating system version
10
Additional context
I used "Tools > WiFi101 / WiFiNINA Firmware Updater" for the demo, but the same problem also occurs with the "Upload SSL Root Certificates" feature.
Issue checklist
The text was updated successfully, but these errors were encountered: