Hi, > We try to use openocd with an stm32l1x target (discovery) with sleep mode.
I have no experience with these, I tried it with a stm32f4discovery. > We try using DBGMCU_STANDBY | DBGMCU_STOP | DGBMCU_SLEEP in the config > register without success. After setting these it worked for me. Are you sure the registers are really set when you are trying to debug? Maybe some other initialization code in your program (e.g. from a library) resets them after you wrote them first. Something like this hit me several times. Try to connect to your device once with openocd and then verify the register values from the openocd shell. Kind regards, Gerd ------------------------------------------------------------------------------ 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