Skip to main content
SMang.1
Associate II
September 17, 2020
Question

Unable to connect to ST link (Detection Fail)

  • September 17, 2020
  • 2 replies
  • 3328 views

I'm trying to connect the MP157c-DK2 board in Engineering board. The st link is connected on the CN11 connector.

On the st link utility it says detection failed and does not recognize the device.

This topic has been closed for replies.

2 replies

Olivier GALLIEN
Technical Moderator
September 17, 2020

​Hi @SMang.1​ 

STLink Utility is a deprecated tool which does not support STM32MP1.

STM32MP1 can be program with STM32CubeProgrammer using USB ( not ST-LINK)

For Engineering mode please use STM32CubeiDE.

Please have a look to :

https://wiki.st.com/stm32mpu/wiki/Getting_started

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.
SMang.1
SMang.1Author
Associate II
September 22, 2020

Thanks for the reply.

Can you also let me know something about the IAR workbench support for the M4 core for downloading and debugging the code.

Olivier GALLIEN
Technical Moderator
September 22, 2020

Hi @SMang.1​ ,

Yes IAR support STM32MP1 device.

We already deliver few exemples of application project for IAR/EWARM in Cube Firmware package.

For sure engineering mode is supported.

For production mode I suspect you need to manage to start Linux and load M4 firmware prior to attach with IAR.

I don't find any useful resource for usage of IAR on MP1 sorry.

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.
PatrickF
Technical Moderator
September 25, 2020

Maybe check your STLink FW version (e.g. using STM32_Programmer_CLI.exe -l) and check with IAR.

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.NEW ! Sidekick STM32 AI agent, see here