2025-02-15 03:59 AM - last edited on 2025-02-15 11:35 AM by Tesla DeLorean
hi,
I am trying to build my own STLDR file with STM32H723ZGT6 + w25q128.
I could able to build the stldr file STLDR creation with Separate Project 1 but it's not working with external loader project 2 it's giving down load error while program download .
Note : i could able work with external loader Project 2 by using https://github.com/cturvey/stm32extldr/tree/main/h7_w25q128 not by my made STLDR file.
I have referred some existing STLDR creation project with STM32H7B0 + w25q128 found they used
void SystemClock_Config(void)
{
RCC_OscInitTypeDef RCC_OscInitStruct = {0};
RCC_ClkInitTypeDef RCC_ClkInitStruct = {0};
/*AXI clock gating */
RCC->CKGAENR = 0xFFFFFFFF;
why they have (RCC -> CKGAENR = 0xFFFFFFFF )gating the AXI clock ?.
STM32H7B0 reference manual:
STM32H723 reference manual:
how to gate the AXI clock in STM32H723 ?
2025-02-15 11:37 AM
You can run the part from the initial HSI (64 MHz)
You only need to enable the relevant OCTOSPI and OCTOSPIM peripherals, and pins related to the interface
2025-02-15 08:07 PM - edited 2025-02-15 08:08 PM
hi,
i have enabled HSI (64 MHz) with single quad spi in octo mode and made many attempt to successes but nothing happen !. I have attached the stldr creation project (zip). Please give me the idea about what is missing ? . The exact error message as below while downloading via cube ide .
Erasing memory corresponding to segment 0:
Erasing internal memory sector 0
Erasing memory corresponding to segment 1:
Erasing external memory sector 0
Download in Progress:
Error: failed to download Segment[0]
Error: failed to download the File
Encountered Error when opening C:\ST\STM32CubeIDE_1.11.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.win32_2.2.0.202409170845\tools\bin\STM32_Programmer_CLI.exe
Error in STM32CubeProgrammer
Shutting down...
Exit.