cancel
Showing results for 
Search instead for 
Did you mean: 

My PC with windows does not detecting STM32MP157 in DFU mode

ebilal83
Associate

Hi everyone,

I've designed a custom board using the STM32MP157. Rather than using an ST-Link, I'm planning to flash the code using DFU mode. To do this, I've installed STM32CubeProgrammer on my PC and connected the USB cable to the board. However, CubeProgrammer isn't detecting the STM32MP157, even though I've configured the BOOT pins for DFU mode.

I'm wondering if I'm missing something. Can anyone guide on this issue?

14 REPLIES 14

Thank you very much for your assistance. It appears I misinterpreted the evaluation board schematic. Could I potentially use the following UART pins to flash the SD card in DFU mode? The CubeIDE offers a UART option. Additionally, I'll explore the possibility of directly programming the SD card.

ebilal83_0-1734096962911.png

 

you could use UART only with the following pins (from AN5031, but also on wiki.st.com)

PatrickF_0-1734098071879.png

But UART is usually limited to TF-A/uBoot flashing as it will be extremely long to flash hundreds of MBytes with UART.

Best would be to program the SD-Card with PC (although it might be possible with W10/W11 using specific disk utilities, we only describe with Linux or Virtual Machine using dd).

Regards.

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.

I am thankful for your help and quick responses. I need to set the ranks of LDO1, LDO2, LDO3, and LDO6 to be one so I can get there voltages. I also want to increase VDD_core from 1.2V to 1.5V since STM32MP157 operating at 800Mhz. Can you help me in setting the registers of STPMIC1 through I2C communication?

Hi,

all the voltage in STPMIC1 will be automatically handled by Linux with correct Device Tree (including overclocking voltage frequency to 1.35V/800MHz when required by the processing).

Btw, I did not see any DDR memory on your schematics. STM32MP15 is barely not usable with external DDR memory (where the Flash code is loaded during boot).

Regards.

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.

Ohh, I really need the DDR? Without it my system will not work? I exclude it due to space and cost. Can I program it using SWD?