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

Start up baud rate always 115200 #1750

Open
usernameisdarian opened this issue May 31, 2024 · 2 comments
Open

Start up baud rate always 115200 #1750

usernameisdarian opened this issue May 31, 2024 · 2 comments
Labels
triage New issues that have not been reviewed.

Comments

@usernameisdarian
Copy link

I use 1000000 or 2000000 baud in the serial monitor. Set in the "vscode-serial-monitor.customBaudRates"

I use for Programming a STMG0B via the Arduino compiler.

During programming the serial monitor disconnects then reconnects as needed during the program but when it reconnects it always reconnects at 115200 Baud not the 1000000 baud that was set when it disconnected.

VSCode
Version: 1.89.1 (user setup)
Commit: dc96b837cf6bb4af9cd736aa3af08cf8279f7685
Date: 2024-05-07T05:13:33.891Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Windows_NT x64 10.0.19044

@github-actions github-actions bot added the triage New issues that have not been reviewed. label May 31, 2024
@JamesMessinger
Copy link

I have this same problem. I have my serial set to 9600 baud, but every time I upload a sketch to my Arduino Nano the serial monitor resets to 115200 baud and also changes the line endings from CRLF back to None.

@gcampbell-msft
Copy link
Contributor

@JamesMessinger @usernameisdarian Thanks for the issue! This issue actually belongs on the arduino extension. The reason is because the Arduino extension has its own mechanism for selecting a baud rate, and it is not aware of the Serial Monitor extension having custom baud rates. It instead relies on its own knowledge of selected baud rates. To make this better, the best solution would be to allow the arduino extension to see into the customBaudRates setting in VS Code, that way you can select it from the arduino extension and then restoration should work. Thanks!

Transferring to the arduino repo.

@gcampbell-msft gcampbell-msft transferred this issue from microsoft/vscode-serial-monitor Jun 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
triage New issues that have not been reviewed.
Projects
None yet
Development

No branches or pull requests

3 participants