EspTinyUSB icon indicating copy to clipboard operation
EspTinyUSB copied to clipboard

Remote pendrive code not working on ESp32 s3

Open micromagine opened this issue 4 months ago • 8 comments

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 avatar Feb 16 '24 06:02 micromagine

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 avatar Feb 16 '24 06:02 micromagine

image

micromagine avatar Feb 16 '24 06:02 micromagine

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

It looks like a bug in your code.

chegewara avatar Feb 16 '24 15:02 chegewara

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 avatar Feb 16 '24 16:02 micromagine

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 avatar Feb 16 '24 19:02 micromagine

hello sir

micromagine avatar Feb 19 '24 14:02 micromagine

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

chegewara avatar Feb 20 '24 03:02 chegewara

thank you it works!!!!

micromagine avatar Feb 20 '24 15:02 micromagine

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/

micromagine avatar Feb 21 '24 15:02 micromagine