cancel
Showing results for 
Search instead for 
Did you mean: 

Flashing error

Pavesino
Associate II

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?

6 REPLIES 6
DBELL.1
ST Employee

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.

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

DBELL.1
ST Employee

Hello @Pavesino ,

 

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

 

rgds
David B

 

in the TSV for partition 3 i have 

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

so no missing line for this

thanks

DBELL.1
ST Employee

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

PatrickF
ST Employee

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.

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.