From what I can see in your youtube video, I can't see anything that looked bad.
- You can step over SysCtlDelay(SysCtlClockGet()*3/3);
- You can step into SysCtlClockGet() and step though it with proper C source displayed.
- You can step into SysCtlDelay() and step though it abeit in assembler. If you look at the sysctl.c source, this is a function written in assembler consisting of only 3 instructions:
SysCtlDelay:
subs r0, #1
bne.n SysCtlDelay
bx lr
it just a loop that counts down to zero. The register r0 is passed in and has the initial value of SysCtlClockGet()*3/3. If you stepped long enough, eventually it would return. Easiest just to step out.
- The video did not appear to show a "Trouble Halting" problem. I might have missed it.
↧
Forum Post: RE: Function (header) and halting problems
↧