Skip to main content
Visitor II
December 27, 2023
Question

Issue regarding DDR3

  • December 27, 2023
  • 1 reply
  • 953 views

Hello

  • I'm using stm32mp157aaa3 processor in our custom board.And I'm working on DDR3L with arm-trusted-firmware(V2.5) ddr3 routines as my reference code and reference manual(RM0436) and Application not(AN5168).
  • When I am hard-coding the register values in arm-trusted-firmware it works fine which means my hardware is working fine,but when I'm porting the same code to bare-metal we couldn't read and write the ddr memory location and the ddr memory is not released.
  • And I have also tried STM32DDRFW-UTILS.And here too i get the same issue.
  • Could you please suggest me a way on how to assign memory size for ddr3l and release ddr memory in bare-metal and how to resolve the read and write issue.

 

 

Thanks&Regards

Akshitha

 

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    January 3, 2024

    Hi @pattem_09 

    Did you use STPMIC1 ? Is the related DDR3L supplies enabled (and reference/termination supplies if used) ?

    Did you have setup the DDR clock in right way (PLL and HSE bypass or crystal) ?

    Is there activities on DDR pins (CLK, CKE, etc...)?

    Regards.