cancel
Showing results for 
Search instead for 
Did you mean: 

Flashing Issues

SRedd.5
Senior III

A strange issue is observed, i am able to flash using STM32 CubeIde and shows flashing successful, but when run command using debugger the code does not execute, it stays at while (1). Any possible reasons why such behavior happens? Please advise.

1 REPLY 1

The code's broken?

It fails before it gets to main() ?

Which while(1) loop, knowing which one will give you a clue.

Instrument the Hard Fault Handler and Error Handler routines, so you know they got there, and from where.

Custom Hardware? What are you doing with BOOT0 pin?

>>Any possible reasons why such behavior happens?

Think it through, the machines are pretty simplistic at their core

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..