When i am trying debug(Flash) my new device stm32f070f6p6 with the keil through the programer st-link, the "Flash timeout: reset the device and try again" message box appears.
Please suggest me the solution to this problem.
thanks
One trick worked in my case.
Press reset button on board -> press flash in uVision -> immediately leave the reset button on board.
Otherwise, you can try to Erase the flash and then try to program the device.
Thanks for your response , I have already tried these steps but still the scenario is same..