cancel
Showing results for 
Search instead for 
Did you mean: 

Can't flash SD card on STM32MP157-EVAL

NKall.1
Associate II

I have a STM32MP15X-EVAL board MB1262C-01 with a MB1263B-04 CPU-board on it (MP157AAA3). 

I'm following the instructions from 'STM32MP15_Evaluation_boards_-_Starter_Package'

Boot 0,1,2 jumpers are OFF, JP1 is removed. USB connected to CN4 (ST-Link) and CN16 (USB_OTG).

I've tried both from Linux and Windows, and with different SD cards.

This is the Windows log:

In en.FLASH-stm32mp1-openstlinux-5.15-yocto-kirkstone-mp1-v22.11.23:

STM32_Programmer_CLI.exe -c port=usb1 -w flashlayout_st-image-weston\trusted\FlashLayout_sdcard_stm32mp157a-ev1-trusted.tsv

USB speed  : High Speed (480MBit/s)

Manuf. ID  : STMicroelectronics

Product ID : DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000

SN     : 000000000000

DFU protocol: 1.1

Board    : --

Device ID  : 0x0500

Device name : STM32MP15xx

Device type : MPU

Revision ID : --

Device CPU : Cortex-A7

Start Embedded Flashing service

Memory Programming ...

Opening and parsing file: tf-a-stm32mp157a-ev1-usb.stm32

 File     : tf-a-stm32mp157a-ev1-usb.stm32

 Size     : 220.38 KB

 Partition ID : 0x01

File download complete

Time elapsed during download operation: 00:00:00.557

RUNNING Program ...

 PartID:   :0x01

Error: an error occured while uploading data from the virtual partition 0xF1

Error: Start operation failed at partition 0x01

Error: TSV flashing service failed

-------------------

UART via ST-Link says:

PANIC at PC : 0x2ffeeb91

Exception mode=0x00000016 at: 0x2ffeeb91

-------------------

STM32CubeProgrammer says

 18:27:15 : ST-LINK SN : 0671FF545148807267012016

 18:27:15 : ST-LINK FW : V2J40M27

 18:27:15 : Board    : STM32MB123-EV

 18:27:15 : Voltage   : 3.22V

 18:27:15 : SWD freq  : 4000 KHz

 18:27:15 : Connect mode: Normal

 18:27:15 : Reset mode : Software reset

 18:27:15 : Error: Cannot identify the device

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @NKall.1​ ,

We initiate process to provide you the last revision board.

You might be notified soon.

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.

View solution in original post

4 REPLIES 4
Olivier GALLIEN
ST Employee

Hi @NKall.1​ ,

You seems to get an early crash in TF-A.

All delivered EVAL might be MB1263-C01.

Can you confirm you have a MB1263B-04 CPU-board ? When and how you get them ?

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, thank you, yes I can confirm we have a MB1263B-04 CPU board. I'm from IAR so I guess we got this board through our partner program, most likely around 2018.

Hi @NKall.1​ ,

We initiate process to provide you the last revision board.

You might be notified soon.

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.

Thank you Olivier! Solved!