Describe the bug
USB Host on M5Tab5 (ESP32-P4) fails to enumerate Full-Speed USB devices (e.g. Garmin GPSMAP 66s in CDC/Spanner mode). The device is detected (VBUS present, device powered) but enumeration fails with repeated E HUB: Root port reset failed errors every ~2.3 seconds.
To reproduce
- Set M5Tab5 input source to USB Host mode
- Connect any Full-Speed USB CDC device (tested: Garmin GPSMAP 66s in Spanner/Serial mode)
- Power on — device receives VBUS (5V) but enumeration never completes
- Serial monitor shows: E (XXXXX) HUB: Root port reset failed repeated every ~2.3 seconds
Expected behavior
USB Full-Speed CDC device enumerates successfully and data transfer works.
Screenshots
No response
Environment
Board: M5Stack Tab5 (ESP32-P4)
arduino-esp32 (m5stack fork): 3.2.5
IDF version: 5.3.x
Additional context
This is a known ESP-IDF bug fixed in IDF 5.4.2. The espressif arduino-esp32 3.3.8 (IDF 5.5.4) does not fix this for Tab5 either due to missing board variant definitions. High-Speed devices work correctly. Please update the M5Stack arduino-esp32 fork to IDF 5.4+.
Issue checklist
Describe the bug
USB Host on M5Tab5 (ESP32-P4) fails to enumerate Full-Speed USB devices (e.g. Garmin GPSMAP 66s in CDC/Spanner mode). The device is detected (VBUS present, device powered) but enumeration fails with repeated E HUB: Root port reset failed errors every ~2.3 seconds.
To reproduce
Expected behavior
USB Full-Speed CDC device enumerates successfully and data transfer works.
Screenshots
No response
Environment
Board: M5Stack Tab5 (ESP32-P4)
arduino-esp32 (m5stack fork): 3.2.5
IDF version: 5.3.x
Additional context
This is a known ESP-IDF bug fixed in IDF 5.4.2. The espressif arduino-esp32 3.3.8 (IDF 5.5.4) does not fix this for Tab5 either due to missing board variant definitions. High-Speed devices work correctly. Please update the M5Stack arduino-esp32 fork to IDF 5.4+.
Issue checklist