If the memory type is not specified for the function's independent variables, local variables, and global variable declarations, the memory mode will become the default memory type. If
the variable of the memory type is specified, the memory mode will be ignored and the specified memory type will be the main one.
SMALL mode:
All variables, local variables, or global variables in the small mode are specified to exist in the address range of 0-0x7F of the internal RAM. This mode is like
defining all variables as data type memory.
COMPACT mode:
All variables in the compressed mode will be assigned to the external data memory with an address range of 0-0xFF. This mode is like defining all variables
as pdata type memory.
LARGE mode:
All variables in the large mode will be assigned to the external data memory with an address range of 0-0xFFFF. This mode is like defining all variables
as xdata type memory.
Re: Bank Switch cannot compile message
[QUOTE]The original poster is Vic
1.*** WARNING L15: MULTIPLE CALL TO SEGMENT
SEGMENT: ?PR?SD_INITIALIZE?DRVSD
CALLER1: ?C_C51STARTUP
CALLER2: ?PR?TIMER0_ISR?INTERRUPT
This means that the SD_INITIALIZE function is
called by C_C51STARTUP and the interrupt service function TIMER0_ISR.
What problems will this cause? If the TIMER0_ISR interrupt occurs when SD_INITIALIZE is called, there will be a reentrant problem if SD_INITIALIZE
is called again . Keil C51 The local variables of general functions are placed in the same place, so they cannot be reentrant. If the program guarantees that such a situation will not occur (for example, disable interrupt before calling ), you can ignore this warning. 2.*** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: XDATA SEGMENT: ?XD?DRVMS LENGTH: 0515H XDATA is used too much! Lose weight! 3.*** WARNING L17: INTERRUPT FUNCTION IN BANKS NOT ALLOWED SYMBOL: INT0_ISR SPACE: BANK0 cannot put interrupt function in bank area 4.*** WARNING L4: DATA SPACE MEMORY OVERLAP FROM: 003FH TO: 0050H Some data areas are shared by two devices 5.*** ERROR L105: PUBLIC REFERS TO IGNORED SEGMENT SYMBOL: MEM_POOL SEGMENT: ?XD?MTM808 6.*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL SYMBOL: SYSTEM_MODE MODULE: .\debug\mtm808.obj (MTM808) ADDRESS: 3A7CH 7.*** ERROR L118: REFERENCE MADE TO ERRONEOUS EXTERNAL SYMBOL: ADPCM_STATE MODULE: .\debug\SystemManager.obj (SYSTEMMANAGER) ADDRESS: 358FH references an unusable memory segment (may be caused by the previous over fllow error) 13.*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL SYMBOL: DATEI MODULE: .\mtm809.LIB (CMDIF) The entity of the external symbol cannot be found, so it cannot be linked
Previous article:WARNING 15 (MULTIPLE CALL TO SEGMENT)
Next article:C compiler error message Chinese translation
Recommended ReadingLatest update time:2024-11-16 19:45
- Popular Resources
- Popular amplifiers
- Modern Compiler Principles C Language Description (Ampel)
- MCU C language programming and Proteus simulation technology (Xu Aijun)
- Single-chip microcomputer C language programming and simulation
- 100 Examples of Microcontroller C Language Applications (with CD-ROM, 3rd Edition) (Wang Huiliang, Wang Dongfeng, Dong Guanqiang)
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
- FPGA design solutions for various EDA tools
- I need help~What is the interface level standard of DAC8812ICPW?
- [FS-IR02 + D1CS-D54] - 0: Study two PDFs
- Peak Detection
- Analog Discovery 2 Review (2) Frequency Sweep Function Test
- An error occurred in the simulation of the multisim function signal generator. Please help me
- 【IoT indoor environment monitor based on ESP32-S2-Kaluga-1】Bluetooth notification data
- This is my first time drawing a PCB. (IR2184 driver) I would like to ask the experts to give me some suggestions on how to improve it.
- The semiconductor industry after the epidemic
- Which boost solution is better? For example, considering efficiency, reliability, controllability, etc.