2024-11-21 04:07 AM
Hi everyone,
I have problems programming the STM32H533CET6, I get a file download error.
Error: failed to download Segment[0]
Error: failed to download the File
Encountered Error when opening C:\ST\STM32CubeIDE_1.16.1\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.win32_2.1.400.202404281720\tools\bin\STM32_Programmer_CLI.exe
Error in STM32CubeProgrammer
Shutting down...
Exit.
I can read the memory and delete it. But I can't download any program. I have already verified that the memory is not protected and the trusted zone is disabled. I also checked the connections according to AN5711.
I tried the “Normal”, “hot plug” and the different reset modes in STM32Programmer.
Nothing works.
Does anyone have an idea what could be the problem?
I use:
ST-link v2
CubeIde: V1.16.1
Programmer: V2.17
Thank you.
2024-11-21 09:47 AM
Hello @Erik_Valente ,
This article will help you in case you are using a custom external loader:
Custom external loader "failed to download segment... - STMicroelectronics Community