I recently updated to Keil MDK 5.28, and everything worked fine till i downloaded my software and try to start it on my board. Upload worked perfectly like on last version (5.26). Then i noticed that board does not start and i found out that my ST-LINK/V2 debugger does not produce reset signal after upload. I checked settings and my (Reset and Run) function is checked and i also put osciloscope on reset pin and result is as expected (no signal after upload). I upgraded STLINK on latest firmware.
Does anyone have same problem?
Thanks for any help!
Does 'Reset & Run' necessarily use the hardware reset signal ... ?
see i.e. : http://www.keil.com/support/man/docs/ulink2/ulink2_ctx_debug.htm
Thanks, rkopsch - so whether or not it's used is configurable.
So, SebaC - is your project configured to use the hardware reset line?
Currently i use "Autodetect" function, but i also tried "HW RESET" but it does not help.
Problem is that in "DEBUG" mode if i hit "RESET" or "RUN" program start as expected.
I belive i have got problem in this part, picture below. Because when i hit "Download" reset pin occoures on osciloscope but after finishing downloading software does not occur.
I have same problem and I think it's a bug in 5.28a
Did you solve it ?
Sorry not jet.
Nader SebaC Were you able to solve this problem? I am running into the exact same issues with Keil MDK 5.31.0
Sorry not yet, I reset it manually or in debug mode.
SebaC Did you contact Keil / ARM about this? It's kinda hilarious that this seems to be an actual bug. I updated the firmware of my ST-Link V2 according to the Keil IDE instructions but this didn't do anything.Edit: I am assuming you also didn't connect the NRST-Pin of your STM32? Maybe the Keil-IDE generates the reset like that, which of course doesn't work as the pin is not connected (at least in my case)
SebaC You definitely have to connect the NRST-Pin of your STM32 to your ST-Link V2. I just did that and it works now!
View all questions in Keil forum