HardFault_Handler from stm32 + Fatfs + USB
Hello,
A project created in truestudio generates a HardFault_Handler.
There are 2 PCBs I made. PCB A and PCB B are the same circuit and components. I have confirmed that the operation is correct while writing the code in PCB A.
However, there was a problem with PCB B. My program is Fatfs + USB HOST MSC.
It repeats until it becomes f_open with while statement.
If (f_mount == FR_OK) to f_mount seems to be no problem. However, f_open fails to pass, and the process goes to HardFault_Handler.
How do I debug HardFault_Handler?

