cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 cube programmer HEX file loading

harshpanchal_6
Associate III

Hello Community,

I’m facing an issue while loading a firmware HEX file using STM32CubeProgrammer. The HEX file is not downloading successfully. Could you please suggest what might be wrong or provide guidance on how to resolve this?

2 REPLIES 2
isikli
Associate III

This issue is usually not related to the HEX file itself but to configuration or connection problems. You may want to check points:

1) connection is ok ? make sure you selected the correct interface(st-link or uart or usb..)
2) mcu is powered ? if voltage is not detected, programming will fail.
3) if the mcu is protected RDP, can't programmed.
4) check your options bytes

isikli_0-1777878289661.png

isikli_1-1777878334678.png

Also please share the log output from the programmer.

 

Andrew Neil
Super User

@harshpanchal_6 wrote:

The HEX file is not downloading successfully.


Please give full details of what, exactly, you're using and how, exactly, it fails:

How to write your question to maximize your chances to find a solution

 

Can you download anything else to this target?

Can you download to any other target?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.