Skip to main content
Visitor II
April 30, 2024
Question

Flashing error

  • April 30, 2024
  • 4 replies
  • 2060 views

I am currently flashing a custom mickledore distro on a STM32MP151CAA3T and after the fsbl1 i get this error :

ERROR: DDR addr bus test: can't access memory @ 0xc0000004

PANIC at PC : 0x2ffdf9d9

Can someone explain how to solve this issue?

    This topic has been closed for replies.

    4 replies

    ST Employee
    April 30, 2024

    Hello @Pavesino ,

     

    The cube programmer attempts to program the external memories.

    Did you have the partition 3 well programmed?

    It seems the firmware in partition 3 is not properly loaded.
    The purpose of this firmware is to initialize the external memory and then the cube programmer can use it.

     

    regards,
    David B.

    PavesinoAuthor
    Visitor II
    April 30, 2024

    How can i check if i well programmed the partition 3?

    ST Employee
    April 30, 2024

    Hello @Pavesino ,

     

    Please, just check in the TSV file, what fip is used or if the line is missing.

     

    rgds
    David B

     

    PavesinoAuthor
    Visitor II
    April 30, 2024

    in the TSV for partition 3 i have 

    fip/fip-stm32mp151c-epro-mx-optee.bin

    so no missing line for this

    thanks

    ST Employee
    April 30, 2024

    Hello @Pavesino ,

     

    This bin seems to have a problem.

    Do you have another one maybe with another board?

    Do you have the same kind of problem while programming STM32MP157 board?

     

    regards,
    David B

    Technical Moderator
    April 30, 2024

    HI @Pavesino 

    Flashing is done by loading TF-A, which then init the DDR to load uBoot which is responsible for Flashing.

    Here it seems TF-A is not able to see the DDR correctly working.

    Probable issues (some could be detected by using DDRFW-UTIL tool :

    • Bad DDR configuration (did you use CubeMX to generate DDR settings?)
    • DDR supplies not started (did you use STPMIC1 ?)
    • PCB issue (bad connection in schematics, bad routing, etc...)
    • Manufacturing issue (soldering)
    • etc...

    Regards.