[STM32F4-Discovery] Error "Code is held in reset" ?

I got the error while i was downloading code to STM32F4 Discovery and error was : Core is held in reset. I cannot connect using STLink Utilities. Thank you.