how to write on usb in host mode?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to write on usb in host mode?

361 Views
Abil
Contributor II

hi all,

am using mqx 4.2 usb v2 stack ....can i use fwrite to write on usb?

0 Kudos
1 Reply

288 Views
soledad
NXP Employee
NXP Employee

hello,

please check the mfs_usb example, located at the path C:\Freescale\Freescale_MQX_4_2\mfs\examples\mfs_usb

This example illustrates the usage of USB host, MFS and Shell API to deal with the USB memory stick. The application example allows user to perform a set of commands with USB memory stick through the terminal output. This including creating and deleting files, writing to and read reading from files as well as manipulation of directory.


Have a great day,
Sol

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos