Program Stalled in OSPI_WaitFlagStateUntilTimeout During Execution
Hello everyone,
I'm facing a perplexing issue with my program getting stuck after a successful upload. The upload process completes without errors (screen remains lit white), but upon running the program, it hangs at MX_OCTOSPI1_Init() and the screen remains black.

Symptoms:
- Program hangs indefinitely in the OSPI_WaitFlagStateUntilTimeout function.
- This occurs during initial program execution, before TouchGFX & FreeRTOS starts.
- The upload itself is successful (white screen persists).

Background:
This problem recently emerged, and the program was functioning correctly beforehand. I've even tried creating new projects from TouchGFX Designer, but the issue persists.
Request for Assistance:
I believe the culprit might be the MX25LM51245G_AutoPollingMemReady function, which verifies if the NOR Flash memory (MX25LM51245G) is ready for new commands. However, I'm seeking your help to pinpoint the exact cause.
Additional Information:
- I'd appreciate it if you could provide insights into what might be causing this issue and how to resolve it.
- Are there any debugging techniques or resources specifically suited for the OSPI_WaitFlagStateUntilTimeout function that you could recommend?
OCTOSPI Configuration:
I have followed this schematic to configure my OCTOSPI Pins https://www.st.com/content/ccc/resource/technical/layouts_and_diagrams/schematic_pack/group1/e0/e5/29/92/9d/37/47/91/MB1332-H7B3I-B02_Schematic/files/MB1332-H7B3I-B02_Schematic.PDF/jcr:content/translations/en.MB1332-H7B3I-B02_Schematic.PDF

Development Environment:
- STM32CubeIDE 1.15.1 ( First Encountred in 1.14.1)
- STM32CubeMX 6.11.1
Thank you in advance for your assistance!
