esp-iot-solution icon indicating copy to clipboard operation
esp-iot-solution copied to clipboard

[esp32-p4] usb-uart-bridge example (AEGHB-870)

Open chegewara opened this issue 1 year ago • 3 comments

Answers checklist.

  • [X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • [X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • [X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

Hi team,

this example works good with S3, how about P4?

https://github.com/espressif/esp-iot-solution/blob/master/examples/usb/device/usb_uart_bridge

In theory it should be straightforward, assign pins and let it run, but:

  • code seems to run correctly
  • monitor other devices, all kind of esp32 devkits, works good
  • there is problem to flash devkit on our custom PCB with it
  • the same setup (wires, PCB etc) just with esp32-S3 instead of P4 works fine, i can flash and monitor

i am using always esp-idf master branch

Thanks

chegewara avatar Nov 07 '24 09:11 chegewara

this example should update esp_tinyusb version which support p4.

lijunru-hub avatar Nov 19 '24 06:11 lijunru-hub

https://components.espressif.com/components/espressif/esp_tinyusb/versions/1.4.5

lijunru-hub avatar Nov 19 '24 06:11 lijunru-hub

I am using esp_tinyusb which supports P4.

Like i said, the code seems to work, i can connect and see logs, but i cant flash other esp32 due to timeout in esptool, which cant communicate properly with esp32.

chegewara avatar Nov 19 '24 06:11 chegewara