cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding Stm32mp157a booting Issue

Sindhu Vadde
Associate III

Hi

We are using stm32mp157a-dk1 board.We are writing code in bare metal.Its working fine when we run in SRAM.But when we jump to DRM its hanging.

4 REPLIES 4
PatrickF
ST Employee

Hi,

Before jumping to DDR, are you already able to do various bytes/words read/write from/to DDR ?

This is a first step to validate correct initialization of DDR.

Maybe good to look at TF-A code which do similar (BL2: init DDR, load BL33 and later BL32 jump to it). https://wiki.st.com/stm32mpu/wiki/TF-A_overview#BL2

Maybe @srikanth​ could help you as working as well on a bare-metal project https://community.st.com/s/question/0D53W00001KU7otSAD/stm32mp157xx-ddr-accessing-for-the-for-the-core-1

Regards.

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.

DDR write read is working properly.

Hi,

When we run code from ddr its working fine but,when we are trying to jump from sram to ddr application is not running.

Hi,

'not running' is probably that you get an abort.

Please break in abort vector and debug as usual by analysing processor stack and registers (e.g. fault status).

Btw, maybe this similar ticket could help you:

https://community.st.com/s/question/0D53W00001KU7otSAD/stm32mp157xx-ddr-accessing-for-the-for-the-core-1

Regards.

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.