2024-12-13 03:05 PM
Hi all,
I just got the board and off course now want to follow the official page (https://wiki.stmicroelectronics.cn/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP135x-DK/Let%27s_start/Populate_the_target_and_boot_the_image) for flashing.
OS windows 10.
STMCubeProgrammer v2.18.0
Regards
Solved! Go to Solution.
2024-12-22 02:23 AM
HI PatrickF,
Good news, I found a way to download.
Attached the uart log with all 3 attempts.
This issue is resolved!!!!
Regards & thx for support,
anpa
2024-12-16 05:39 AM
Hi,
this is two common pitfalls which could make this to happen:
Regards,
2024-12-16 10:00 AM
Hi PatrickF,
I use official Raspi 4 (ouput 5.1V 3A 15.3W) charger which should be ok for the board.
I use windows 10 pure and no VM or wsl2. I dont see any error anywhere.
I suspect 3 things.
I flashed so far the booloader with balenaEtcher to the SDCard and this is ok I reach the u-boot.
I also did this https://bootlin.com/blog/building-a-linux-system-for-the-stm32mp1-basic-system/ and works perfectly.
So my problem is CubeProgrammer is not transferring files to the SDCard. Strange thing is why the programmer crashes and not displaying some error code? Should I try some older versions and/or install a VM and flash it from linux?
Regards,
Andor
2024-12-16 11:43 PM
Hi,
Power supply could be 5V 3A and NOT USB Type-C compliant (there is many on the market). RPi does not check this compliance as our OpenSTLinux Starter Package do (it could be disabled when you will rebuild a now image for this board or a custom board).
Could you share the board console log by connecting STLINK connector to a PC and running a terminal emulator on the related Virtual Com Port?
Btw, the link you provided in your first post is not for the right product/board (but should not make difference as in the screen capture, I see right files)
Regards.
2024-12-17 12:24 AM
2024-12-17 12:49 AM
2024-12-17 12:58 AM
ok, so maybe a missing USB driver on the PC (I guess during CubeProg install).
Could you look at Windows Device Manager (after the 'reconnect') to see if 'reconnected' DFU is present.like this
Regards,
2024-12-17 03:08 AM
hm yes it doesn't look that fancy
but I ran from shell STM32Bootloader.bat I even commented the @Echo off to check which if else enters the bash script
2024-12-19 12:53 AM
Hi PatricF,
I tried to reinstall all again but no luck.
I debugged the STM32Bootloader.bat and from if else it enters the:
start "STM32 USB DFU DRIVER" pnputil -i -a %0\..\Driver\STM32Bootloader.inf
but the log I get:
pnputil -i -a "c:\Program Files (x86)\STMicroelectronics\STM32Cube\STM32CubeProgrammer\Drivers\DFU_Driver\Driver\STM32Bootloader.inf"
Microsoft PnP Utility
Processing inf : STM32Bootloader.inf
Failed to install the driver : No more data is available.
Total attempted: 1
Number successfully imported: 0
regards
2024-12-19 02:07 AM
Hi @anpa
strange as CubeProgramer should have been installed in C:\Program Files and not c:\Program Files (x86)
What result did you get if you right click on STM32Bootloader.inf file then select install ?
Regards.