cancel
Showing results for 
Search instead for 
Did you mean: 

SystemInit() swlib V3.4.0

stst9187
Associate II
Posted on December 31, 2010 at 11:40

SystemInit() swlib V3.4.0

3 REPLIES 3
greg_t
Associate II
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

kashif
Associate II
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

stst9187
Associate II
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