stm32_flash: fix initialization

Accordingly to ST AN2606, chapter "Bootloader timing"
http://www.st.com/resource/en/application_note/cd00167594.pdf
for STM32F401/F411/F412 at least 159.5 or 180.6 ms are required
from reset to bootloader ready to receive commands.
Increase the delay after reset from 5 ms to 200 ms.

Moreover, print an error message if the initial communication
fails.

Change-Id: I852b069ef73df6e0442b1ee3d5209219f52547f0
Signed-off-by: Antonio Borneo <[email protected]>
1 file changed