This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

USB Mass Storage Sample inconsistency with UFI Descr

I feel a problem in USB Mass Storage Sample for LPC214x MCB2140:


In file mscuser.c it the byte #4 of the "inquiry" response "BulkBuf[4]" is set to (36-4) that is 32 but as the "UFI Command Specifications from USB.ORG" says it should be (0x1F = 31)

Thanks

  • Also,


    I have found another problem:

    when the "USB device" is requested "format capacities" it should "response" in a way that
    if it is formatted (in our case) it should return 2 values in addition to the header

    0) header (byte 0-3)
    1) Current Capacity
    2) Format Capacity


    But in our sample for mass storage device the format capacity descriptor is missing and only we send the current capacity.