MDK (keil) debugging often appears flashback phenomenon solution.

1, open registry
, Win+R call out “run”, type “Regedit” in the box, enter to open registry.
3, if the popup “Do you allow this application to make changes to your computer” permissions, select “Yes”
the registry, find and enter HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers If found the following entry (C: Keil\UV4\ uv4.exe), — this path is the actual installed path of Keil in your computer.
4, after delete, restart Keil, test debugging is feasible


Read More: