is there any way to transfer file over usb in linux

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

is there any way to transfer file over usb in linux

3,037 次查看
ming_liao
Contributor I

Hi,

  my device use i.mx8m mini linux system,no ethernet or sdcard,is there anyway to transfer file over usb in linux like adb in android? UART is too slow and need extra hardware.

BR,

0 项奖励
回复
4 回复数

2,830 次查看
CarlosCasillas
NXP Employee
NXP Employee

Hi Liao,
You could also use the USB Host functionality enabled by default on the BSP, and with the MSD support, connect an external USB drive to the board, and exchange files between the board and the USB drive.


Hope this will be useful for you.
Best regards!
/Carlos
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
-------------------------------------------------------------------------------

0 项奖励
回复

2,830 次查看
ming_liao
Contributor I

Hi Carlos,

We have only one usb port for power supply,and can't recognize external usb drive.

BR,

0 项奖励
回复

2,830 次查看
turker
Contributor IV

You can try to configure your board as a USB mass storage gadget if the controller has support. See this thread https://community.nxp.com/thread/460374 .

0 项奖励
回复

2,830 次查看
ming_liao
Contributor I

Hi,

We have enable g_webcam,g_webcam and g_mass_storage seems can not coexistence or i will receive "udc-core: couldn't find an available UDC" if i have already insmod another one.

BR,

0 项奖励
回复