cancel
Showing results for 
Search instead for 
Did you mean: 

STM32MP157F-DK2 DFU mode Problem.

hc_hong
Associate

Hi

I have STM32MP157F-DK2 board and I am following StarterPackage Wiki document.
(https://wiki.st.com/stm32mpu/index.php/STM32MP15_Discovery_kits_-_Starter_Package)

I am following wiki and my STM32MP157F-DK2 board is not entering DFU mode.

Here are the steps I tried to enter DFU mode.

DeepSwitch is set to off and I am using 5V 3A charger for power.

I connected OTG cable and inserted microSD into slot, turned on power and pressed Reset button.

However, when I execute 'STM32_Programmer_CLI -l usb' command on PC, only 'No STM32 device in DFU mode connected' response is returned.

What did I miss?

I tested it on Windows PC and Ubuntu 20.04 PC respectively.

Any help is very appreciated, thank you,

1 ACCEPTED SOLUTION

Accepted Solutions
hc_hong
Associate

I found a solution to this problem. I'm sharing it for those who might be having similar issues.
1. Remove the microSD card from the slot.
2. Set all Deep Switches to ON
3. Connect the OTG cable
3. Connect the power
4. Press the Reset button
After that, I confirmed that it entered DFU mode.
After reinserting the microSD into the slot, I was able to use it normally.

View solution in original post

1 REPLY 1
hc_hong
Associate

I found a solution to this problem. I'm sharing it for those who might be having similar issues.
1. Remove the microSD card from the slot.
2. Set all Deep Switches to ON
3. Connect the OTG cable
3. Connect the power
4. Press the Reset button
After that, I confirmed that it entered DFU mode.
After reinserting the microSD into the slot, I was able to use it normally.