I have a very strange problem. After stopping the Debug session, cannot download code to flash memory anymore, got error: "Flash Download failed - "Cortex-M4".
I have to restart Keil to be able to Download code to flash memory again. It happens every time after Debug session. If I try to start Debug session again, Keil will crash.
It worked before,the problems started when I created new user on my windows pc and deleted old one. i have tried to reinstall Keil uVission4, but it didn't solve the problem.
Where could be the problem?
I am using Uv4 4.73. Tried now with 5.23, the problem is the same. I am using jLink programmator, tried with few different devices, the same problem. Installed new jLink drivers, no difference. Target is LPC4337. Same target works ok with another PC. Again, everything work fine until I exit from debug mode, after that Keil crashes or is locked for further programming. Restarting Keil fix the problem until next exiting from debug session.
Tried now ULINK 2, everything is same.... How to debug the problem?