2023-10-04 04:38 PM
I know this is probably a really stupid/noob question but I was trying to flash the STM32MP157D-DK1 board I have for the first time following the following guide:
https://wiki.st.com/stm32mpu/wiki/STM32MP15_Discovery_kits_-_Starter_Package
I ran into an issue where it started the flash and then couldn't reconnect. I did find this article that seems to describe exactly the issue I'm having:
It recommends:
In Uboot shell run a Dfu command :
STM32MP> env set dfu_alt_info "DDR ram 0xC0000000 0x20000000"
STM32MP> dfu 0 ram 0
Unfortunately, I don't know how to run a uboot shell to try this. I know this is probably a really stupid problem . . . but I'm also hoping that means it has an easy solution as well. Any help you can give me would be greatly appreciated. Thanks!
Solved! Go to Solution.
2023-10-18 05:19 PM
I had tried using STM32CubeProb and the command line from a dedicated Linux Laptop (6 Core Intel Processor with 32 GB of RAM, more than enough to run this), and had the USB going into a Vantec powered hub, so I thought that was fine. I changed out the USB cables and went directly into a Windows machine and was able to get it working. Not sure what the limiting factor was since I changed everything at once (probably not one of my smartest moves, but it seems to have worked). I'll have to poke at it to find the limiting factor. Not sure if the issue was the USB cables or the hub (it's limited to 900 mA of current, which is the USB 3.0 standard, I guess. Not sure if the port on a laptop would be providing more).
Anyway, thanks for helping me resolve this!