1. Common Programming Environments for Microcontrollers
1.1 Common Versions of Keil
There are four common versions of Keil:
-
Keil MDK: Primarily for ARM microcontrollers, such as ARM7/9, Cortex-M1/3/4, etc.
-
Keil C51: Primarily for 51 series microcontrollers.
-
Keil C166: Mainly supports XC16x, C16x, and ST10, etc.
-
Keil C251: Mainly supports 251 core microcontrollers.
keil for ARM
1.2 Common Versions of IAR
-
IAR for ARM: Mainly used for 32-bit microcontrollers, such as the Cortex-M0 series. -
IAR for 8051: Mainly for 51 microcontrollers. -
IAR for MSP430: Primarily for TI’s MSP430 microcontrollers. -
IAR for STM8: Mainly for ST’s STM8 series microcontrollers.
IAR for ARM
Thus, the above two programming environments can fully cover mainstream microcontroller development. In recent years, domestic semiconductor development has been rapid, but most of their cores are Cortex-M series, and semiconductor manufacturers have also launched their own programming environments. To quickly open the market, they have developed function libraries for Keil and IAR.
2. How to Obtain Official Library Functions?
When learning about the 51 microcontroller, tutorials directly introduce the microcontroller’s registers, and we also configure registers directly during programming. At work, when encountering STM8 and STM32 microcontrollers, manufacturers provide function library software packages that encapsulate the register configurations, allowing us to simply call the corresponding functions. This greatly reduces learning costs, improves development efficiency, and lowers the probability of errors in register configuration.
Taking the domestic microcontroller AC78013 as an example, let’s discuss how to obtain the official microcontroller examples. Visit the official website and find the “Developer Community” in the navigation bar.
Developer Community
Find “Developer Resources,” and on the left side, locate the “AC7801x” series to enter the microcontroller material detail page.
Here, you can see that the official provides examples for IAR, Keil, and Eclipse environments. Click on the corresponding programming environment to download.
The official provides demo resources on the chip, which developers can directly use for project development. Nowadays, every industry is very competitive, and the semiconductor industry is no exception. As long as you have volume, manufacturers will write the code for you, but unfortunately, we don’t have the volume, so let’s not talk about it and get back to coding.

END
→ Follow to Stay Updated ←