Board-level support package definition and role analysis

This article first introduced what is the board support package and the three parts of the BSP. Then it introduced the role analysis and functions of the board support package. Finally, it introduced the position and steps of the BSP in the project development. Learn about.

Board Support Package Definition

The board support package (BSP) is a layer between the motherboard hardware and the driver layer program in the operating system. It is generally considered that it is part of the operating system. It is mainly to implement support for the operating system and provide access hardware for the upper layer driver. The function register of the device register enables it to run better on the hardware motherboard. In the composition of embedded system software, there is BSP. BSP is relative to the operating system. Different operating systems correspond to BSPs in different definitions. For example, the BSP of VxWorks and the BSP of Linux have the same functions as those of a CPU, but the writing and interface definitions are complete. Different, so write BSP must be written in accordance with the definition of the system BSP (most of the programming process of the BSP is to modify a certain BSP template). In this way, you can maintain the correct interface with the upper OS and support the upper OS.

BSP can be divided into three parts:

1. Hardware initialization when the system is powered on.

2. Provide support for operating system access to hardware drivers.

3. Software modules needed to integrate hardware-related and hardware-independent operating systems.

Board-level support package definition and role analysis

The interfaces provided by the BSP to the upper layer are:

1. Interface with operating system kernel (such as report DRAM size, modify interrupt mask level, etc.)

2. Interface with operating system I/O system

3, with the application interface

Broadly speaking, all the programs that require CPU-controlled hardware in the board belong to the board BSP. However, for ease of debugging and software modularization, we usually refer to the program related to this board's minimum system as the BSP. And other programs are called drivers.

For embedded systems, the so-called minimum system is a computer operating environment that contains: CPU, Bootrom, RAM, system clock, network port, and serial port.

In this way, the minimum system BSP includes the initialization program for the CPU system and the drivers for the network port, serial port, and system clock.

Board Support Package Analysis

1, initialize the CPU internal register

2, set the RAM working sequence

3, clock driver and interrupt controller driver

4, serial port driver

Board-level support package definition and role analysis

1, improve the cache and memory management unit driver

2, specify the program starting position

3, improve interrupt management

4, improve the system bus driver

Board Support Package Features

1, the board hardware initialization, mainly the initialization of the CPU, providing the underlying hardware support for the entire software system

2, for the operating system to provide device drivers and system interrupt service routines

3. Customize the functions of the operating system to provide a real-time, multitasking operating environment for the software system

4. Initialize the operating system to prepare for the normal operation of the operating system.

Board-level support package definition and role analysis

BSP Position and Steps in Project Development

BSP development is in the early stage of the entire embedded development, and it is the guarantee that the back system can run normally.

The approximate steps are as follows:

(1) Hardware motherboard development, testing.

(2) Operating system selection, BSP programming.

(3) Development of upper application programs.

The BSP part is between the hardware and the operating system. So this requires BSP programmers to have a certain understanding of the hardware, software and operating system. In this way BSP programming can be done well.

Stadium LED Display

The stadium LED screen is ideal for places of with huge crowd. Its high resolution picture and wide viewing angle ensure best quality pictures and videos to every corner of the stadium. Stable body protects the display from any damage, even high speed ball.

The LED Display is manufactured by using best quality material, purchased from most reputed vendors. The final products feature supreme quality and offers best outputs. High refresh rate and gray scale ensures the picture quality remains seamless.

The display features a wide viewing angle of 120° horizontal and 120° in vertical which reaches more viewers. The picture quality remains seamless in all direction and at a distance, presenting all viewers the same highly quality outputs. This makes it suitable for large gathering. -

Stadium LED Display,Football Led Display,Staduim Led Display,Outdoor Football Led Display

Guangzhou Chengwen Photoelectric Technology co.,ltd , https://www.cwledpanel.com