Really solved --- Error: failed to execute 'D:\3218\Software\Software source\Keil uvision C51\BIN\A51.EXE

Today, I copied the keil file on the laptop to the desktop computer with a USB flash drive, and when I opened it, keil reported an error and the compilation failed.

Tried to change the command items -Rebuild-run #1 method of the configuration target option User, Baidu spent more than an hour, but it didn't work. After thinking about it, since it failed to execute A5.EXE, either the file is damaged or there is a problem with the path. Of course, the possibility of the former is ruled out.

insert image description here

Share my solution below:

  1. Find your own Keil installation directory, there is a TOOLS.INI file in it, double-click to open it or open it with Notepad.

insert image description here
2. Find [51] in the TOOLS.INI file

PATH="D:\3218\Software\Software source\Keil uvision C51\BIN" similar places.

Change the path after path= to the actual installation directory of your own Keil , and the last one is C51 .

即===> PATH=“D:\3218\Software\Software source\Keil uvision C51\C51”

Restart the Keil software after saving ( be sure to restart! )

insert image description here

Guess you like

Origin blog.csdn.net/AII_IIA/article/details/109137526