2025-03-08 10:30 AM
hi
just update STM32CubeIDE to Version: 1.18.0
And I can't program my Target as before.
getting this error :
Error message from debugger back end:
Error finishing flash operation
Failed to execute MI command:
load C:\\Users\\user\\STM32CubeIDE\\workspace_1.16.0\\PiezoPump-2\\Debug\\PiezoPump-2.elf
STMicroelectronics ST-LINK GDB server. Version 7.10.0
Copyright (c) 2025, STMicroelectronics. All rights reserved.
Starting server with the following options:
Persistent Mode: Disabled
Logging Level: 1
Listen Port Number: 61234
Status Refresh Delay: 15s
Verbose Mode: Disabled
SWD Debug: Enabled
InitWhile: Enabled
Target not halted after reset. Force halt
Waiting for debugger connection...
Debugger connected
Waiting for debugger connection...
Debugger connected
Waiting for debugger connection...
STM32CubeProgrammer v2.19.0
Error: Unable to connect to the target device, Access port is invalid.
Encountered Error when opening C:\ST\STM32CubeIDE_1.16.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.win32_2.2.100.202412061334\tools\bin\STM32_Programmer_CLI.exe
Error in STM32CubeProgrammer
Shutting down...
Exit.
BUT...if I am using the stand-alone STM32CubeProgrammer V2.19.0 I can connect to Target as well as to program.
but using the seam elf fike on STM32CubeIDE led to an error as mentioned above.
please help.
2025-03-08 11:27 AM
Hello @AFink.1
Are you using the NUCLEO-WBA55? If so, are you using the NUCLEO-64-Mezzanine board MB1801- NoUSB-D02?
Best Regards.
STTwo-32
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.