cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple LUN on STM32H753 is not working over windows

ranganath_b_rangaramu
Associate III

Hi Team,

       I am working on USB MSC to have multiple LUN (2 to 3) on RAM to be visible on windows. With same code we can see 2 partitions on Linux PC. Below are some details on code changed.

1. Added extra LUN in STORAGE_Inquirydata[] {

/*LUN 0*/

/*LUN 1*/

}

2. Changed MACRO for LUN_NBR to 2.

3. Handled read and write accordingly for 2 LUN. 

When connected to a Windows machine, all descriptors go through and it also queries MAX_LUN and we see it as (LUN_NBR - 1). But subsequent scsi related queries are only done on LUN 0 and not on LUN 1.

 

Is there anything that we are missing?

Regards,

BRR

 

0 REPLIES 0