Vscode-arduino: cannot select serial port

Created on 27 Oct 2020  路  6Comments  路  Source: microsoft/vscode-arduino

Issue Type: Bug

I cannot select the serial port, when I click on the "Open Serial Port" button, this is what I got:

Failed to open serial port COM4 due to error: + Error: \?\c:\Users\.vscode\extensions\vsciot-vscode.vscode-arduino-0.3.2\out\node_modules\usb-detection\build\Release\detection.node is not a valid Win32 application.
\?\c:\Users\.vscode\extensions\vsciot-vscode.vscode-arduino-0.3.2\out\node_modules\usb-detection\build\Release\detection.node

Extension version: 0.3.2
VS Code version: Code 1.50.1 (d2e414d9e4239a252d1ab117bd7067f125afd80a, 2020-10-13T15:06:15.712Z)
OS version: Windows_NT x64 10.0.19042


System Info

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz (8 x 2112)|
|GPU Status|2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: enabled_on
protected_video_decode: enabled
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled|
|Load (avg)|undefined|
|Memory (System)|7.85GB (0.61GB free)|
|Process Argv|--crash-reporter-id 06f577b2-fe72-4ce2-9d1c-47d9fe0091fe|
|Screen Reader|no|
|VM|0%|


P0 bug

Most helpful comment

@robotdad Excellent - it works for me :-)

  1. Update VSC to 0.50.1
  2. Download 0.3.3-rc
  3. Drag the vsix file over the extensions panel to install

Thank you

All 6 comments

There are dozens of bugs already open for this issue, and it appears the maintainers of this project haven't been active in several months. I've published a version of the extension with the required fixes here. https://github.com/maddogjt/vscode-arduino/releases/download/v0.3.2%2Bserialfix/vscode-arduino-0.3.2+serialfix.vsix

Prerelease build for the serial port issue is here: https://github.com/microsoft/vscode-arduino/releases/tag/v0.3.3-rc

I plan to publish a release with this fix tomorrow, Oct 30.

@robotdad I've not tried the prerelease build yet but just wanted to say - on behalf of all the plugin users - THANK YOU for your hard work.

@robotdad Excellent - it works for me :-)

  1. Update VSC to 0.50.1
  2. Download 0.3.3-rc
  3. Drag the vsix file over the extensions panel to install

Thank you

Resolved in the 0.3.3 release

Thank y'all.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AndreyKrupskii picture AndreyKrupskii  路  6Comments

shizn picture shizn  路  4Comments

micahalan picture micahalan  路  6Comments

kerrsmith picture kerrsmith  路  4Comments

mathieubrun picture mathieubrun  路  4Comments