How to make MSC drive readonly?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to make MSC drive readonly?

966件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Muis on Wed Feb 12 02:58:01 MST 2014
Using the previous generation of USB drivers it was very simple to make a Mass Storage drive appear read-only to Windows, by setting a flag in result to some SCSI command, but I can't figure out how to do the same using LPCOpen (and the USB ROM drivers). The only API functions that are available are:

MSC_Read
MSC_Write
MSC_Verify
MSC_GetWriteBuf

Which abstract away all SCSI commands, but the endresult is that I can't figure out a way to make the drive read-only.

Is there a solution for this? For example, by overriding the endpoint-handler?
ラベル(1)
  • USB

0 件の賞賛
返信
0 返答(返信)