Keil C51 software features
1. keil c51 9.59 provides a wealth ofEditPlan
2. You can check the information on the softwareEditorDescription
3. It can also generate executable code.
4. keil c51 9.59 also allows you to search in files
5. Debugging and tracing commands that can be entered in the command window
Keil C51 installation steps
1. Download the keil c51 installation package from this site and double-click to run it. Open the installation wizard and click next.
2. Check the agreement and click next.
3. Define the Keil C51 software installation path. By default, it is installed in the C drive directory. You can click browse to select a suitable non-system disk installation location. Click next.
4. Fill in the user information, click next after completing the input.
5. Wait for the Keil C51 software to be installed.
6. After the installation is completed, click finish to exit the software installation wizard.
Keil C51 usage tutorial
How to create a new keil c51 project?
1. Start the keil c51 software we installed.
2. After entering the main interface, click project and select new uVision Project to create a new project.
3. A dialog box will pop up. Here, select the project save location and click Save.
4. After saving, the following prompt will appear, click No.
5. Create a new file and click file-new. Then the editing area will appear on the right.
6. Save this file, named here as main.c.
7. After saving, you can write the C file. You can edit it in the editing area on the right according to your needs. Save it after editing is completed.
8. After writing is completed, add the file to the project.
9. Finally configure the output hex file.
Keil C51 FAQ
Keil C51 is a commonly used compiler, and some common problems will be encountered in applications. Here are some common problems and solutions:
1. Warning CALLER2: ?C_ C51 STARTUP [1]: This warning indicates that the connector has discovered that a function may be called by the main function and an interrupt service routine at the same time, or by multiple interrupt service routines at the same time. One of the reasons for this problem is that this function is not reentrant. When the function is running, it may be interrupted by an interrupt, causing the result...
2. Error message D: KEILC51 INCREG52.H(1): error C100: unprintable character 0xA1 skipped [1]: This error message indicates that in Keil An unprintable character 0xA1 appears in the REG52.H header file in the INC folder in the C51 installation directory, causing the compiler to fail to recognize the file. You need to check whether the header file is imported correctly, or replace the header file.
3. Error message D: KEILC51 INCREG52.H(2): error C141: syntax error near '#' [1]: This error message indicates that in Keil A syntax error occurred in the REG52.H header file in the INC folder in the C51 installation directory, causing the compiler to fail to recognize the file. You need to check whether the header file is imported correctly, or replace the header file.
4. Error message D: KEILC51 INCREG52.H(2): error C129: missing ';' before ' ' [1]: This error message indicates that in Keil There is a missing semicolon statement in the REG52.H header file in the INC folder in the C51 installation directory, causing the compiler to fail to recognize the file. You need to check whether the header file is imported correctly, or replace the header file.
5. Compiler usage issues [2][3]: When using Keil When C51 compiles a program, you need to set the compiler options correctly, such as compilation mode, library files, etc. You need to be proficient in the basics of C language and the particularities of microcontroller applications.
In short, when using the Keil C51 compiler, you need to pay attention to various possible problems and take corresponding solutions.
Keil C51 update log:
Working day and night just so you can be happier
Mummy, Mummy, coax~all the bugs are gone!
Huajun editor recommends:
Keil C51 is a very good software that can solve a lot of troubles. This site also providesFast table software,AlphaEbot action editing software,He Xiaoxiang programming client,Automated testing tool AutoRunner,Little turtle LOGO languageWaiting for you to download.




















Useful
Useful
Useful