Regarding Stm32mp157a booting Issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-08 11:38 PM
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.
- Labels:
-
STM32MP15 Lines
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-09 12:05 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-09 3:01 AM
DDR write read is working properly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-14 2:47 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-14 2:55 AM
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:
Regards.
