Skip to content

examples/peripherals/usb/host/msc, msc_host_vfs_register ESP_ERR_NO_MEM (IEC-358) #237

@savenlid

Description

@savenlid

Answers checklist.

  • I have read the component documentation ESP-IDF Components and the issue is not addressed there.
  • I am using target and esp-idf version as defined in component's idf_component.yml
  • I have searched the issue tracker for a similar issue and not found any related issue.

Which component are you using? If you choose Other, provide details in More Information.

device/esp_tinyusb

ESP-IDF version.

5.5

Development Kit.

esp-p4 homemade with wusb3801 cc-chip and a lot more

Used Component version.

1.1.3 latest

More Information.

I can attach a usb-memory stick once.
2nd time it refuses
msc_host_vfs_register

I did follow the example code very strictly ( not exactly due to being in a bigger system of code =
But to in all essential part, I think its identical.

I run on a p4 and it has some special config files, but there is no comments in read.me about them or if they are a must etc.
I did not include any of the configs from example.

I am not on a hub.
My CONFIG_FATFS_VOLUME_COUNT is 2
I did an APP_QUIT, and tore everything down ( via console command ) it does not help.

From console i did read out heap after vfs_mount refused due to no_mem

heap
min heap size: 312888
this is a P4 with 32MB ram

tasks shows no problem with stack-water-mark from
console task-dump

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions