Skip to main content
SRedd.5
Senior III
May 22, 2023
Question

Flashing Issues

  • May 22, 2023
  • 1 reply
  • 632 views

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.

    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    May 22, 2023

    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 VenmoUp vote any posts that you find helpful, it shows what's working..