Before understanding embedded software, we must first understand what an embedded device is?
1: What is an embedded device
Embedded devices refer to devices used for specific purposes and specific functions as well as limited functions. Devices are mainly composed of embedded software and embedded processors, thus being regarded as embedded devices. The opposite of embedded devices can be thought of as personal computers, such as Windows, MacOS and Linux. Personal computers are manufactured for general purposes and are A device that can serve a variety of purposes.
However, there are differences between personal computers and embedded devices due to the different purposes of "for a specific purpose" or "for general use". That is to say, an embedded device is a device composed of the minimum equipment and functions necessary for the purpose
2: What is embedded software
Embedded software we simply Understood as: Embedded software is software that runs on an embedded device. An embedded device is a device equipped with a device with dedicated functions for a specific application. Therefore, embedded software is used to control a device dedicated to a specific purpose and uses The program implements the necessary functions. For example, in a thermometer device, it becomes software that periodically reads numerical data from a temperature sensor (temperature measurement hardware) and displays the numerical data in a digital display (hardware for digital display).
3: Embedded software environment
As a software development on a personal computer, it is probably not the Visual C or Visual Studio .NET development environment provided by Microsoft.
(1) Create the project and write the program from the main function.
(2) After writing the program, perform compilation and correct the syntax errors of the program development language,
(3) After successful compilation, perform debugging line by line to check whether the program runs as expected,
(4) If normal expected execution can be confirmed, create a program without debugging information.
Four: Embedded software language support
Embedded software language supports C, C#, Java, PHP, etc. extended with C language.
Five: Programming Embedded Software
The main differences between embedded software development and Windows programming so far,
1. Use ICE and JTAG development
2. Some parts must be programmed by assembler
Assembler is just a language problem, so basically you can refer to the manual etc. to write the code. If you use ICE development, JTAG becomes embedded The requirements for the skills of a software development engineer are initially based on Windows software. Software development can be done in an environment where debugging is almost close to the formal environment, and the software developed in embedded software will be used in embedded devices to control displays and programs.
The above is a complete introduction to what embedded software is. If you want to know more about Linux video tutorials, please pay attention to the php Chinese website.
The above is the detailed content of What is embedded software. For more information, please follow other related articles on the PHP Chinese website!