2025-03-13 6:33 PM - edited 2025-03-13 7:13 PM
Hello, I built FIP artifacts following wiki, `STM32MPU Developer Package`, 5.2. Installing the OpenSTLinux BSP packages.
And I could get binary files:
1. TF-A binary: tf-a-stm32mp157d-smp4-mx-optee-emmc.stm32
2. OPTEE binary: tee-*.bin files
3. u-boot binary: u-boot{,-nodtb,-dtb}.bin files
I did not build linux kernel yet. I want to check PMIC's 1.35v output in current step, because I've read somewhere in ST wiki that works when TF-A is flashed.
But Cube Programmer disconnected from the device before doing something. <-- This was soldering problem. after resoldering, its fixed.
and even more, eMMC is not detected in cube programmer.
10:12:34 : UR connection mode is defined with the HWrst reset mode
10:12:35 : USB speed : High Speed (480MBit/s)
10:12:35 : Manuf. ID : STMicroelectronics
10:12:35 : Product ID : DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000
10:12:35 : SN : 003B00413432510735313430
10:12:35 : DFU protocol: 1.1
10:12:35 : Board : --
10:12:35 : Device ID : 0x0500
10:12:36 : Warning: Connection to device 0x500 is lost
10:12:36 : Disconnected from device.
10:12:38 : UR connection mode is defined with the HWrst reset mode
10:12:39 : USB speed : High Speed (480MBit/s)
10:12:39 : Manuf. ID : STMicroelectronics
10:12:39 : Product ID : DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000
10:12:39 : SN : 003B00413432510735313430
10:12:39 : DFU protocol: 1.1
10:12:39 : Board : --
10:12:39 : Device ID : 0x0500
10:12:43 : Disconnected from device.
Schematics:
---
eMMC recognition problem.
No partitions are related for eMMC. should I flash first partition and FSBL?
Or how can I check this problem?
2025-03-14 1:20 AM
Hi,
did you load a correct flashlayout file to CubeProgrammer ?
https://wiki.st.com/stm32mpu/wiki/STM32CubeProgrammer_flashlayout#e-E2-80-A2MMC
Here is an example on how to flashload a board (here it is SD-Card, but will be similar for eMMC, apart different flashlayout file)
Regards,
2025-03-16 2:18 AM
Hello, Ah, I tried to flash my boards with customized TSV file.
and it includes just custom TF-A binary and FIP binary. but Cube programmer returns following message:
18:13:56 : Download in Progress:
18:13:57 : File download complete
18:13:57 : Time elapsed during download operation: 00:00:00.662
18:13:57 : RUNNING Program ...
18:13:57 : PartID: :0x01
18:13:57 : Error: Start operation failed at partition 0x01
18:13:57 : Error: TSV flashing service failed
And then, Cube programmer is crashed to desktop.
Is this a problem on TF-A's device tree? @PatrickF
2025-03-17 12:25 AM
hi @jaehoon ,
worth to look at board console output if any messages. TF-A is probably crashing.
Did you check your DDR settings/behavior with DDRFW-UTIL ?
Regards.