C51 error written in keil *** WARNING L1: UNRESOLVED EXTERNAL SYMBOL SYMBOL: ?C_START
Solution:
1. The file is not added to the project.
2. It may be because there are defined functions that have not been called.
3. I don’t know if you have deleted A51.C under the Source group. If not, right-click A51.c and select remove file " ".
4. Create a new c file, write an empty function in it, and add the file to the project. Note that the generate assembler SRC file and assemble SRC file options cannot be selected for this file. Recompile the project. If it warns that the function has not been called, call it in the main file.
5. Create a new c file, move several functions in the main file to this file, and add the file to the project. Note that the generate assembler SRC file and assemble SRC file options cannot be selected for this file. Recompile the project.
Others: UNRESOLVED EXTERNAL SYMBOL indicates that the external variable extern xdata unsigned char RxPnt; was not found during the connection.
It only indicates a reference to an external variable, not an actual declaration.
There should be xdata unsigned char RxPnt in a .c file.
The variable is declared in extern, saying that the variable will be used in this file, but it is not defined,
which means that the variable does not really exist.
It needs to be defined somewhere,
or it may be that you have defined it, but it is removed by conditional compilation. Check all the source files in the project.
Previous article:TLC2543 Driver (c51)
Next article:Keil C51 User Tutorial --- Detailed Explanation of dScope Usage (VIII)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- [AT32F421 Review] + Digital tube module and automatic counting display
- Today's broadcast starts at 10:00: Focus on "TI FPD-Link III automotive chipset", the ideal solution for automotive video transmission
- What is the relationship between RF chip and baseband chip? How does it work?
- MSP430 Development Red Book
- In Keil, there must be one project file (target) corresponding to one source group, and one source group corresponding to one C file?
- How to consider electromagnetic compatibility (EMC/EMI) when designing PCB?
- [Xiangyin Review] JBL QUANTUM TWS Review——The Pioneer of 1,000-yuan Dual-mode Gaming Noise Cancelling Headphones
- i.MX6ULL Embedded Linux Development——by DDZZ669
- The three-phase high current (30A~40A) of the motor is connected through the PCB, and the heat dissipation hole blind hole problem
- Common problems when isolating signal and power designs