2025-08-20 8:16 PM
I am going to rebuild STM32DDRFW-UTIL Firmware to do DDR Test on my custom hardware. I looked at this document: https://github.com/STMicroelectronics/STM32DDRFW-UTIL/blob/main/README.md
in section 1.2.3.3 Customization, it mentions about using STM32CubeMX to generate the DDR Templete (stm32mp2xx-ddr4-2x16Gbits-2x16bits-template.h). Unfortunately, I tried the device tree generation function from STM32CubeMx; there was no DDR templete was generated. Is there any instruction to generate the DDR templete?
Solved! Go to Solution.
2025-08-21 6:24 PM
Hello @ThinhNguyen
The file you mention can be found in the STM32DDRFW-UTIL source files:
When you generate code with CubeMx, the DDR configuration is located in:
/Workspace/{Project Name}//CA35/DeviceTree/{Project Name}/tf-a/stm32mp25-mx.dtsi
(this is a path example)
I hope this will help you,
Regards.
2025-08-20 8:53 PM
You maybe using the wrong part of STM32CubeMX. You need to use the special DDR Configurator Tool to get a C Header file (.h file).
2025-08-20 9:10 PM
Hi @Adam5,
I really can't find it. Can you take a screenshot for me?
2025-08-21 6:24 PM
Hello @ThinhNguyen
The file you mention can be found in the STM32DDRFW-UTIL source files:
When you generate code with CubeMx, the DDR configuration is located in:
/Workspace/{Project Name}//CA35/DeviceTree/{Project Name}/tf-a/stm32mp25-mx.dtsi
(this is a path example)
I hope this will help you,
Regards.