cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to boot starter package for STM32MP257 DK - mmc device not found

Surcouf7
Associate

I'm currently trying to boot STM32MP257 DK board.
I managed to do it in the past with starter and developer package. I recently got back to it and tried to boot it again but without success.

I tried to upload starter package to SD card and EMMC, both ways are not working.

I followed guide on https://wiki.st.com/stm32mpu/wiki/STM32MP25_Discovery_kits_-_Starter_Package

STM32 programmer is able to see the device:

❯ STM32_Programmer_CLI -l usb
-------------------------------------------------------------------
STM32CubeProgrammer v2.20.0
-------------------------------------------------------------------

===== DFU Interface =====

Total number of available STM32 device in DFU mode: 1

Device Index : USB1
USB Bus Number : 001
USB Address Number : 006
Product ID : USB download gadget@Device ID /0x505, @Revision ID /0x0011,  /STM32MP257FAK Rev.Y,
Serial number : 003B002E4136500C00373653
Firmware version : 0x0110
Device ID : 0x0505

However, each time I try to upload image to the SD card I get following error:

$> STM32_Programmer_CLI -c port=usb1 -w flashlayout_st-image-weston/optee/FlashLayout_sdcard_stm32mp257f-dk-optee.tsv

Message from Embedded Flash Loader : mmc device 0 not found
Received PhaseID == 0xFF, system is going to reboot

I tried already 4 different SD cards and none of them work

I tried uploading image to EMMC and it works (flashing is complete):

STM32_Programmer_CLI -c port=usb1 -w flashlayout_st-image-weston/optee/FlashLayout_emmc_stm32mp257f-dk-optee.tsv

but then after I change boot pins to boot from EMMC (0100) there is absolutely no sign of life from the board - nothing on HDMI, nothing on serial console though ttyACMx devices are detected.

When not connected to PC, I'm using PSU for Raspberry Pi: 5.1 V, 3.1 A, 15.3W

Have I missed something? How can I make my board work or run more diagnostics?

 

1 REPLY 1
Surcouf7
Associate

Something very strange happened - all the time I had CSI camera module connected to the board. When I unplugged it, the flashing of starter package finished with success.

 

Could anybody tell me what happened and why does it work that way?