How to modify the size of usb msc write data

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

How to modify the size of usb msc write data

1,128 Views
xunwan
Contributor I

RT685 USB_DeviceMscCallback kUSB_DeviceMscEventWriteResponse, I print the lba->size the value, found that the maximum is 4096。Can the value be changed? Thank you

DZC_0-1700626956049.png

 

0 Kudos
Reply
2 Replies

1,093 Views
jimmychan
NXP TechSupport
NXP TechSupport

Normally, you don't need to change this value.

0 Kudos
Reply

1,059 Views
xunwan
Contributor I

Thank you for your reply. The purpose of changing this is to increase the amount of data written to eMMC each time and reduce the repeated call to eMMC write function, which can accelerate the speed of USB file transfer, but it is not sure whether it is feasible, maybe each packet of USB data can only be 512B

0 Kudos
Reply