Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Unable to select serial port #920

Closed
zeier opened this issue Nov 8, 2019 · 8 comments
Closed

Unable to select serial port #920

zeier opened this issue Nov 8, 2019 · 8 comments

Comments

@zeier
Copy link

zeier commented Nov 8, 2019

Issue Type: Bug

I have set up the development environment as described here: https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-arduino-iot-devkit-az3166-get-started#prepare-the-development-environment

With Tera Term, I'm able to communicate with the IoT DevKit over the corresponding serial port (COM5).

However, in VS Code, I cannot select a serial port (nothing happens when I click on "Select Serial Port").

Extension version: 0.2.27
VS Code version: Code 1.40.0 (86405ea23e3937316009fc27c9361deee66ffbf5, 2019-11-06T17:02:13.381Z)
OS version: Windows_NT x64 10.0.18362

System Info
Item Value
CPUs Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz (8 x 1896)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: enabled
rasterization: enabled
skia_renderer: disabled_off
surface_control: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 7.93GB (2.77GB free)
Process Argv
Screen Reader no
VM 0%
@mathertel
Copy link

duplicate to #918

@dooriya
Copy link
Member

dooriya commented Nov 13, 2019

We're currently working on a new release containing the fix to this issue, will update you once we release is go public.

@dooriya
Copy link
Member

dooriya commented Nov 15, 2019

The serial port issue has been fixed in the latest Arduino extension release (0.2.28).
Please install the latest Arduino 0.2.28 from marketplace https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.vscode-arduino to verify if this is resolved on your environment.

@dooriya
Copy link
Member

dooriya commented Nov 20, 2019

Thanks you all for the feedback,
Since this issue is resolved in the latest 0.2.28 release, I gonna to close it here.

@dooriya dooriya closed this as completed Nov 20, 2019
@zeier
Copy link
Author

zeier commented Nov 20, 2019

Verified with version 0.2.28 that the issue does not occur anymore on my environment.

@simonl65
Copy link

As a workaround:

  1. open the folder where your .ino file resides
  2. open the .vscode folder
  3. edit arduino.json
  4. change the port
    e.g.
{
  "port":"COM4"
}

@schimini
Copy link

This is still an issue (v1.49.1)

@simonl65
Copy link

simonl65 commented Sep 21, 2020

Indeed it is 👎
Related issues: #922 #1104 #1101 #1099

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants