Method for automatically generating check code of development program of embedded system

An embedded system and program development technology, which is applied in the direction of memory system, program control design, and response error generation, can solve problems such as version confusion, no verification, no code uniqueness, and differences, and achieve improvement Safety, improving safety and reliability, uniqueness and reliability

Inactive Publication Date: 2011-04-20
SHENZHEN CLOU ELECTRONICS
View PDF3 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Due to the introduction of human operations, this method requires the participation of programmers. If there are reasons such as human negligence, coding errors, and repeated numbers, the version will be confused, repeated, and eventually an error will occur.
In addi

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
  • Method for automatically generating check code of development program of embedded system
  • Method for automatically generating check code of development program of embedded system
  • Method for automatically generating check code of development program of embedded system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] The present invention will be further described below in conjunction with the accompanying drawings of the description.

[0036] Such as figure 1 As shown, a method for automatically generating a verification code of an embedded system development program includes the following steps:

[0037] (1) write the command CommA of calculating the check code, automatically calculate the check code command according to the output file of the compiler;

[0038] (2) Write the command CommB that adds the check code that CommA command generates into the hexadecimal or binary file that generates;

[0039] (3) According to the open interface provided by the embedded system compilation and development environment, after the compiler successfully compiles and generates a hexadecimal or binary source file, the check code command of the calculation program is automatically run;

[0040] (4) Execute the compilation process again, and burn the code that has automatically added the check c...

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 invention relates to a method for automatically generating a check code of a development program of an embedded system, which comprises the following steps of: (1) compiling a CommA for calculating the check code and automatically calculating the check code command according to an output file of a compiler; (2) compiling a CommB which adds and writes the check code generated by the CommA to a generated hexadecimal or binary file; (3) after compiling and generating the hexadecimal or binary source file, automatically operating the check code command of the calculation program according to an open interface provided in the compiling development environment of the embedded system; and (4) executing the compiling process again and burning the code with automatically added check code to a device; The check code is generated automatically after compiling the code and unique check code is automatically generated and added according to change of the generated hexadecimal or binary source file; meanwhile the check code of the program can be automatically generated without manual operation so that the check code of the program is more unique and reliable.

Description

technical field [0001] The invention relates to a method for automatically generating a verification code of an embedded system development program. Background technique [0002] In the prior art, the current processing methods for program verification management methods are as follows: [0003] 1) Use a dedicated code management system or tool [0004] The dedicated code management system and tools can play a very good management role according to the code function, module classification, and system integration. However, this method cannot reflect its unique special type in the final process of the embedded system, or this special type is not combined with the final embedded system, and none of them form a whole, which is easy to cause code confusion. [0005] 2) Use the manually set version number [0006] After the program is planned, the version number of the program is gradually increased, such as V1.01, V2.10, according to unified planning and function upgrades. Du...

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
IPC IPC(8): G06F9/45G06F11/08
Inventor 刘波
Owner SHENZHEN CLOU ELECTRONICS
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products