platform-espressif32
platform-espressif32 copied to clipboard
ESP32 (CH9102X) not auto-detected
Configuration
Operating system: Ubuntu 21.10, kernel is 5.13.0-1020-raspi
PlatformIO Version (platformio --version
): 5.2.5
Description of problem
ESP32 (CH9102X) is not present in the devices tab nor auto-detected with serial monitor/upload
Steps to Reproduce
Select serial monitor/upload option or refresh the connected devices list
Actual Results
Only port ttyAMA0 is detected (regardless if the board present or not)
Expected Results
Port ttyAMA0 and port ttyCH343USB0 detection
Additional info
Drivers installed: https://github.com/WCHSoftGroup/ch343ser_linux The board is registered as ttyCH343USB0 with ls /dev/tty* and I'm able to connect to it if I ad the upload/monitor_port lines in platformio.ini, looks like it's simply filtered/not detected
Could you connect the CH9102X device and type pio device list
?
With the deviced plugged or unplugged it only returns:
/dev/ttyAMA0
Hardware ID: fe201000.serial Description: ttyAMA0
Hi!
For me with Ubuntu 18.04 the board is detected and can use the serial monitor. Running pio device list
I have:
/dev/ttyACM0
------------
Hardware ID: USB VID:PID=1A86:55D4 SER=5424032785 LOCATION=2-10:1.0
Description: USB Single Serial
In device list I have:
In windows I have:

For now I had no luck to compile a code for my M5stack stamp C3
in PIO.
Best regards.
@FernandoGarcia We can track down if this is a problem generated from the CH9102. Trying this platform build. It supports for IDF/Arduino the ESP32, C3, S2 and S3
platform = https://github.com/Jason2866/platform-espressif32.git
You can test your C3 with https://tasmota.github.io/install/ it is compiled with the Arduino framework above. Just a click in Browser to install
This issue has been automatically marked as stale because it has not had recent activity. Please provide more details or it will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. Please provide more details or it will be closed if no further activity occurs. Thank you for your contributions.