2025-04-07 5:57 AM
Hello there, I am working with STM32 TouchGFX with STM32L496ZG-P with AT25Q128A NOR Flash, using this setup my application is to fetch the large amount of data (touchGFX images) from the external flash (AT25Q128A NOR Flash) and to dump it inside the main mcu before the compilation. I created loader file using "Controllers Tech Tutorial" https://controllerstech.com/w25q-flash-series-part-10-qspi-ext-loader-in-h750/ . On inserting the external loader file in the debug configurations, by enabling the two check boxes of "Enable" and "Initialize" (refer to the image attached herewith) my HAL_delay() is not working, further i came to know that, it is because of not reception of the interrupt (so that the "uwTick" is not getting incremented) from the sysTick, but when i tried pressing the onboard reset button, the code continues execution specifically HAL_Delay() is also working, NOTE: When i pressed on board reset button, it starts executing from the point it stopped not from the starting (i.e. not from HAL_Init(), if my code stops at 3rd line HAL_Delay() normally it does not work, but when i press reset button, it starts executing from the 3rd line the control is getting out from the 3rd line and further delays present in the other lines also working). As i need to upload the huge amount of data into the core at the run time using external loader do i need to initialize. Kindly give me suggestions to 1. To make HAL_Delay() work even when i enabled the two check boxes of "enable" and "initialize" in the debug mode.
Hoping for responses.
Thank you,
Finally control is getting stuck inside the above function. the above code is debugged with HSI clock but for HSE also i am facing the same issue.