2020-01-20 12:57 AM
Hello.
I have found a bug in USB implementation in STM32CubeH7 (1.4.0 - 1.6.0). Steps to reproduce:
1) Open the project from STM32H743I-EVAL\Applications\USB_Device\MSC_Standalone\MDK-ARM directory
2) Apply HEAP fix from https://github.com/STMicroelectronics/STM32CubeH7/pull/16
3) Build the project and download it to STM32H743I-EVAL board
4) Wait for STM driver letter to appear
5) Copy a file with approx size 20MB to STM drive
6) Start copying above file from STM drive
7) In the middle of copying unplug the USB cable
😎 Plug USB cable back
9) From this time USB is not recognized by the operating system anymore
The issue is not present in STM32CubeH7 1.3.2