Skip to main content
PHolt.1
Senior
March 5, 2026
Question

STM32F4 USB MSC code works with windows and linux but not with android USB OTG

  • March 5, 2026
  • 2 replies
  • 130 views

Spent a lot of time on this and found that ST's code omits a key SCSI command which windoze and linux either do not issue or if they do they are not bothered by a non-response.

Details around here

https://www.eevblog.com/forum/microcontrollers/any-way-to-do-a-fat16-usb-msc-drive-in-2mb-flash/msg6206067/#msg6206067

2 replies

Technical Moderator
March 6, 2026

Hi @PHolt.1 

Do you propose at this level to extend SCSI_ProcessCmd to handle 0x35 acknowledge success and return 0? 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.Best regards,FBL
PHolt.1
PHolt.1Author
Senior
March 6, 2026

Yes - see the source I posted on EEVBLOG.

It now works with Android.

I have not yet tested Ipad (IOS).