AnsweredAssumed Answered

STM32F429I-DISCO USB MSC trouble

Question asked by prohorov.leonid on Jul 14, 2015
Latest reply on Jul 15, 2015 by prohorov.leonid
 Hello. I am trying to make USB MSC device on this board with internal RAM disc as storage.
 I am using STM32_USB-Host-Device_Lib_V2.1.0 and i use USB MSC project from that archive as example.
 I have made changes in three files:
       
  • usb_bsp.c (left only Pin and Interrupt configuring),
  •    
  • usbd_storage_msd.c (changed to read/write from 64 Kb array in the internal RAM)
  •    
  • usbd_usr.c (removed all board dependent code).
 Now my OS (Windows XP) recognizes the device and asssigns letter to in. But when i try to do something with the disk (even try to open popup menu) my explorer hangs.
 When i see with USB Sniffer (USBTrace) i can see many strange transactions on the bus.
 For example in line 423 (on the attached image) i see BULK OUT transaction to the 81 endpoint, but this endpoint type is IN.
 How can it be? And host makes RESET_PORT regularly after such transactions.
Sorry for my english please.

Attachments

Outcomes