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

0.3.3 No serial output when extension indicated it's connected. #1130

Closed
boskoe opened this issue Oct 30, 2020 · 8 comments · Fixed by #1140 or #1142
Closed

0.3.3 No serial output when extension indicated it's connected. #1130

boskoe opened this issue Oct 30, 2020 · 8 comments · Fixed by #1140 or #1142
Labels
serial Issues with serial ports

Comments

@boskoe
Copy link

boskoe commented Oct 30, 2020

Connect to a COM port connected to a microcontroller that is serial printing once a second. Nothing is shown in the Output screen other than port connection status. Independent monitoring of the COM port with Putty shows the output from the
microcontroller.

[Edit]

Connecting to COM port does not change status Icon as I reported in #1125. Pressing F1 then Arduino: Close Serial Monitor results in:

[Starting] Opening the serial port - COM4
[Error] Failed to open the serial port - COM4
[Error]Error: Writing to COM port (GetOverlappedResult): Operation aborted
[Done] Closed the serial port

[Edit]

Works as expected on macOS Big Sur 11.0.1, MacBook Pro 2019

Version: 1.50.1 (user setup)
Commit: d2e414d9e4239a252d1ab117bd7067f125afd80a
Date: 2020-10-13T15:06:15.712Z (2 wks ago)
Electron: 9.2.1
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Windows_NT x64 10.0.19041

@boskoe
Copy link
Author

boskoe commented Nov 4, 2020

Well this is embarrassing. I opened this and previous issues based on VSCode and the Arduino 0.3.3-rc and 0.3.3 not having any serial output when connected to a controller. When using the Arduion IDE and this controller I got the expected serial output but not from the VSCode & Arduino Extension. Today plugged in a Adafruit Huzzah32 controller and began getting expected serial output with VSCode and Arduino 0.3.3 extension.

I have two controllers (Arduino Portenta) that exhibit this problem. The serial output from then works on my computer with Arduino IDE and Putty but not VSCode & Arduino 0.3.3 extension. Now I'm not sure this is a VSCode or Extension problem.

@adiazulay adiazulay added the serial Issues with serial ports label Nov 5, 2020
@adiazulay
Copy link
Contributor

@boskoe I wonder if the Portenta is expecting a DTR signal before it starts transmitting data. We merged #1140 yesterday into the develop branch which sends a DTR signal on serial open. Would you be able to try it out and see if that resolves the issue?

@boskoe
Copy link
Author

boskoe commented Nov 12, 2020

@adiazulay In and effort to mitigate this I have gone to VS Code Insiders so yes I would like to try anything and report my findings.
Is there a release candidate of the Arduino extension to try?

@adiazulay adiazulay linked a pull request Nov 17, 2020 that will close this issue
@boskoe
Copy link
Author

boskoe commented Nov 18, 2020

@adiazulay I was unable to test this as I couldn't figure out how to obtain the updated extension.

@adiazulay
Copy link
Contributor

@boskoe sorry for the delay, here is the rc with fix in it
https://github.com/microsoft/vscode-arduino/releases/tag/v0.3.4-rc

@boskoe
Copy link
Author

boskoe commented Nov 18, 2020

@adiazulay
I've tested an Arduino Portenta here at work with v0.3.4-rc and get no serial output. When I check with Putty I get serial output. I then attached a generic ESP32 board and get serial output with v0.3.4-rc, VSCode and Putty. I have another Portenta at home and will test with that one later.

@boskoe
Copy link
Author

boskoe commented Nov 18, 2020

@adiazulay
The Portenta at home exhibits the same behavior. Everything else works fine. This is no reason to hold up this release in my opinion.

@adiazulay adiazulay linked a pull request Nov 18, 2020 that will close this issue
@boskoe
Copy link
Author

boskoe commented Nov 20, 2020

@adiazulay

It appears that 0.3.4-rc2 has resolved the serial problem I reported with the Arduino Portenta.
Thank you.

@boskoe boskoe closed this as completed Nov 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
serial Issues with serial ports
Projects
None yet
2 participants