Notification texts go here Contact Us Buy Now!

How to Fixed Keil uVision's Debug auto exit

Mena.veroh
How to Fixed Keil uVision's Debug auto exit

Fixed Keil uVision’s Debug auto exit

After a while of getting acquainted with ARM, specifically, the Tiva C series of Texas Instruments encountered many big and small errors. In it, when programming with Keil uVision, I encountered a very annoying error that could not be debugged. After researching and researching, I finally fixed this error, so I will share it so that anyone who encounters it will know how to fix it.

Fixed Keil uVision’s Debug exiting

Error description

After the compilation is complete, I proceed to download the code to the launchpad,

as usual, this process also goes smoothly. When pressing Ctrl + F5 to enter Debug mode (debug session), the Keil uVision program (I use version 4) jumps to Debug mode but does not have time to press the Run button (or F5) to run the program, Keil automatically exits Debug mode!

I tried uninstalling and reinstalling version 4 but it still didn’t fix the problem, switching to Keil uVision 5, and the error was gone, but it didn’t take long to stick and even if I uninstalled and reinstalled it, I still got the error!

Note: This error usually only happens to those who use Windows 8  ( including 64bit and 32bit ).) only, On Windows 7 I have not seen it, so if you use Windows 7 and get an error, try the method below to see how it works!

Step 1:

First, open the Registry by pressing the Windows + Q button to open the search dialog box or Windows + R to open the Run box, then type: Regedit and press enter.

The UAC window appears, select Yes to confirm opening the Registry.

How to Fixed Keil uVision's Debug auto exit

Step 2:

Looking at the directory tree on the left, you point to the following path:

HKEY_CURRENT_USER Software Microsoft Windows NT CurrentVersion AppCompatFlags Layers

How to Fixed Keil uVision's Debug auto exit

Step 3:

After pointing to the Layers folder, you look in the right pane and you will see the key C:KeilUV4UV4.exe

Depending on the version of Keil uVision and your installation options, this key name may change slightly, but basically, there are still some keywords like Keil, UV4.exe, or UV5.exe ( Keil uVision 5 )

You proceed to delete this key, then reboot the machine is done!

How to Fixed Keil uVision's Debug auto exit

The debugging process will go smoothly as usual! I have successfully applied this method and have not seen the error reappear.

Post a Comment

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.
NextGen Digital Welcome to WhatsApp chat
Howdy! How can we help you today?
Type here...