platform-espressif32 icon indicating copy to clipboard operation
platform-espressif32 copied to clipboard

ESP32 (CH9102X) not auto-detected

Open moussie369 opened this issue 2 years ago • 5 comments

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

moussie369 avatar Mar 12 '22 20:03 moussie369

Could you connect the CH9102X device and type pio device list?

ivankravets avatar Mar 13 '22 15:03 ivankravets

With the deviced plugged or unplugged it only returns:

/dev/ttyAMA0

Hardware ID: fe201000.serial Description: ttyAMA0

moussie369 avatar Mar 13 '22 15:03 moussie369

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:

Captura de tela de 2022-03-24 11 34 56

In windows I have:

serial

For now I had no luck to compile a code for my M5stack stamp C3 in PIO.

Best regards.

FernandoGarcia avatar Mar 24 '22 15:03 FernandoGarcia

@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

Jason2866 avatar Mar 27 '22 22:03 Jason2866

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.

stale[bot] avatar Jul 31 '22 20:07 stale[bot]

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.

stale[bot] avatar Sep 08 '22 22:09 stale[bot]