2014-07-05 01:50 AM
Hi
I started working with STM32f4 by STM32F4-Discovery Board.The first Document that I started using it is firmware example.But in Standby Mode example I've encountered with some problem with my ST_LINKAfter I build PWR_STANDBY Project and program flash, when I run in debug mode the ST-Link is disconnected and the LED on Board that related to Board is get orange.After this problem the only way is to erase flash via ST-LINK Utility.Has Serial Wire Viewer problem whith standby mode?Or Is something else is wrong?Thanks2014-07-05 03:25 AM
It's very hard to use a debugger on a system that powers down or resets the processor.
The part is also going to be difficult to erase as the JTAG/SWD connection takes time to negotiate, and this will fail if the processor shuts down too quickly. I would recommend using a serial port to provide you with system status and progress reporting. You could also use the LEDs on the board.