RT1050 USB and more LUN

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

RT1050 USB and more LUN

944件の閲覧回数
christiangradl
Contributor III

hi,

my usb device with cdc vcom and msc ramdisk is now running.

now i want to have more than one usb disk, e.g. 3 different RAMDISKs with different size

what have i to do for this:

1.) Setting USB_DEVICE_CONFIG_MSC to 3?

      I tried this but it does not work, i still have only one usb drive in windows

2.) set logicalUnitNumberSupported to 3?

      I tried this, i got 3 usb drives in windows, but all 3 drives are the same.

3.) is there a demo for how to setup more than 1 usb disk

thanx

ラベル(1)
0 件の賞賛
返信
1 返信

733件の閲覧回数
CarlosCasillas
NXP Employee
NXP Employee

Hi Christian,

All the drives are being shown as the same unit because just one buffer is declared (s_StorageDisk), and it is pointed from all the LUNs. So, the options could be (considering the RAM size):

  1. Creating separate buffers for each logical unit and correctly point them on the USB callbacks.
  2. Partition a single disk unit, in order to have separate units.


Hope this will be useful for you.
Best regards!
/Carlos

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

0 件の賞賛
返信