Closed jbiemar closed 4 months ago
Hello @jbiemar,
Thank you for this report. We will get back to you as soon as we analyze it further. This may take some time. Thank you for your comprehension.
With regards,
Hi @jbiemar,
Please excuse this late reply. Your proposal looks quite interesting. It has been forwarded to our development teams. I'll keep you informed.
With regards,
ST Internal Reference: 175667
Hi @jbiemar,
Back to you about this point. Our development teams acknowledged your proposal and its relevance. However, they reported there is no plan to support such enhancement for the moment.
Please allow me to close this thread. Thank you for your comprehension.
With regards,
Describe the set-up
Describe the bug In the function
USBH_MSC_BOT_Process
from fileMiddlewares\ST\STM32_USB_Host_Library\Class\MSC\Src\usbh_msc_bot.c
the length of sent data may be too long in some case.With a custom SCSI device, the command is misunderstood and the device never respond because we are sending 64 bytes instead of 36 expected in the variable
MSC_Handle->hbot.cbw.field.DataTransferLength
.How To Reproduce Use the
USBH_StatusTypeDef USBH_MSC_BOT_Process(USBH_HandleTypeDef *phost, uint8_t lun)
function.Additional context My way to fix this is to modify function to this: