Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

esp_msc_ota Failed to register VFS (AEGHB-806) #404

Closed
3 tasks done
versamodule opened this issue Sep 7, 2024 · 1 comment
Closed
3 tasks done

esp_msc_ota Failed to register VFS (AEGHB-806) #404

versamodule opened this issue Sep 7, 2024 · 1 comment

Comments

@versamodule
Copy link

Answers checklist.

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

General issue report

Using ESP v5.3.1. ESP32-S3 on a M5stack Stamp
https://shop.m5stack.com/products/m5stamp-esp32s3-module

When I run the example it detects the USB flash Drive, but I get the following error.

E (8076) esp_msc_host: ./main/esp_msc_host.c:121 (msc_host_task):Failed to register VFS

Here is the terminal output.

I (27) boot: ESP-IDF v5.3.1 2nd stage bootloader
I (27) boot: compile time Sep 7 2024 12:51:08
I (27) boot: Multicore bootloader
I (30) boot: chip revision: v0.1
I (34) boot.esp32s3: Boot SPI Speed : 80MHz
I (39) boot.esp32s3: SPI Mode : DIO
I (43) boot.esp32s3: SPI Flash Size : 8MB
I (48) boot: Enabling RNG early entropy source...
I (53) boot: Partition Table:
I (57) boot: ## Label Usage Type ST Offset Length
I (64) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (72) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (79) boot: 2 factory factory app 00 00 00010000 00100000
I (87) boot: End of partition table
I (91) esp_image: segment 0: paddr=00010020 vaddr=3c040020 size=10a08h ( 68104) map
I (112) esp_image: segment 1: paddr=00020a30 vaddr=3fc93c00 size=02bf4h ( 11252) load
I (114) esp_image: segment 2: paddr=0002362c vaddr=40374000 size=0c9ech ( 51692) load
I (129) esp_image: segment 3: paddr=00030020 vaddr=42000020 size=359ech (219628) map
I (168) esp_image: segment 4: paddr=00065a14 vaddr=403809ec size=03168h ( 12648) load
I (178) boot: Loaded app from partition at offset 0x10000
I (178) boot: Disabling RNG early entropy source...
I (190) cpu_start: Multicore app
I (199) cpu_start: Pro cpu start user code
I (199) cpu_start: cpu freq: 160000000 Hz
I (199) app_init: Application information:
I (202) app_init: Project name: z
I (206) app_init: App version: 1
I (211) app_init: Compile time: Sep 7 2024 12:50:57
I (217) app_init: ELF file SHA256: 44bf17c65...
I (222) app_init: ESP-IDF: v5.3.1
I (227) efuse_init: Min chip rev: v0.0
I (232) efuse_init: Max chip rev: v0.99
I (237) efuse_init: Chip rev: v0.1
I (241) heap_init: Initializing. RAM available for dynamic allocation:
I (249) heap_init: At 3FC97140 len 000525D0 (329 KiB): RAM
I (255) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM
I (261) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
I (267) heap_init: At 600FE100 len 00001EE8 (7 KiB): RTCRAM
I (274) spi_flash: detected chip: gd
I (277) spi_flash: flash io: dio
I (281) sleep: Configure to isolate all GPIO pins in sleep state
I (288) sleep: Enable automatic switching of GPIO sleep configuration
I (296) main_task: Started on CPU0
I (326) main_task: Calling app_main()
I (356) esp_msc_host: Waiting for USB stick to be connected
I (356) esp_msc_host: MSC Host Install Done
I (356) usb_msc_ota: ESP_MSC_OTA_START
I (356) esp_msc_ota: Waiting for MSC device to connect...
I (7166) esp_msc_host: MSC device connected
I (7166) esp_msc_host: connection...
*** Device descriptor ***
bLength 18
bDescriptorType 1
bcdUSB 2.10
bDeviceClass 0x0
bDeviceSubClass 0x0
bDeviceProtocol 0x0
bMaxPacketSize0 64
idVendor 0x90c
idProduct 0x1000
bcdDevice 1.00
iManufacturer 1
iProduct 2
iSerialNumber 3
bNumConfigurations 1
*** Configuration descriptor ***
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
bMaxPower 300mA
*** Interface descriptor ***
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 0x8
bInterfaceSubClass 0x6
bInterfaceProtocol 0x50
iInterface 0
*** Endpoint descriptor ***
bLength 7
bDescriptorType 5
bEndpointAddress 0x1 EP 1 OUT
bmAttributes 0x2 BULK
wMaxPacketSize 64
bInterval 0
*** Endpoint descriptor ***
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 0x2 BULK
wMaxPacketSize 64
bInterval 0
Device info:
Capacity: 122376 MB
Sector size: 512
Sector count: 250626565
PID: 0x1000
VID: 0x 90C
iProduct: Type-C
iManufacturer: Samsung
iSerialNumber: 0375723050002816
E (8076) esp_msc_host: ./main/esp_msc_host.c:121 (msc_host_task):Failed to register VFS
I (8076) esp_msc_host: Waiting for USB stick to be connected

@github-actions github-actions bot changed the title esp_msc_ota Failed to register VFS esp_msc_ota Failed to register VFS (AEGHB-806) Sep 7, 2024
@leeebo
Copy link
Collaborator

leeebo commented Sep 18, 2024

refer espressif/esp-idf#14578

@leeebo leeebo closed this as completed Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants