cancel
Showing results for 
Search instead for 
Did you mean: 

DFU Broken after STLink upgrade (FIXED)

BBeck.1
Associate II

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).

1 ACCEPTED SOLUTION

Accepted Solutions
Olivier GALLIEN
ST Employee

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.

View solution in original post

3 REPLIES 3
Olivier GALLIEN
ST Employee

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
Associate II

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

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.