Common output format for single-chip microcomputers--Hex-80 (Hex 386)
:LLAAAARRDDDD………DDDDCC
LL:
AAAA:
RR:
DD..:
CC:
Example: :011B50002272
LL = 0x01
AAAA = 0x1B50
RR=0x00
DD=0x22
CHECK SUM = ~((0x01+0x1B+0x50+0x22)&0xFF)+1 = 0x72
Unlike Intel 32, since Hex-80 is used for systems within the 64K address range, there is no base address setting instruction. If in Keil-51, the cross-BANK method exceeds 64K, the compiler will generate multiple HXX files to identify the BANK. For example:
test.h00
test.h01
test.h02
generates 64K code space from the perspective of each bank. For Common Bank, since it exists from the perspective of each Bank, it exists in several files. This requires programmers to pay attention.
In addition, it seems that the addresses of the Hex-80 files generated by Keil are not continuous. God knows why Keil does not regularize them.
Previous article:How to use arrays in C language for microcontrollers
Next article:Anti-interference ability of single chip microcomputer
Recommended ReadingLatest update time:2024-11-16 14:56
- Popular Resources
- Popular amplifiers
- Wireless Sensor Network Technology and Applications (Edited by Mou Si, Yin Hong, and Su Xing)
- Modern Electronic Technology Training Course (Edited by Yao Youfeng)
- Modern arc welding power supply and its control
- Small AC Servo Motor Control Circuit Design (by Masaru Ishijima; translated by Xue Liang and Zhu Jianjun, by Masaru Ishijima, Xue Liang, and Zhu Jianjun)
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
- TecoCore Co., Ltd. is looking for SSD firmware development talents to join
- Some unclear points about self-oscillation
- Responsibility is heavier than Mount Tai! Talking about the safety requirements of China's high-speed rail signaling
- Write EEPROM, write FLASH experience record
- Commonly used algorithms for drones - Kalman filter (Part 9)
- Reset time problem
- Why does DLL not found error appear when running VB with Ginkgo?
- The problem of STM8L151k4t6 with programmed code being damaged by soldering?
- DSP28335 external interrupt configuration process
- Circuit PCB Design