lpcware

MSC functions in Rom Question

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by ehughes on Sat Feb 12 08:19:20 MST 2011
In the example code for msc_rom there are 2 callbacks for msc_read and msc_write.


It gives an offset and a length.    MSC usb devices are supposed to have standard 512 byte read and writes but I notice that a value of 64 gets passed in alot as the write length.


Is this length parameter constant?   If not how is it calculated in the rom functions?

Outcomes