cancel
Showing results for 
Search instead for 
Did you mean: 

I continually get "Error: Cannot identify the device" on STM32MP157c-dk2

SLetter
Associate III

Trying to program over ST-LINK instead of DFU. Boot0 and Boot2 are both switched away from the card edge. Here is what I am seeing:

letter@steve-T7500:~/work/Starter-Package/stm32mp1-openstlinux-5-4-dunfell-mp1-20-11-12/images/stm32mp1$ STM32_Programmer_CLI -c port=SWD -w flashlayout_st-image-weston/trusted/FlashLayout_sdcard_stm32mp157c-dk2-trusted.tsv

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

                       STM32CubeProgrammer v2.7.0                 

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

ST-LINK SN : 0668FF303739465043112823

ST-LINK FW : V2J32M22

Board      : NUCLEO-NONE 

Voltage    : 3.23V

SWD freq   : 4000 KHz

Connect mode: Normal

Reset mode : Software reset

Error: Cannot identify the device

What am I doing wrong?

1 ACCEPTED SOLUTION

Accepted Solutions
Houda GHABRI
ST Employee

Hi @nonesuchetter​ ,

Program MP1 MPU using STM32CubeProgrammer is possible only using DFU, SWD is not supported.

Have a look at MP1 WIKI which give many information about MP1 flashing.

If your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Houda

View solution in original post

3 REPLIES 3
Houda GHABRI
ST Employee

Hi @nonesuchetter​ ,

Program MP1 MPU using STM32CubeProgrammer is possible only using DFU, SWD is not supported.

Have a look at MP1 WIKI which give many information about MP1 flashing.

If your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Houda

Then why is it even an option? Just curious.

Houda GHABRI
ST Employee

Hi @nonesuchetter​ ,

The SWD is kept in this use case because it is used for testing purpose. :smiling_face_with_smiling_eyes:

Houda