Recently, I tried to download the latest version of Keil and add protues to create a virtual environment. The main cause is the economic problem. Electronic components cost money...
Today, I encountered some problems with using Keil uvision 4 and recorded them for later viewing :)
As for activation, there is no shortage in town. No more
Problem 1: No STC in Keil
Solution:
Solution 1: Use Atmel 89C52. If you use the unique function of STC, specify the header file separately.
Solution 2: Download The uv3.cdb file (uv3.cdb in 2012-08-21) from the official STC homepage and put it in the installation directory. Although it is 3, I can put it under 4.
Add method
Change uv3.cdb to uv4.cdb to overwrite the files in the installation directory. In this case, only STC is enabled for the next Startup of Keil. (Not tested by yourself, recorded only)
Add Method B
Rename uv3.cdb as STC. CDB and place it in uv4. And modify the tools. ini file under the parent directory of uv4.
Book0 = uv4 \ release_notes.htm ("uvision Release Notes") add cdb0 = uv4 \ STC. CDB ("stc cpu data base ")
You can.
In this way, the database option will be prompted when Keil is started next time. You need to select STC or the original one.
Problem 2: unable to enter Chinese comments in Keil
Solution:
Solution 1: Enter // "in English //"". Enter Chinese comments in english quotes
Solution 2: In the menu toolbar. Edit --- "Configuration
Remove the use color in comments check box.
Normal display:
When a large number of Chinese comments are used, I feel that the second solution is better and can save a lot ""
Question 3: No color is displayed for the c keyword in Keil.
Solution: Problem 2
Change foreground to your preferred color.