Keil itself does not come with data for the STC 8051 microcontroller, which makes it very frustrating to use. Fortunately, a young man in China has compiled a patch.
This patch contains three fixes:
-
Chinese character bug correction is a commonplace issue. It is strange that Keil has not corrected this in the past ten years, which shows its complete indifference to the Chinese market.
-
STC header file
-
STC Device Database
OK, this patch is enough for general applications, but it is still a little insufficient for people who pursue perfection, because this patch will overwrite the UV4.cdb device database that comes with UV4. After applying the patch, the latest UV4 database will be lost.
How to solve this problem? In fact, since UV2, the function of user-defined device database has been supported. We can modify it as follows:
-
Back up UV4.cdb
-
Installing the patch
-
Modify C:KeilTOOLS.INI and add the following under the [UV2] section:
CDB0=uv4custom.cdb("STC 8051")
-
Rename the patched UV4.cdb to custom.cdb
-
Restore the backed up UV4.cdb
This way, the next time we select a device database, UV4 will ask us which library we want to select from.
Previous article:The role of data, idata, xdata, pdata, and code in C51
Next article:51 MCU Quasi-bidirectional port
Recommended ReadingLatest update time:2024-11-15 13:23
- 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)
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Wi-Fi 8 specification is on the way: 2.4/5/6GHz triple-band operation
- Wi-Fi 8 specification is on the way: 2.4/5/6GHz triple-band operation
- Vietnam's chip packaging and testing business is growing, and supply-side fragmentation is splitting the market
- Vietnam's chip packaging and testing business is growing, and supply-side fragmentation is splitting the market
- Three steps to govern hybrid multicloud environments
- Three steps to govern hybrid multicloud environments
- Microchip Accelerates Real-Time Edge AI Deployment with NVIDIA Holoscan Platform
- Microchip Accelerates Real-Time Edge AI Deployment with NVIDIA Holoscan Platform
- Melexis launches ultra-low power automotive contactless micro-power switch chip
- Melexis launches ultra-low power automotive contactless micro-power switch chip
- What is the difference between quick format and normal format?
- Wake-up function of pedometer bracelet based on F103 and X-NUCLEO-IKS01A3
- Recruiting MBSE part-time training instructors
- [Qinheng Trial] CH559 Development Environment Construction
- Detailed explanation of analog ground and digital ground
- Recently, when I logged into MYTI, I needed to verify my email address, but I didn’t receive any email from Ti in my mailbox. Has anyone encountered this before?
- Principles of MCU Hardware System Design
- STM8 serial port sending crashes, has anyone encountered this?
- dsp2812 12864 LCD display source code
- FPGA Practice (I) Light up 8 LEDs