pico-sdk icon indicating copy to clipboard operation
pico-sdk copied to clipboard

USB Host Mass Storage Device

Open BabumonGopi opened this issue 2 years ago • 8 comments

            Any working program for Mass Storage Device working with pico-sdk ? I had tried to connect with TinyUSB, but it will not working for pico. The following error is coming.

assertion "ep" failed: file "/Users/babumongopi/r-pi/pico-sdk/lib/tinyusb/src/portable/raspberrypi/rp2040/hcd_rp2040.c", line 492, function: hcd_edpt_xfer

Any solution ?

BabumonGopi avatar Apr 22 '22 01:04 BabumonGopi

The best examples are in tinyusb library i think. Look up for lun msc code there. That example works perfectly.

mimoccc avatar Apr 22 '22 07:04 mimoccc

Here: https://github.com/hathach/tinyusb/tree/master/examples/device/cdc_msc And here: https://github.com/hathach/tinyusb/tree/master/examples/device/msc_dual_lun

mimoccc avatar Apr 22 '22 07:04 mimoccc

ping @hathach

lurch avatar Apr 22 '22 08:04 lurch

bulk endpoint for host on rp2040 is not supported yet. Please wait until it is implemented

hathach avatar Apr 22 '22 08:04 hathach

Is it the issue of RP2040 microcontroller itself or TinyUSB library ?

Babumon Gopi

Poornasree Equipments www.poornasree.com

On 22-Apr-2022, at 2:25 PM, Ha Thach @.***> wrote:

bulk endpoint for host on rp2040 is not supported yet. Please wait until it is implemented

— Reply to this email directly, view it on GitHub https://github.com/raspberrypi/pico-sdk/issues/791#issuecomment-1106209088, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXXKLUSPWKFE37LSY6SLV7LVGJSPVANCNFSM5UA4SU5Q. You are receiving this because you authored the thread.

BabumonGopi avatar Apr 22 '22 17:04 BabumonGopi

there is no issue with either rp2040 or TinyUSB. There is only issue with time or lack of it.

hathach avatar Apr 23 '22 04:04 hathach

Bumping to 1.4.0 to review when we update TinyUSB

kilograham avatar May 09 '22 20:05 kilograham

Any update ?

BabumonGopi avatar Sep 03 '22 12:09 BabumonGopi

@liamfraser can you move this into 1.5.0 if it is fixed with latest TinyUSB

kilograham avatar Jan 20 '23 21:01 kilograham

see tinyusb_host_msc_file_explorer in pico-examples (example from TinyUSB here

kilograham avatar Feb 11 '23 01:02 kilograham