Skip to main content
BBeck.1
Associate III
December 21, 2021
Solved

DFU Broken after STLink upgrade (FIXED)

  • December 21, 2021
  • 2 replies
  • 984 views

IDE suggested that I upgrade STLink FW on my STM32MP1-DK2 discovery board. Now when I connect my Linux PC to USBC on DK2, device isn't recognized by STMProgrammer (also nothing shows up in dmesg).

This topic has been closed for replies.
Best answer by Olivier GALLIEN

Hi @BBeck.1​ ,

There's no relation between ST-Link and USBC on DK2.

It's 2 different physical ports on board and drivers on PC side.

When you say IDE ? You mean STM32CubeIDE ?

>> USBC on DK2, device isn't recognized by STMProgrammer

Using CubeProg GUI ? Do you select USB as device for connection ?

Do you set boot switch to 00 for serial boot ?

Could you send a screenshot ?

>> also nothing shows up in dmesg

This case you mean with SDCard boot.

Nothing display on ST-Link Virtual Com Port console, right ?

But does the boot looks to happen with demo launcher displayed on sreen ?

Thanks

Olivier

2 replies

Olivier GALLIEN
Olivier GALLIENBest answer
Technical Moderator
December 22, 2021

Hi @BBeck.1​ ,

There's no relation between ST-Link and USBC on DK2.

It's 2 different physical ports on board and drivers on PC side.

When you say IDE ? You mean STM32CubeIDE ?

>> USBC on DK2, device isn't recognized by STMProgrammer

Using CubeProg GUI ? Do you select USB as device for connection ?

Do you set boot switch to 00 for serial boot ?

Could you send a screenshot ?

>> also nothing shows up in dmesg

This case you mean with SDCard boot.

Nothing display on ST-Link Virtual Com Port console, right ?

But does the boot looks to happen with demo launcher displayed on sreen ?

Thanks

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.
BBeck.1
BBeck.1Author
Associate III
December 22, 2021

Thanks. Yeah, I hadn't plugged in the OTHER usbc port (which is the DFU) on the DK2 board. Anyhow, it was coincidental that The Cube IDE prompted for ST-link upgrade.

I appreciate your response.

Cheers,

Ben

Olivier GALLIEN
Technical Moderator
December 22, 2021

Hi @BBeck.1​ 

Thanks for feedback !

In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'

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.