Skip to main content
stst9187
Associate III
December 31, 2010
Question

SystemInit() swlib V3.4.0

  • December 31, 2010
  • 3 replies
  • 633 views
Posted on December 31, 2010 at 11:40

SystemInit() swlib V3.4.0

    This topic has been closed for replies.

    3 replies

    greg_t
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 14:20

    Probably your debuger options set to run without break points until main() reached 

    Removing it might allow you to stop at startup code

    stst9187
    stst9187Author
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 14:20

    where I can find ''reset to main'' option?

    I find ''run to main optioin'' !

    Is this option that you mean?

    Note I use ST-Link debugger

    Thanks

    kashif
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 14:20

    Hi,

    it is OK to call SystemInit() in startup and you can debug it too. check your debugger settings for ''Reset To Main'' option.

    when you load your program in debug mode, try running from the same point the pointer is pointing at. do not reset the code before you debug. because when u reset the code the debugger goes to main() ignoring any break point in SystemInit().

    hope it helps.

    kashif87