Check patentability & draft patents in minutes with Patsnap Eureka AI!

Embedded computer system and its hardware configuration method

An embedded computer and system hardware technology, applied in the field of embedded computer systems, can solve the problems of inflexible debugging and defect correction, poor compatibility, etc., and achieve the effect of convenient modification and debugging and improving system compatibility.

Inactive Publication Date: 2009-07-22
HUAWEI TECH CO LTD
View PDF0 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In the process of completing the present invention, the inventor found that the way of binding the hardware configuration information in the code has the following disadvantages. When the hardware configuration information changes, the code needs to be recompiled to generate the CPU small system software, and debugging and defect correction are not easy. Flexible; whether it is modification or compatibility, it needs to compile and generate a new BSP, BSP and hardware are strongly coupled, and the compatibility is poor

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Embedded computer system and its hardware configuration method
  • Embedded computer system and its hardware configuration method
  • Embedded computer system and its hardware configuration method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0019] Such as figure 2 As shown, the embedded computer system hardware configuration method of the embodiment of the present invention includes the following steps: storing the hardware configuration information of the embedded computer system (step S101); writing the reading path of the hardware configuration information into the code, Compile and generate embedded computer system configuration software (step S102); when performing hardware configuration, the embedded computer system configuration software reads the stored hardware configuration information according to the read path, and according to the read hardware configuration The information initializes the corresponding hardware (step S103).

[0020] Combine below image 3 and Figure 4 This embodiment will be described in detail.

[0021] The CPU small system software usually writes the hardware configuration information related to the CPU small system in the code. The hardware configuration information includes...

Embodiment 2

[0031] Such as Figure 5 As shown, the embedded computer system of the embodiment of the present invention includes: a configuration information storage unit 101 for storing the hardware configuration information of the embedded computer system; a configuration software storage unit 102 for storing the reading path of the hardware configuration information The embedded computer system configuration software that is jointly compiled and generated with the code; the configuration software execution unit 103 is used to make the embedded computer system configuration software read the stored hardware configuration information according to the read path, and according to the read The hardware configuration information initializes the corresponding hardware.

[0032] Combine below image 3 , Figure 4 , Figure 5 and Figure 6 This embodiment will be described in detail.

[0033] The CPU small system software usually writes the hardware configuration information related to the ...

Embodiment 3

[0043] In the prior art, the CPU small system software adopts a fixed function as follows when notifying the operating system of the physical memory size: char*sysPhysMemTop(void)

[0044] {

[0045] LOCAL char *physTop = NULL;

[0046] if(physTop==NULL)

[0047] {

[0048] physTop=(char*)(LOCAL_MEM_LOCAL_ADRS+LOCAL_MEM_SIZE);

[0049]}

[0050] return(physTop);

[0051] }

[0052] Through the embodiment of the present invention, after the memory size is realized as configurable, it is assumed that the hardware configuration file is directly recorded on the flash space, and the size data of the system physical memory is stored at the 0x200 offset address; then the above notification operating system memory The size of the code only needs to be modified to: char*sysPhysMemTop(void)

[0053] {

[0054] LOCAL char *physTop = NULL;

[0055] if(physTop==NULL)

[0056] {

[0057] physTop=read the physical memory size from the hardware configuration file 0x200 in th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides an embedded computer system and a hardware configuration method thereof. The method comprises the steps as follows: hardware configuration information of the embedded computer system is stored; a hardware configuration information reading process is written to a code to be compiled to generate embedded computer system configuration software; and when hardware is initialized, the embedded computer system software initializes the corresponding hardware according to the read hardware configuration information. The invention is used for eliminating the coupling relation of CPU small system software and hardware, and the invention ensures that the CPU small system software can be compatible to the hardware of different configurations with the same CPU.

Description

technical field [0001] The present invention relates to the embedded computer system technology, in particular to the middle layer hardware configuration technology of the embedded computer system, specifically an embedded computer system and its hardware configuration method. Background technique [0002] Embedded computer system includes: hardware layer, middle layer and software layer. Such as figure 1 As shown, the hardware layer includes embedded microprocessor, memory (SDRAM, ROM, Flash, etc.), operating system boot and serial port. Both the operating system and the application program can be solidified in the ROM. [0003] The middle layer between the hardware layer and the software layer is also called the board support package (BSP: Board Support Package). Personnel do not need to care about the specific conditions of the underlying hardware, and can develop according to the interface provided by the BSP layer. BSP generally includes the initialization of releva...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/445
Inventor 崔爱国
Owner HUAWEI TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More