Skip to main content
Sxx
Associate
August 7, 2024
Solved

STM32MP135F-DK problem running DDRInit project

  • August 7, 2024
  • 1 reply
  • 1227 views

I'm trying to run my application compiled and linked for DDR on STM32MP135F-DK.

 

Following the wiki istruction it's necessary preliminary to run the DDRInit project on SYSRAM that initialize the DDR and then execute my custom program.

When I execute the DDRInit project the DDR configuration seems to be ok but when ddr_test_data_bus() is executed it fail at the first DDR base address 0xC0000000.

 

Can someone explain to me why?

 

Thanks in advance.

  

Best answer by Sxx

Hello Olivier.

Thanks for your time but I have understand my mistake.

I'm trying to run the DDRInt project finded inside the STM32MP13XX_CUSTOM_HW folder but using a DK board instead to use the same project on STM32MP135C-DK folder. 

Now I have checked and is all working as is!

Thanks for your support.

1 reply

Olivier GALLIEN
Technical Moderator
August 9, 2024

Hi @Sxx ,

 

Can you please confirm you are using our latest delivery V1.1.0 ? 

The provided DDR_Init is supposed to work as is.

 

Can you maybe further describe how you proceed? 

Using Engi boot or booting from SD ? 

 

Thanks 

 

Olivier 

 

Olivier GALLIEN In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Sxx
SxxAuthorBest answer
Associate
August 9, 2024

Hello Olivier.

Thanks for your time but I have understand my mistake.

I'm trying to run the DDRInt project finded inside the STM32MP13XX_CUSTOM_HW folder but using a DK board instead to use the same project on STM32MP135C-DK folder. 

Now I have checked and is all working as is!

Thanks for your support.

Olivier GALLIEN
Technical Moderator
August 9, 2024

Hi @Sxx 

Good to hear, Thanks for feedback ! 

 

Olivier 

Olivier GALLIEN In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.