I was using ESP32 C3 board on port USB port. To receive the serial information send by the ESP32 i had change to the Serieal port and could use the serial monitor. I don't know if this was a workaround but it worked.
In the meantime i had installed an additonal board (Arduino Pro) and this is occupying the serial port. I have removed the Arduino board but it still remains in the ports drop down menu.
As soon as i chose the serial port i get the message: "Unknown FQBN: platform arduino:avr is not installed. Could not connect to /dev/ttyS0 serial port."
How can i "clear" the IDE that it does not look for an Arduino board which is not installed anymore?
Or is there a another way to receive the serial information from the EPS32 board?
I can select a board to use, no problem. But the board which is already removed seems to be still active and occupies the port. I can not de-select it.
When you select a board to use the port previously used by a different board and click OK is the newly selected board and port shown at the bottom/right of the screen as it should be ?
Select other board and port (see post#2).
Type "esp32c3 dev module" in the box and select the port.
Make sure that CDC on boot is enabled in the tools menu if you want to print.
Use a baud rate of 115200 in your sketch. 9600 is last century.
I moved the serial window to the side of the screen, which gives you more real estate for the sketch.
Leo..
@Wawa: i have activated the CDC on boot. (and Baud rate 115200 :-)) But all i can see in the serial monitor are information from the board but not the serial data i'm expecting.
@sonofcy: "Clear the board an Port selection" does clear the actual selection only. The other command "Clear the Board List history" look promising but did not help in the end.
you are right, the ESP32 is not in the compatibility list. The code is working fin on this processor and this is not the root cause for the problems with the serial connection to ESP32.
The ESP32 was the first board i started with. Everything was working including the serial connection to the arduino ide. Only thing i needed to do was to switch to the empty serial port in the ide after writing the sketch into the processor. After i had installed an Arduino Pro board this way did not work anymore, because the Arduino Pro is attached to the serial port. I could not bring the ide to its original state (neither by uninstalling the arduino pro board nor by clearing the bord list history.
In my opinion i do have only two possible solutions:
remove the whole ide from my computer and install it again. But this means i connot use another board in the future. Therfore this feels wrong and is not a "real" solution.
I missed to do some settings for the ESP32 board to do the programming and receiving of serial data on the same port.
I hope you can help me with number 2, which is the more convenient solution (if there is one, hopefully)
I frequently switch between different boards, including Uno, cheap Aliexpress ESP32-C3 and Seed XIAO ESP32C3 and never have a problem.
But I'm still using IDE 2.3.4 and I only see upgrades to 2.3.6, not 2.3.7
Maybe you should try downgrading.
And post your full code inside code tags, so we can try.
Leo..