Paul,

Yes, using FreeRTOS, entering "sleep" mode and calling WFI from the idle
task (lowest priority).  Not sure how familiar you are with the STM32, but
I'm calling the standard peripheral library PWR_EnterSleepMode(
PWR_Regulator_ON, PWR_SLEEPEntry_WFI ) right now, which sets the voltage
regulator to low power mode and calls WFI.  Does OpenOCD require special
handling with sleep states?


On Mon, Oct 28, 2013 at 11:18 AM, Paul Fertser <[email protected]> wrote:

> Hi,
>
> On Mon, Oct 28, 2013 at 10:37:02AM -0700, Dan Dev wrote:
> > (probably related) showed itself.  OpenOCD would lose connection to the
> target
> > constantly.  Anything more than about 100ms of running would cause this
> (as in I
> > could usually single step, and set breakpoints not too far ahead in code
> and run
> > to them).
>
> Are you probably putting target to some kind of sleep from withing
> your code (WFI?), is any RTOS running?
>
> --
> Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
> mailto:[email protected]
>
------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to