ricardoquesada / bluepad32

Bluetooth gamepad, mouse and keyboard support for ESP32 and PicoW
https://bluepad32.readthedocs.io/
Other
606 stars 64 forks source link

[Bug]: ESP32 C3 dont show any serial text #113

Open SkyDumpper opened 3 months ago

SkyDumpper commented 3 months ago

What happened?

The sketch compile and upload correctly, but after restart dont show any text and of course my ps4 controller dont connect.

Use a ESP32 C3 ZERO board. In arduino IDE i configured USB CDC on boot: Enable

In Board information:

BN: ESP32 Family Device VID: 303a PID: 1001 SN: 64:E8:33:88:61:50

Thank you.

Bluepad32 Version

latest from develop branch

Bluepad32 version custom

Example: Using Git develop branch commit hash #xxxxxxx

Bluepad32 Platform

Arduino IDE

Platform version

IDE 1.8.16

Controller

PS4

Microcontroller

ESP32-C3

Microcontroller board

ESP32-C3-ZERO

https://www.waveshare.com/wiki/ESP32-C3-Zero

OS

Windows

Relevant log output

No response

Relevant sketch

No response

SkyDumpper commented 3 months ago

esptool.py v4.5.1 Serial port COM6 Connecting... Chip is ESP32-C3 (revision v0.4) Features: WiFi, BLE Crystal is 40MHz MAC: 64:e8:33:88:61:50 Uploading stub... Running stub... Stub running... Changing baud rate to 921600 Changed. Configuring flash size... Erasing flash (this may take a while)... Chip erase completed successfully in 15.1s Compressed 13248 bytes to 9562... Writing at 0x00000000... (100 %) Wrote 13248 bytes (9562 compressed) at 0x00000000 in 0.2 seconds (effective 436.0 kbit/s)... Hash of data verified. Compressed 3072 bytes to 146... Writing at 0x00008000... (100 %) Wrote 3072 bytes (146 compressed) at 0x00008000 in 0.1 seconds (effective 452.6 kbit/s)... Hash of data verified. Compressed 8192 bytes to 47... Writing at 0x0000e000... (100 %) Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.1 seconds (effective 581.5 kbit/s)... Hash of data verified. Compressed 583616 bytes to 334297... Writing at 0x00010000... (4 %) Writing at 0x0001aeb1... (9 %) Writing at 0x00025a64... (14 %) Writing at 0x0002fd13... (19 %) Writing at 0x000366b5... (23 %) Writing at 0x0003c7ac... (28 %) Writing at 0x00042a3c... (33 %) Writing at 0x000492ba... (38 %) Writing at 0x0004f1c8... (42 %) Writing at 0x00055278... (47 %) Writing at 0x0005b286... (52 %) Writing at 0x00060fef... (57 %) Writing at 0x00067bf4... (61 %) Writing at 0x0006e933... (66 %) Writing at 0x0007524b... (71 %) Writing at 0x0007b155... (76 %) Writing at 0x00080f26... (80 %) Writing at 0x00088d79... (85 %) Writing at 0x0008f8d6... (90 %) Writing at 0x00095862... (95 %) Writing at 0x0009bd5f... (100 %) Wrote 583616 bytes (334297 compressed) at 0x00010000 in 4.7 seconds (effective 1000.6 kbit/s)... Hash of data verified.

Leaving... Hard resetting via RTS pin...

ricardoquesada commented 3 months ago

1) DualShock4 doesn't work on ESP32-C3 https://bluepad32.readthedocs.io/en/latest/supported_gamepads/#bluetooth-gamepads-and-their-protocol

2) Try with "USB Mode" in "Debug Mode" https://github.com/ricardoquesada/bluepad32/issues/65#issuecomment-1987046804