pico-sdk
pico-sdk copied to clipboard
USB Host Mass Storage Device
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 ?
The best examples are in tinyusb library i think. Look up for lun msc code there. That example works perfectly.
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
ping @hathach
bulk endpoint for host on rp2040 is not supported yet. Please wait until it is implemented
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.
there is no issue with either rp2040 or TinyUSB. There is only issue with time or lack of it.
Bumping to 1.4.0 to review when we update TinyUSB
Any update ?
@liamfraser can you move this into 1.5.0 if it is fixed with latest TinyUSB
see tinyusb_host_msc_file_explorer
in pico-examples (example from TinyUSB here