You are here

Registration of Keil Compiler in PSoC Creator | Cypress Semiconductor

Registration of Keil Compiler in PSoC Creator

Summary: 0 Replies, Latest post by Gautam Das on 31 Mar 2012 07:48 AM PDT
Verified Answers: 0
Log in to post new comments.
dasg's picture
Cypress Employee
730 posts

How to register the default Keil compiler in PSoC Creator if normal registration using "Keil License Registration" window fails?

Kindly go through the link 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' 

3) "Add LIC" button is  is disabled.

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)\Cypress\PSoC Creator\1.0\PSoC Creator\import\keil\pk51\8.16\UV3\Uv3.exe
          ... on 64-bit versions of Windows and:

          C:\Program Files\Cypress\PSoC Creator\1.0\PSoC Creator\import\keil\pk51\8.16\UV3\Uv3.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)\Cypress\PSoC Creator\1.0\PSoC Creator\import\keil\pk51\8.16\TOOLS.INI
        ... for 64-bit Windows 7,


           C:\Program Files\Cypress\PSoC Creator\1.0\PSoC Creator\import\keil\pk51\8.16\TOOLS.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:


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.

Log in to post new comments.