-
If you select Yes, a file will be added to the project.
If you choose no,No,Some projects will need to be manually added,In the keil c51 lib,Find him and copy it to your project,Right-click source group1 in the project window,Select add。。 Plus.
As with assembly, the initialization of variables and arrays defined in c happens in if you define a global variable with a numeric value, such as unsigned char
data **=100;, there will be the relevant assignments. If there is no = 100, it will be cleared by 0. (Initialization of variables).
After these initializations, the SP pointer is also set. For non-variable areas, such as stack areas, there will be no assignment or zeroing action.
Some people like to change, in order to satisfy some of their own taken for granted hobbies, which is unnecessary and may be wrong. For example, when the power loss protection is carried out, I want to save some variables, but it is a very stupid way to implement it, in fact, as long as the characteristics of the non-variable area are used, a pointer variable is defined to point to the lower part of the stack: the 0xff can be realized. Why bother?
You can say that you don't need to change it at any time, if you understand its characteristics.
-
The version is wrong, try a different version.
1. I guess you installed the wrong version, you use 51 or ARM's keil, you need to install the corresponding version of the software, keil c51 series or keilarm.
2、Or the chip model is selected wrong,Otherwise, the installation is keil 51, not arm,I don't have keilarmIf it's keil 51, there is a c51 folder in your installation directory,The arm version should have a folder like armcc,There is a relatively small possibility that the content of toolsini is not right, and there is a path=your compiler directory in it。
-
Didn't have time to write so much**.
-
Is this really appropriate?
-
You remove this from the project, then load the program you want to compile, and then you follow the steps you used to do how to survive the hex file, and you can survive the hex file you need, of course, your program needs to be error-free.
-
Landlord: Hello.
I don't know if you pay attention to the new project, the first thing is to choose the manufacturer, the chip, and then the interface will show a prompt box, if you click yes, it will generate a file, if no, there will be no file.
I hope the landlord will try it carefully to see .........
-
This is a boot file, which controls the microcontroller when it is powered on, and then hands over the microcontroller to the main function in the C program. If your program is a compilation, then it doesn't matter if you don't want this file.
-
This is a startup file and it is better to add.
-
I'm using the uv2 version, and the path to this file is c: keil c51 lib, you can check it.
-
That is, when you generate a 51 program, there will be a whether it will be created or not.
You have to choose no at that time so that it doesn't appear again;
You can also delete it directly in the project;
-
Register the software with a serial number. Just tick the box to generate hex in the properties of the software. There are more detailed chapters on similar issues on the Internet, please check.
-
It's a 2k limit.
One is configuration, options for target --code rom size, select compack or larg.
The second is the registration code limit, so let's re-register.
-
To compile the MCU program with Keil software, you must create a new project, select the MCU model, and give the project file a name, so that there is a new project. With the project, the written program and header files can be added to the project and compiled. Otherwise, the program cannot be compiled.
1. Replace the above.
Paste to an excel sheet, starting from cell A1. >>>More
How to set the computer to time and shut down.
I'm a cashier, and every time I collect money and look for money, I'm afraid of finding the wrong money. >>>More
The motherboard battery is dead. It's that coin cell battery on the motherboard. It seems to be c2032 >>>More
Alcoholism is a disease, it needs to be professional**, your father's current state is still caused by a bad life, there is no goal, you don't know what you can do and what you should do, you can try to help him find a wife, maybe it works, with your current state It is too difficult to let him come over at once, it is useless to say anything, he himself does not want to change.