cancel
Showing results for 
Search instead for 
Did you mean: 

Encountered Error when opening STM32_Programmer_CLI.exe

dwJavad
Associate II

Hi! I'm trying to flash a STM32H723ZG with STM32CubeIDE 1.14.0 and ST-LINK V2

and use OSPI peripheral to communicate with the W25Q256 external flash as QSPI

and I have this error:

(I have tried all the suggestions given in the community to solve this problem, but I still haven't got any results.

The only way I could get the result was using STMcubeIDE version 0.4.

Do you have any suggestion to fix this problem in higher versions? Thank you)

 

ST-LINK FW : V2J44S7

Board : --

Voltage : 1.58V

JTAG freq : 9000 KHz

Connect mode: Under Reset

Reset mode : Hardware reset

Device ID : 0x483

Revision ID : Rev Z

Device name : STM32H72x/STM32H73x

Flash size : 1 MBytes

Device type : MCU

Device CPU : Cortex-M7

BL Version : 0x93

 

 

 

Memory Programming ...

Opening and parsing file: ST-LINK_GDB_server_a03076.srec

File : ST-LINK_GDB_server_a03076.srec

Size : 195.92 KB

Address : 0x08000000

 

 

Erasing memory corresponding to segment 0:

Erasing internal memory sector 0

Erasing memory corresponding to segment 1:

Erasing external memory sectors [0 1]

Download in Progress:

 

 

Error: failed to download Segment[0]

Error: failed to download the File

Encountered Error when opening C:\ST\STM32CubeIDE_1.14.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.win32_2.1.100.202311100844\tools\bin\STM32_Programmer_CLI.exe

Error in STM32CubeProgrammer

Shutting down...

Exit.

28 REPLIES 28
Imen.D
ST Employee

Hello @dwJavad ,

Could you please try with latest release of STM32CubeProgrammer (v2.16.0) and STM32CubeIDE (v1.15.0).

Then, please keep me informed about your update on this.

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

Thanks for the support.

I upgraded both software to STM32CubeProgrammer (v2.16.0) and STM32CubeIDE (v1.15.0).

But the problem has not been solved yet.

 

ST-LINK FW : V2J44S7

Board : --

Voltage : 1.59V

SWD freq : 4000 KHz

Connect mode: Under Reset

Reset mode : Hardware reset

Device ID : 0x483

Revision ID : Rev Z

Device name : STM32H72x/STM32H73x

Flash size : 1 MBytes

Start Address : 8000000

Device type : MCU

Device CPU : Cortex-M7

BL Version : 0x93

 

Memory Programming ...

Opening and parsing file: ST-LINK_GDB_server_a01356.srec

File : ST-LINK_GDB_server_a01356.srec

Size : 192.62 KB

Address : 0x08000000

 

Erasing memory corresponding to segment 0:

Erasing internal memory sector 0

Erasing memory corresponding to segment 1:

Erasing external memory sectors [0 1]

Download in Progress:

 

Error: failed to download Segment[0]

Error: failed to download the File

Encountered Error when opening C:\ST\STM32CubeIDE_1.15.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.win32_2.1.200.202311302303\tools\bin\STM32_Programmer_CLI.exe

Error in STM32CubeProgrammer

Shutting down...

Exit.

 

Imen.D
ST Employee

Hi @dwJavad,

I escalated this issue internally for analysis via internal ticket number: 178110 (Internal tracking number is not accessible by customers).

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

Thanks for the support.

TomC1
Associate II

Is there any resolution to this? I am having a very similar problem.

Sbag
Associate III

Imen.D, 

I too am facing the same issue with Stm32CubeIDE 1.15.1

However I could upload the code with ST-Link utility. On investiging the STM32_programmer_CLI.exe it shows error with am-ms-win-Core-synch-l1-2-0.dll. This is microsoft dll and is used by several application. On opening the dll with depends.exe , it shows error. So I copied a working dll. However it shows that the exe cannot find entry point "CreateEventW" in the above dll. The depends.exe shows all the dependancies and entry point. I couldn't find the said entry point in any of the dll's on my windows 7 64 bit computer. 

Hope this helps your team to find solution fast. 

Pavel A.
Evangelist III

@Sbag these API_MS_WIN...  DLLs are not real, so it's normal that they do not exist. Please don't copy random DLLs from other machines and various websites (heaven forbid). 

Get a clean pristine Windows system, ensure that your internet connection is not obstructed by broken corporate or state "security solutions".

 

Sbag
Associate III

// these API_MS_WIN...  DLLs are not real // 

That is something..   Thanks for the info. 

@Imen.D 

@Sbag 

I could upload the code by changing the plugin.

But at the end of the upload process, the previous error is still visible and prevents debugging the program.