chegewara / EspTinyUSB

ESP32S2 native USB library. Implemented few common classes, like MIDI, CDC, HID or DFU (update).
MIT License
473 stars 70 forks source link

Remote pendrive code not working on ESp32 s3 #152

Closed micromagine closed 4 months ago

micromagine commented 4 months ago

examples/host/remote_pendrive i tried this code on esp32 s3 compiled ok but when insert pendrive to esp32s3 device get reset

my errors are ELF file SHA256: 0cf01760fb528cb7

micromagine commented 4 months ago

ELF file SHA256: 0cf01760fb528cb7

Rebooting... ��ESP-ROM:esp32s3-20210327 Build:Mar 27 2021 rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)

micromagine commented 4 months ago

image

chegewara commented 4 months ago

I dont see what is not working here. What are those files from in your logs?

It looks like a bug in your code.

micromagine commented 4 months ago

when i insert pendrive it reset continues other wise it works !! my task is i want to take data log in pendrive !! so m i doing anything wrong or pendrive is formatted in FAT. is it wrong !!! do you have any detail documentation or video for this code !!!

micromagine commented 4 months ago

I am eagerly anticipating your response! I am somewhat uncertain about the capability of connecting a pendrive to the ESP32-S3 and performing read and write operations for data logs. Your code suggests that this is achievable, and I would greatly appreciate your assistance in clarifying this matter.

micromagine commented 4 months ago

hello sir

chegewara commented 4 months ago

https://github.com/espressif/esp-usb/tree/master/host/class

micromagine commented 4 months ago

thank you it works!!!!

micromagine commented 4 months ago

https://github.com/nathalislight/esp32s3_USB_Drive/tree/main

similar code for Arduino Esp32-s3 USB HOST MSC is available . you can update your code !!! thanx for help i am posting this because i am searching from this last one year now i get solution !!! thanx to https://github.com/nathalislight/