Skip to main content
MishaT
Associate II
January 24, 2019
Solved

problems with usb msc device on stm32f4

  • January 24, 2019
  • 1 reply
  • 1254 views

Hi. I need to create USB MSC Device on STM32F407. I use CubeMX for create project. When I compiled the project with MSC_MEDIA_PACKET = 512 windows did not see the mass storage device, then I changed MSC_MEDIA_PACKET = 256 and windows saw the mass storage device and also offered to format it. I also did projects on stm32f0 and stm32f3 with MSC_MEDIA_PACKET = 512, everything worked without problems for them, Windows found the device and offered to format the disk. How to do when define MSC_MEDIA_PACKET = 512 for Windows to see it?

This topic has been closed for replies.
Best answer by MishaT

I increased the minimum heap size and minimum stack size in advanced settings and this fixed the problem

1 reply

MishaT
MishaTAuthorBest answer
Associate II
January 28, 2019

I increased the minimum heap size and minimum stack size in advanced settings and this fixed the problem