USB Mass Storage device (FileX, UsbX) - Won't start on Windows 10
I am trying to build a sample application that initializes a NOR Flash SPI chip and then exposes it over USB to a Windows computer as a removable mass storage device. I am using FileX and USBX. Host is STM32F429 (Nucleo 144 board) and Nor flash is Winbond W128
I have the NOR flash initialization code working and FileX successfully opens the media (from STMCubeIDE Example code). After the FileX media is opened I plug in the USB cable and I get the Cannot start (Code 10) error on Windows.
I have found a knowledge article on STM32 Community (about HAL USB and Code 10 error) and have increased the USB Thread stack and the USB Class stack to 4KBytes and 11KBytes.
I have implemented by block read and write routines using this example file from ST employee https://community.st.com/s/feed/0D53W00001WHKrVSAX
I am not sure how to further debug this issue. Any help is greatly appreciated?
