Re: USB mass storage gadget on SAMA5D2

2023-05-26 Thread admin LI
y 26, 2023 15:13 > *To:* Cristian Birsan - M91496 > *Cc:* eugen.hris...@collabora.com ; > lu...@denx.de ; ma...@denx.de ; > u-boot@lists.denx.de ; Mihai Sain - M19926 < > mihai.s...@microchip.com> > *Subject:* Re: USB mass storage gadget on SAMA5D2 > > You don't oft

Re: USB mass storage gadget on SAMA5D2

2023-05-26 Thread Mihai.Sain
hai Sain - M19926 Subject: Re: USB mass storage gadget on SAMA5D2 You don't often get email from ad...@hifiphile.com. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is sa

Re: USB mass storage gadget on SAMA5D2

2023-05-26 Thread admin LI
Hi Cristian, > What are you trying to achieve ? If you want to just program the eMMC you can do it easily with SAM-BA[1]. On our board the MPU boot from the eMMC boot partition, by exposing the whole user partition as a block device we can modify the target system easily, like modifying the partit

Re: USB mass storage gadget on SAMA5D2

2023-05-25 Thread Cristian.Birsan
Hi, On 5/22/23 12:00, admin LI wrote: > > > I think there may be some racing in the driver. (Purely assumption as a > tinyusb maintainer) > If I enable DBG_ALL in atmel_usba_udc.h, the block device is enermurated > although with I/O error. What are you trying to achieve ? If you want to

Re: USB mass storage gadget on SAMA5D2

2023-05-22 Thread admin LI
Hi, I think there may be some racing in the driver. (Purely assumption as a tinyusb maintainer) If I enable DBG_ALL in atmel_usba_udc.h, the block device is enermurated although with I/O error. [1337613.189788] usb 1-1: new high-speed USB device number 7 using xhci_hcd [1337613.674551] usb 1-1: N

Re: USB mass storage gadget on SAMA5D2

2023-05-21 Thread Eugen Hristev
Hi, I believe someone from Microchip have tried this before Some people in CC added You can also open a case on support.microchip.com Eugen On 5/19/23 23:18, admin LI wrote: Hi, I'm trying to use ums to access EMMC on our SAMA5D2 board without success. My board_init(), without adding usba_u