STM32F746 USB Device MSC DMA Problem
Hi, I am using STM32F746G_DISCO, STM32 CubeMX version: 6.11.1, STM32CubeIDE version: 1.15.0 and FW_F7 firmware package V1.17.1.
I tested the project: \STM32F746GDISCOVERY\STM32Cube_FW_F7_V1.17.0\Projects\STM32746G-Discovery\Applications\USB_Device\MSC_Standalone. It works fine.
Then I create the project with CubeMX (please see the attached file). I made the settings according to the STM32F746GDISCOVERY example.
I enabled ICache and DCache, Heap Size= 0x2000, Stack Size= 2000, MSC_MEDIA_PACKET= 512.
While debugging, I noticed that there were no interrupts, and the program was hanging in a loop, as shown in the picture below.

Then I commented out the while loop and the interrupts started working. I was able to read and write data to the uSD Card. I can't understand the reason for this behavior of the program. Please tell me what am I doing wrong?
Thanks!
