2025-01-07 01:10 PM
Hello,
I am preparing to develop a custom board based on the STM32MP15 series MPU and getting accustomed to the DDR testing procedures in the STM32Cube ecosystem with an STM32MP157F-DK2 evaluation board. However, I am running into issues with the SYSRAM loading option which seems to be the necessary method for DDR testing new, custom boards designed around the STM32MP157 MPU.
Firstly, I am able to run the DDR Test Suite in STM32CubeIDE or STM32CubeMX after importing the STM32DDRFW-UTIL-main\DDR_Tool\STM32MP157C-DK2 project into STM32CubeIDE. I am able to run the test firmware on the evaluation board with the "Debug As" option (with boot switches set to Engineering Mode), and then I am able go to a new .ioc project file made for the STM32MP157F-DK2 (peripherals initialized in their default modes) and use the DDR Test Suite via the "DDR Interactive" mode with no issues. Similarly, I can open a serial connection in TeraTerm via the ST-LINK COM port and run the DDR tests there as well.
However, when trying to do the same procedure without previously running the firmware in the STM32CubeIDE, and instead using the SYSRAM Loading option, the connection fails. My procedure for this is:
Get error window:
I have similarly tried SYSRAM loading with the UART option selected and with the device in Engineering Mode instead (Boot0 = 0, Boot1 = 0, Boot2 = 1). It appears that the SYSRAM loading is functional at first:
But then the same error is shown once it completes:
Is this the correct way to emulate board bring-up (specifically DDR testing)? Are there any issues with this procedure?
------------------------------------------------------------------------
Here is some information on my development environment:
Other reference documents used: