Description
Describe the problem
No output in Serial Monitor using Arduino IDE 2.0 RC6 on Windows 10 with ESP32-CAM and CH340G
Because there are some pictures the detailed description in a Google Docs:
[Arduino IDE 2.0 problem with Serial monitor - Google Docs 2]
Discussion with ptillisch and also tests with CLI nightly build https://downloads.arduino.cc/arduino-cli/nightly/arduino-cli_nightly-latest_Windows_64bit.zip don't solve the problem.
To reproduce
Plug USB and according the sketch the LED blinks
starting the command ./arduino-cli.exe monitor -p COM5
The led is dark and the message is
Connected to COM5! Press CTRL-C to exit
no output is logged.
starting the command with unplugged USB
and plug USB few seconds after the message is
Connected to COM5! Press CTRL-C to exit.
��f������`���
and the led is dark.
With same sketch and
Arduino 1.8.16 after press reset on ESP board:
20:24:35.642 -> 9Zv⸮c/a{)a5⸮⸮⸮V:⸮aQVHhello #0
20:24:37.143 -> hello #1
20:24:37.658 -> hello #2
20:24:38.128 -> hello #3
20:24:38.641 -> hello #4
20:24:39.153 -> hello #5
20:24:39.622 -> hello #6
20:24:40.136 -> hello #7
20:24:40.648 -> hello #8
20:24:41.159 -> hello #9
20:24:41.625 -> hello #10
20:24:42.138 -> hello #11
and led blinks
Expected behavior
to have the same output as on Arduino 1.8.16
serial-monitor version
arduino-cli.exe Version: nightly-20220519 Commit: 6883b39 Date: 2022-05-19T01:34:16Z
Operating system
Windows
Operating system version
10 Pro 21H2
Additional context
please implement the behavior on Arduino 2.0 as on Arduino 1.8.16
Issue checklist
- I searched for previous reports in the issue tracker
- I verified the problem still occurs when using the latest version
- My report contains all necessary details