2024-12-12 09:11 AM
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?
Solved! Go to Solution.
2024-12-13 05:39 AM
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.
2024-12-13 05:57 AM
you could use UART only with the following pins (from AN5031, but also on wiki.st.com)
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.
2024-12-13 07:17 AM
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?
2024-12-13 07:32 AM
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.
2024-12-13 07:54 AM - edited 2024-12-13 08:35 AM
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?