![Tools.ini Tools.ini](https://gss0.baidu.com/7Po3dSag_xI4khGko9WTAnF6hhy/zhidao/pic/item/7e3e6709c93d70cfb43eb3dffcdcd100bba12b1f.jpg)
解决 keil 注册中出现. tools.ini: toolchain not installed.办法 不管是32位系统还是64位系统,出现这个错误时,可以按以下办法解决有两种解决办法:第一种:重新下载一个安装有可能解决此问题第二种:按下面的步骤进行操作正常安装Keil有上面的错误肯定在.
I have got two versions of the Keil C51 on my computer. One limited older version on path c:keilc51 and the unlimited one on path C:SiliconLabsSimplicityStudiov2developertoolchainskeil_80519.51b.
In the simplicity studio I set the toolchain location to C:SiliconLabsSimplicityStudiov2developertoolchainskeil_80519.51b. On ervery restart of the simplicity studio the location of the toolchain is automatically set to c:keilc51.
It seems to me that simplicity studio searches for the Keil C51 on ervery restart.
How can the path be set fixed to C:SiliconLabsSimplicityStudiov2developertoolchainskeil_80519.51b ?
- Discussion Forums
- Simplicity Studio
- Answered
- Development Environments
- HiSimplicity Studio automatically detects Keil toolchains under C:/Keil, D:/Keil, and the Studio installation path on Windows. Unfortunately, Simplicity Studio does not yet support multiple Keil or GCC toolchains with the same versions.It seems like there is a bug where the C:/Keil and D:/Keil locations can override any previously selected toolchains. I have added a bug report for this and we'll fix it as soon as possible. For now, if you move or rename the C:/Keil path then Studio will no longer override the bundled toolchain.--Will
Kindly go through the link http://www.cypress.com/?id=4&rID=38519 to register Keil compiler in PSoC Creator.
The above method may not work and gives any of the following errors:
a) Error-->prj.M0132: Unable to register your LIC number. Confirm if the number you entered is correct then try again.
b) 'Your Keil License has expired'
If you get any of these errors then check the version of the Operating system i.e. is it 32-bit or 64-bit, and then only use the following process to Register Keil:
1) Make sure to register Keil from within the copy of uVision that ships with PSoC Creator. It is installed by default at:
C:Program Files (x86)CypressPSoC Creator1.0PSoC Creatorimportkeilpk518.16UV3Uv3.exe
... on 64-bit versions of Windows and:
C:Program FilesCypressPSoC Creator1.0PSoC Creatorimportkeilpk518.16UV3Uv3.exe
...on 32-bit flavors of Windows.
Then we can find the uVision registration dialog by selecting File -> License Management. We must run this as an administrator and this can be done by right-clicking the executable and selecting 'Run as administrator' from the context menu.
2) Also we can manually edit the Keil tools.ini file (which is where it stores registration information). To do this:
- Open... C:Program Files (x86)CypressPSoC Creator1.0PSoC Creatorimportkeilpk518.16TOOLS.INI
...for 64-bit Windows 7,
OR
C:Program FilesCypressPSoC Creator1.0PSoC Creatorimportkeilpk518.16TOOLS.INI
... for have 32-bit Windows 7.
This file must be edited as an administrator. This can be done by clicking the Start Menu, searching for Notepad, right clicking on the notepad search result and selecting 'Run as administrator'. Now use File->Open to open the tools.ini file listed above.
- Look for a line that starts with LIC:
LIC0=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
C:Program Files (x86)CypressPSoC Creator1.0PSoC Creatorimportkeilpk518.16UV3Uv3.exe
... on 64-bit versions of Windows and:
C:Program FilesCypressPSoC Creator1.0PSoC Creatorimportkeilpk518.16UV3Uv3.exe
...on 32-bit flavors of Windows.
Then we can find the uVision registration dialog by selecting File -> License Management. We must run this as an administrator and this can be done by right-clicking the executable and selecting 'Run as administrator' from the context menu.
2) Also we can manually edit the Keil tools.ini file (which is where it stores registration information). To do this:
- Open... C:Program Files (x86)CypressPSoC Creator1.0PSoC Creatorimportkeilpk518.16TOOLS.INI
...for 64-bit Windows 7,
OR
C:Program FilesCypressPSoC Creator1.0PSoC Creatorimportkeilpk518.16TOOLS.INI
... for have 32-bit Windows 7.
This file must be edited as an administrator. This can be done by clicking the Start Menu, searching for Notepad, right clicking on the notepad search result and selecting 'Run as administrator'. Now use File->Open to open the tools.ini file listed above.
- Look for a line that starts with LIC:
LIC0=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
If the registration is expired after one year of usage then the line “LIC0=…” will already be present. In that case we have to write the license code as LIC1=XXXXX-XXXXX….
If even the above mentioned methods does not work then kindly contact our technical support and report the same.