-
Notifications
You must be signed in to change notification settings - Fork 236
Serial monitor doesn't work on older OS #1393
Comments
I'm not able to reproduce this issue with extension 0.4.8 on VS Code 1.63.2 running on Windows. @Alexisdxyz (or upvoters @CodingCreate101, @dhassault, and @cschaffter) are you still seeing this issue, and if you are can you share a minimal code snippet that reproduces the issue? I'm wondering if this is the same problem as #1396 and #1402. |
I have not checked recently. I will try to get my versions and see if it's the same issue by adding some delay. Maybe by weekend 😬 |
Same issue here...
Seems like it trying to connect to that serial port, but it can't... I tried it with and without opened Serial Monitor in Arduino IDE, but no results (it should show error in VS Code). Using Extension version: 0.4.10 With vscode-arduino 0.4.3 and Code 1.58.2 it works as intended:
|
Thanks for the report @BelKed. Given that version 0.4.3 is the last time the serial monitor worked for you, I'm guessing this issue has something to do with this project's adoption of serial-monitor-cli, which started in version 0.4.4. Can you try running these commands in the terminal to help narrow down if the problem is coming from serial-monitor-cli itself, or the integration in VS Code? ~/.vscode/extensions/vsciot-vscode.vscode-arduino-0.4.10/out/serial-monitor-cli/darwin/main list-ports You should see a JSON response with each port available on your machine. Next, try to connect to one of the ports (I'm using ~/.vscode/extensions/vsciot-vscode.vscode-arduino-0.4.10/out/serial-monitor-cli/darwin/main open -b 115200 /dev/cu.SLAB_USBtoUART You should see output from the attached device, assuming it's writing data to the serial port. |
Yes, you are right, there is some problem with Running each of both commands show same error code: ❯ ~/.vscode/extensions/vsciot-vscode.vscode-arduino-0.4.10/out/serial-monitor-cli/darwin/main list-ports
[21267] Error loading Python lib '/Users/user/.vscode/extensions/vsciot-vscode.vscode-arduino-0.4.10/out/serial-monitor-cli/darwin/libpython3.8.dylib': dlopen: dlopen(/Users/user/.vscode/extensions/vsciot-vscode.vscode-arduino-0.4.10/out/serial-monitor-cli/darwin/libpython3.8.dylib, 10): Symbol not found: ____chkstk_darwin
Referenced from: /Users/user/.vscode/extensions/vsciot-vscode.vscode-arduino-0.4.10/out/serial-monitor-cli/darwin/libintl.8.dylib (which was built for Mac OS X 10.15)
Expected in: /usr/lib/libSystem.B.dylib
in /Users/user/.vscode/extensions/vsciot-vscode.vscode-arduino-0.4.10/out/serial-monitor-cli/darwin/libintl.8.dylib |
Thanks! That should be enough for us to try to repro the issue. |
@BelKed We have a possible solution that we'd like your help testing to confirm it works. Could you possibly follow these steps and let us know if it works?
Let us know if this solves your issue! |
Thanks, @gcampbell-msft! Now it works as intended: ❯ ~/.vscode/extensions/vsciot-vscode.vscode-arduino-0.4.10/out/serial-monitor-cli/darwin/main list-ports
[{"port": "/dev/cu.Bluetooth-Incoming-Port", "desc": "n/a", "hwid": "n/a"}, {"port": "/dev/cu.SLAB_USBtoUART", "desc": "CP2102 USB to UART Bridge Controller", "hwid": "USB VID:PID=10C4:EA60 SER=0001 LOCATION=253-1.2"}] ❯ ~/.vscode/extensions/vsciot-vscode.vscode-arduino-0.4.10/out/serial-monitor-cli/darwin/main open -b 115200 /dev/cu.SLAB_USBtoUART
Hello World!
Hello World!
Hello World!
... Now I can also upload sketches and open Serial Monitor without problems in VSCode:
|
Great! We will work to get this released as soon as we can. |
This issue should be fixed with the insertion of serial-monitor-cli v0.0.7, which will be included in the next release of the vscode-arduino extension. |
This issue has been fixed in the latest release of this extension, which is available in the VS Code extension marketplace. |
Issue Type: Bug
just update Vs code 1.63
Extension version: 0.4.8
VS Code version: Code 1.63.0 (7db1a2b88f7557e0a43fec75b6ba7e50b3e9f77e, 2021-12-07T06:26:56.179Z)
OS version: Windows_NT x64 10.0.22000
Restricted Mode: No
System Info
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
A/B Experiments
The text was updated successfully, but these errors were encountered: