cancel
Showing results for 
Search instead for 
Did you mean: 

ST-LINK 4.2.0.0 Utility crashes when programming specific HEX file to H7 MCU

ri
Associate II
Posted on May 14, 2018 at 13:41

I am able to connect to the target:

14:35:49 : ST-LINK SN : 0674FF3836314B3457144034

14:35:49 : ST-LINK Firmware version : V2J29M18

14:35:49 : Connected via SWD.

14:35:49 : SWD Frequency = 4,0 MHz.

14:35:49 : Connection mode : Normal.

14:35:50 : Device ID:0x450

14:35:50 : Device flash Size : 2MBytes

14:35:50 : Device family :STM32H7xx

But when programming, it crashes with an error 'STM32 ST-LINK utility MFC Application has stopped working' and returned error code is equal to

1073740940

.

Please find hex file attached. It works when programming directly from KEIL using ST-link. Do you know what is going on here?

#hex #st-link-utility
7 REPLIES 7
Nesrine M_O
Lead II
Posted on May 15, 2018 at 11:54

Hi

Zickus.Rimantas

,

This issueis reported to our team for check , I will come back to you as soon as I have a feedback.

-Nesrine-

Posted on May 23, 2018 at 18:10

Hi Nesrine,

Is there any progress regarding the issue? It is quite urgent for us.

Posted on May 23, 2018 at 18:18

Use the STM32 Cube Programming Tool, the ST-LINK Utilities have been deprecated.

http://www.st.com/en/development-tools/stm32cubeprog.html

 
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on May 23, 2018 at 18:33

As long as cube version does not support all features that ST-LINK Utility has, I can not migrate to it. I expect that at least versions with bug fixes must be released until cube programming tool fully replaces the old one.

Posted on May 23, 2018 at 18:44

Don't get your hopes up, if you have urgent/critical paths don't tie them to a monolith you have no control over.

When failure is not an option, you come up with alternatives.

You could certainly determine if the Cube Prog will work with your .HEX files, and make some determination about what the Utilities don't like about yours. You could use .BIN files and see if that modifies the behaviour or success. Anything you can do to focus on the exact modes of failure/success will likely expedite a fix on ST's end.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on May 24, 2018 at 11:08

It is the same with bin files. I attached hex file so ST should be able to reproduce the bug. I think it is more than enough.

Imen.D
ST Employee

Hello,

This issue of the .hex will be fixed in the coming release of ST-Link Utility v 4.3.0.

Kind Regards,

Imen.

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