Skip to content

Certificate upload fails if Serial Monitor/Plotter is open #750

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
per1234 opened this issue Jan 14, 2022 · 0 comments
Open

Certificate upload fails if Serial Monitor/Plotter is open #750

per1234 opened this issue Jan 14, 2022 · 0 comments
Assignees
Labels
topic: code Related to content of the project itself topic: serial monitor Related to the Serial Monitor type: imperfection Perceived defect in any part of project

Comments

@per1234
Copy link
Contributor

per1234 commented Jan 14, 2022

Describe the bug

The Arduino IDE includes an "Upload SSL Root Certificates"" tool that can be used to upload SSL certificates to the Wi-Fi radio module of Arduino boards such as the MKR WiFi 1010 and Nano 33 IoT.

🐛 If the Serial Monitor or Serial Plotter is open when a certificate upload is attempted, it fails.

To Reproduce

  1. Connect an Arduino board that has a u-blox NINA-W102 module to your computer via the USB cable.
  2. Select the board and port in the IDE.
  3. Open the Arduino IDE Serial Monitor (Tools > Serial Monitor).
  4. Select Tools > Upload SSL Root Certificates from the Arduino IDE menus.
  5. Select a certificate and the board in the Upload SSL Root Certificates dialog.
  6. Click the Upload button.
  7. Wait for the Upload process to finish.

🐛 The process fails without any indication of the cause:

⚠ Upload failed. Please try again.

Expected behavior

Automatically close the serial port as needed, reopening it in Serial Monitor once done, similar to how it is handled during the Upload process.

Desktop

  • OS: Windows 10
  • Version: 2.0.0-rc3-snapshot.35e5da5
    Date: 2022-01-13T17:15:54.562Z
    CLI Version: 0.20.2 [13783819]

Additional context

The IDE's "WiFi101 / WiFiNINA Firmware Updater"" tool had the same problem (#684), which was fixed already by #688. Perhaps that same fix can be applied to the "Upload SSL Root Certificates"" tool as well.


Additional reports:

@per1234 per1234 added topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project topic: serial monitor Related to the Serial Monitor labels Jan 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself topic: serial monitor Related to the Serial Monitor type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants