AnsweredAssumed Answered

debugger, what is it really doing

Question asked by Rygel.Troy1818 on Apr 3, 2016
Latest reply on Apr 5, 2016 by dembek.radoslaw.001
Hi everyone,

I wonder exactly what the debugger is doing when I attach it with gdb. What is the big difference between running with debugger and without debugger?

Does it use its own startup code ?
Does it do stuff with clock registers ?
Different entry point ?
Etc...

I have st-link v2 debugger and the reason for asking is that my sdram stops working when outside debugger (attach it once in gdb and just quit gdb makes the board restart and then makes the sdram work as well).

Regards,
Troy1818

Outcomes