Analysis of embedded operating system

According to the IEEE (Institute of Electrical and Electronics Engineers), embedded systems are "devices used to control, monitor, or assist the operaTIon of equipment, machinery or plants". . It can be seen that the embedded system is a combination of software and hardware, and can also cover auxiliary devices such as machinery. The embedded system is closely integrated with the application and has a strong specificity. It must be rationally reduced and utilized in conjunction with actual system requirements. A commonly accepted definition in China is: application-centered, computer-based, software-hardware tailored to meet the application system's strict requirements for functionality, reliability, cost, size, and power consumption.

The basic points of the embedded operating system include the following 7 points 1. Front and back system

For chip-based development, an application is generally an infinite loop, which can be called a front-end system or a hyper-cycle system. The corresponding function is called in the loop to complete the corresponding operation, this part can be regarded as the background behavior. The interrupt service routine handles asynchronous events, which can be thought of as foreground behavior. The background can also be called the task level, and the foreground can also be called the interrupt level. The key operations with strong time correlation must be guaranteed by the interrupt service routine.

2. Operating system

The operating system is the most basic program of the computer. The operating system complex computer system allocates and recycles all the hard and soft resources, control and coordination activities, provides users with a good working environment, and provides a software platform for users to expand new systems.

3. Real-time operating system

The real-time operating system is a background program that is executed first after the embedded system is started. The user's application is running various tasks on the RTOS. The RTOS performs resource management, message management, task invocation, and exception handling according to the requirements of each task. jobs. Each task has a priority, dynamically switching each task to ensure real-time requirements.

4. The critical section of the code

The critical section of the code is the code that is indivisible when processing, and running the code does not allow it to be interrupted. Once this part of the code begins execution, no interrupts are allowed to be entered. To ensure the execution of the critical section code, the interrupt is turned off between entering the critical section, and the interrupt is immediately opened after the execution of the critical section code.

5. Resources

The software and hardware environments that can be used when the program is running are collectively referred to as resources, and the resources can be input and output devices such as printers, keyboards, and displays. A resource can also be a variable, a structure, or an array.

6. Sharing resources

A resource that can be used by more than one task is called a shared resource. In order to prevent data from being destroyed, each task must monopolize the resource when it is sharing traffic. This is called mutual exclusion.

7. Mission

A task, also known as a thread, is a simple program that can think of the CPU as belonging to the program itself. The design process of the real-time application, including how to split the problem into multiple tasks, each task is the entire application. A certain part of it is given a certain priority, with its own set of CPU registers and its own stack space.

Second, the core of the embedded system is the embedded microprocessor.
Embedded microprocessors generally have the following four features:

1) Strong support for real-time tasks, multitasking and short interrupt response time, minimizing internal code and real-time core execution time.

2) Has a very powerful storage area protection function. This is because the software structure of the embedded system has been modularized, and in order to avoid the wrong crossover between the software modules, it is necessary to design a powerful memory area protection function, and also facilitate software diagnosis.

3) Scalable processor architecture to develop the fastest embedded microprocessors that meet the highest performance requirements of the application.

4) Embedded microprocessors must have low power consumption, especially for battery-powered embedded systems in portable wireless and mobile computing and communication devices, such as power consumption of only mW or even μW.

Anti Blue Light Screen Protector:

Anti Blue Light Screen Protector can effective filter blue to protect your eyes. This Tempered Glass Protector is engineered for 3X stronger anti-shock ability and 3X anti fingerprints ability. High sensitivity and comfortable touch feeling can provide you original experience. 2.5D or 3D arc edges are smooth to the touch. 9H Tempered Glass will not get scratched even using hard object.

Anti Blue Light Screen Protector

Pls feel free to contact us if you are interested in these products, have any questions or special needed. We have the best sales team to service to you.

Look forward to your inquiry, and welcome to visit our factory.

Anti Blue Light Screen Protector

Anti Blue Light Screen Protector,Anti Blue Light 2.5D Screen Protector,Anti Blue Light White Screen Protector,Anti Blue Light Black Screen Protector

Shenzhen Kantou IM Technology Co., Ltd. , https://www.kantou-im.com

This entry was posted in on