cancel
Showing results for 
Search instead for 
Did you mean: 

STM32MP257F-EV1 based custom carrier board flashing issue

Kaviya_M
Associate II

Hi ST Team,

I am currently working with the STM32MP257F-EV1 based custom carrier board and experiencing an issue during the flashing process(boot mode is eMMC).

Initially, the board works fine and flashing completes successfully. Over the time, the flashing is failing.

From the flash logs, I observe that the failure occurs at partition 0x03 (refer the attached flash_log.txt).

At the same time, the UART console shows panic logs during boot (attached in uart_boot_logs.txt).

Could you help us to know the root cause of this issue and steps to recover?

Thank & regards,

Kaviya

 

4 REPLIES 4
Olivier GALLIEN
ST Employee

Hi @Kaviya_M ,

Please confirm you are using your own customer board that is similar to an EV1, right ? 

We noticed that you are attempting to use exact same binaries. 

It is unlikely that even with a very similar HW there's no need to tune the DT as some point.


Can you double check BSP DT vs your harware ? 

 

Olivier 

Olivier GALLIEN
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.

Hi Olivier,

Yes, we have designed the custom board similar to STM32MP257F-EV1.
The change is we are using eMMC with part number THGBMJG6C1LBAU7 which is 8GB.
Whereas in EVK, the eMMC part number THGBMTG5D1LBAIL which is 4GB.
Attached the kernel device tree for reference.

In Addition to that, Can you provide any power sequence diagram available for STM32MP257F-EV1.
Just want to ensure the same has been incorporated in custom carrier board.

Kindly check and provide us details.


Thanks and regards,
Kaviya

Olivier GALLIEN
ST Employee

Hi @Kaviya_M ,

For power, I guess you are using STPMIC25 right ? 

You can refer to 

AN5727 How to use STPMIC25 for a wall adapter powered application on STM32MP25x lines MPUs AN5727.pdf

Indeed, checking all power supply is the right thing to do. 

 

Olivier 

 

Olivier GALLIEN
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.

Hi Olivier,

Sorry for the delayed response.

Case 1: Issue with partition 0x03 failure
Yes, we are using STPMIC25 for power.
Also, we have validated your suggestion on checking power supply and its fine.
Evaluated using DDR test suite and everything seems okay and the logs are attached.

Case 2: Issue with partition 0x02 failure
In addition to that, we are also facing issue with partition 0x02 in another board (ddr initialization is failed) attached the logs for the reference.
From the hardware perspective , we have validated the below points:
1. Reducing DDR speed, disabled watchdog.
2. Probed the powers rails with oscilloscope and attached the data.

Could you please look into it and suggest us the steps to recover at the earliest?


Thanks and regards,
Kaviya