RTX with USB to SPI Flash Memory


I have a board with an STM32F407 plus an SD card interface and a 25Q32 flash memory. I followed examples in the documentation and can access both devices using FlashFS. I also can connect to a PC and "see" the SD card as an external device using the USB port. However can't do the same with the flash memory chip. How should I use USBD_MSC0_SetMediaOwnerUSB() function to use the 25Q32 chip ?

Best Regards

Viktor Bucher