W dniu 2013-04-30 20:18, Jonathan Dumaresq pisze: > Hi all, > > We try to use openocd with an stm32l1x target (discovery) with sleep mode. > > I just compiled the latest version op oocd. I would like to know if we can > use openocd with a device that go into sleep mode at some period of time > ?(90% sleeping). > > We try using DBGMCU_STANDBY | DBGMCU_STOP | DGBMCU_SLEEP in the config > register without success. > > Is it possible to use the stlinkV2 with stm32 sleep mode ? > > Regards > > jonathan
I'm using similar setup right now (instead of STM32L I have STM32F1 HD VL), but I'm using the most "shallow" mode - there's just WFI assembly instruction in the idle thread. With the 3 options you mentioned it works fine. 4\/3!! ------------------------------------------------------------------------------ Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with <2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1 _______________________________________________ OpenOCD-devel mailing list OpenOCD-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openocd-devel