ESP32-S3 Support on Arduino IDE Version 1.8.x vs V2.1.x

OpitZle
Posts: 2
Joined: Mon Jul 17, 2023 6:55 pm

ESP32-S3 Support on Arduino IDE Version 1.8.x vs V2.1.x

Postby OpitZle » Mon Jul 17, 2023 7:07 pm

I'm running an identical sketch for the ESP32-S3 twice: Once from the Arduino IDE v1.8.19 and a second time from the Arduino IDE v 2.1.1.
The results in terms of "Serial.println(...);" statements are different:
Running from the v1.8.19 IDE, I get the results from "Serial.print(...);" statements only shown in the Serial Monitor, when I have a physical cable connection from my Windows 10 PC to the "UART" plug on the ESP32-S3 device, but nothing shown, when connecting the PC to the "USB" plug.
Running from the v2.1.1 IDE, it is exactly vice-versa: No results in the Serial Monitor when connected to "UART", but OK when connected to "USB".

Is this by intention? A Bug? A feature? Why?

lbernstone
Posts: 826
Joined: Mon Jul 22, 2019 3:20 pm

Re: ESP32-S3 Support

Postby lbernstone » Tue Jul 18, 2023 2:02 am

Seriously threadjacking here.
There is an option under Tools to enable "USB CDC on boot". This turns on the logging to USB rather than UART. No idea why these would be different in the IDEs.

ESP_Sprite
Posts: 9725
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32-S3 Support on Arduino IDE Version 1.8.x vs V2.1.x

Postby ESP_Sprite » Tue Jul 18, 2023 10:09 am

I split the topic. OP: please start a new topic instead of kicking an old one in the future.

OpitZle
Posts: 2
Joined: Mon Jul 17, 2023 6:55 pm

Re: ESP32-S3 Support on Arduino IDE Version 1.8.x vs V2.1.x

Postby OpitZle » Tue Jul 18, 2023 11:28 am

@lbernstone: You are right: The settings of the "USB CDC on boot" flag were different in my two installations. Unfortunately I can no longer find out, why they are. Most likely it is, that I have changed one of them some time ago and forgot about it.
Now I even better understand the documentation of this flags - although I find them rather brief (for beginners).

@ESP_Sprite: Sorry for using (or even threadjacking!) the wrong post with my questions. Thanks for moving them. Will try to learn further.

Is there a need to set the post to "Closed" or "Solved"?

ESP_Sprite
Posts: 9725
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32-S3 Support on Arduino IDE Version 1.8.x vs V2.1.x

Postby ESP_Sprite » Wed Jul 19, 2023 1:03 am

Nah, no need. And don't worry too much about the threadjacking; now you know that it's not appreciated and we're good :)

Who is online

Users browsing this forum: No registered users and 35 guests