Encountered Error when Flashing STM32L552CET6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-03-05 11:13 PM
I have been trying to flash a test program onto a STM32L55CET6 using a ST-Link 2. I can connect and configure the device just fine using the STM32 Cube Programmer application but when I try to flash it from the IDE I keep getting an error where it fails to perform the task. In the IDE itself it simply gives me this error.
"Failed to execute MI command:
load "C:\\Users\\Redacted\\STM32CubeIDE\\workspace_1.14.1\\test_project\\Debug\\test_project.elf""
and when I dump the whole log output the specific error seems to arise here. I have been trying anything I can to find a solution to this problem. Is there anyone who can help me solve this puzzle as to why I am unable to flash data onto the board ?
>[6.773] spawnCubeProgrammer(): Encountered Error when opening C:\ST\STM32CubeIDE_1.14.1\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.win32_2.1.100.202311100844\tools\bin\STM32_Programmer_CLI.exe
>[6.775] spawnCubeProgrammer(): 14:59:28:040 Error: ST-LINK error (DEV_CONNECT_ERR)
- Labels:
-
STM32L5 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-03-06 5:58 AM
Hello @Gaius_baltar_2025
First let me thank you for posting.
Let's try to go to Debug configuration and change the port number to 61238 this could solve the problem
I will be waiting for your feedback.
Thx
Ghofrane
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.
