Stellaris® ARM® Microcontrollers
Forum
Options
Subscribe via RSS
Helpful Stellaris® LM4F Series Links
LM4F Series
Stellaris PinMux Utility
Stellaris® LM4F120 LaunchPad
LM4F MCU Applications
LM4F MCU Video
ARM Cortex-M4F Whitepaper
Stellaris MCU Brochure
LM4F232 Eval Kit
SysCtlSleep kills debugger
SysCtlSleep kills debugger
Posted by
orinem
on
Oct 28 2006 14:38 PM
Intellectual
470
points
SysCtlSleep merely executes a wfi instruction. If the wfi takes an interrupt immediately, all is fine (usually the case if you put a breakpoint fairly close in time before it and are running a 1mS timer). However, if I have no such breakpoint set, I end up at the reset handler. Running without the debugger is fine.
This is with the new debug dll.
Is this expected behavior?
It's easy enough to work around of course - comment out the SysCtlSleep() call and all is fine under the debugger.
BTW: SysCtlPeripheralClockGating(true) has not been called.
Orin.
Report Abuse
Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.