This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

STM32: Download hex to MCU but cannot run

Hi everyone,

I am using Keil5 and evaluating STM32. Currently I can only run my code in Debug Session.

After I downloaded my code (using F8) and powered the board again. It was not running. I also tried using J-Link Flash to program hex file to MCU and got the same result. So I guess something is wrong when compiling the code.

Am I missing something when compiling my code? Or is there any settings I can configure?

Any suggestion is helpful.

Yunhui