| As embedded applications continue to expand, much more concern about the Embedded Software Testing has been raised by the Developer. Compared with other software, the embedded software has its own specificity, which means that it can only be Implemented on the Demand Designated hardware platform, and because of the different Development environment and runtime environment, even the test on the mainframe environment is quite fully, there is no adequate justification for us to guarantee that the software will work well on the Goal machine. Besides, that the embedded system has higher requirements of reliability than other system, if there is a failure of the embedded system security that will lead to the disastrous consequences. As a result, there is a lot of research about the testing of the embedded software at home and abroad, and there are also many embedded testing system to be developed.At the same time, in the development of the embedded testing system, due to the close integration of the assembly language and the hardware and the Advanced Language's Flexible and convenient, there is some embedded software which is developed by assembly language mixed with the high-level language.However, at the present time, most of the testing platform only target at the software that are developed by one sort of language, or they can test different languages through the different configuration. but they can not test the Multilingual software Simultaneously and also can not test the embedded software developed by assembly language mixed with the high-level language。For all that above, it is necessary to research the testing of the embedded software, especially the mixed programming software. We should Explore new methods, build a new test platform and develop a new test system.In this paper,the Author not only Analysis the major characteristics and methods of the embedded testing system, the situation of the current development, and the problem need to be solved, but also propose new testing methods Mainly aimed at the testing of the embedded software developed by assembly language mixed C language based on the foundation of the past research and development test platform. Because that in the testing of multi-language hybrid of Embedded Software, the assembly language and c language have different structure, it is very difficult for us to complete the Coverage Testing of the code, this paper presents the design of a new mechanism for handling that problem. This new method Construct lexical analyzer by the two tools of Linux, YACC and LEX, which can automatically discriminate the type of code, and can automatically take a different approach. It will unification the assemble code segment and C language code segment as part of a unified structure of the format though the method of the basic structure of block. And also call GCOV and the GCC will complete coverage testing. The system judge whether the software design flaws mainly through the statement and branch coverage to judge whether the software design flaws. |