2024-08-31 06:14 AM
Hi,
I have customized a board using STM32MP157DAC referencing the mp157d-disco board hardware design.
I have problem when trying to flash the image in the Starter Package. The error message as below:
20:55:08 : STM32CubeProgrammer API v2.17.0 | Windows-64Bits
20:58:45 : UR connection mode is defined with the HWrst reset mode
20:58:45 : USB speed : High Speed (480MBit/s)
20:58:45 : Manuf. ID : STMicroelectronics
20:58:45 : Product ID : DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000
20:58:45 : SN : 0046001E3331510631323633
20:58:45 : DFU protocol: 1.1
20:58:45 : Board : --
20:58:45 : Device ID : 0x0500
20:59:00 : Read TSV File: C:\Users\chenxu\Downloads\ENFLAS~1.TAR\ENFLAS~1.26\STM32M~1.26\images\stm32mp1\FLASHL~1\optee\FL8A1F~1.TSV
20:59:00 : Number of partitions: 13
20:59:07 : Start Embedded Flashing service
20:59:07 : Memory Programming ...
20:59:07 : Opening and parsing file: tf-a-stm32mp157d-dk1-usb.stm32
20:59:07 : File : tf-a-stm32mp157d-dk1-usb.stm32
20:59:07 : Size : 220.41 KB
20:59:07 : Partition ID : 0x01
20:59:07 : Download in Progress:
20:59:10 : File download complete
20:59:10 : Time elapsed during download operation: 00:00:02.672
20:59:10 : RUNNING Program ...
20:59:10 : PartID: :0x01
21:10:15 : Error: an error occured while uploading data from the virtual partition 0xF1
21:10:15 : Error: Start operation failed at partition 0x01
21:10:15 : Error: TSV flashing service failed
21:10:32 : Disconnected from device.
I checked the the power supply is ok, what could possibly cause the problem and how to trouble shoot?
Many thanks,
Chen
Solved! Go to Solution.
2024-09-02 05:07 AM
Hi @xchen
You have the wrong I2C pin configuration between your PMIC and MPU.
You can fix that in the DeviceTree folder or by change the .ioc file with STM32CubeIDE software.
2024-09-01 11:42 PM
and the debug out put as below:
NOTICE: CPU: STM32MP157DAC Rev.Z
NOTICE: Model: STMicroelectronics STM32MP157D-DK1 Discovery Board
ERROR: I2C device not ready
PANIC at PC : 0x2fff101b
Exception mode=0x00000016 at: 0x2fff101b
2024-09-02 05:07 AM
Hi @xchen
You have the wrong I2C pin configuration between your PMIC and MPU.
You can fix that in the DeviceTree folder or by change the .ioc file with STM32CubeIDE software.