Skip to content

Display output from Arduino Firmware Uploader #2220

Open
@per1234

Description

@per1234

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:

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

73ddbef

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

Related

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: codeRelated to content of the project itselftype: enhancementProposed improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions