This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

having problem in flashing the code error:flash time out reset the target and try again

Hello,
I am trying to flash a simple code of led blinking on stm32vl discovery. The code is compiling but there is a problem in flashing the code on board. It is giving the error flash timeout:reset the target and try again,error:flash download failed-"cortex M3". Please help me with this.

  • Make sure to select the suitable ST-LINK options, including using SWD mode, and not JTAG

    Other options would be "Connect under Reset". If you continue to have problems try using the ST-LINK Utilities, and make sure the firmware and drivers are current.

    If you break the GPIO pins, or put the device into a low power mode, you can pull the BOOT pin high so it doesn't run flash based code.