2020-07-06 7:06 AM
Specifically, the code that creates a hard fault is in the Get_SerialNum function definition in the auto-generated USBD_desc.c. The code attempts to access restricted memory at memory location 0x1FF1E800UL. This memory region is restricted for the M4 core but not the M7 core per the reference manual.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.