[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN105893255A - Radar seeker data processing DSP software testing method - Google Patents

Radar seeker data processing DSP software testing method Download PDF

Info

Publication number
CN105893255A
CN105893255A CN201610190723.1A CN201610190723A CN105893255A CN 105893255 A CN105893255 A CN 105893255A CN 201610190723 A CN201610190723 A CN 201610190723A CN 105893255 A CN105893255 A CN 105893255A
Authority
CN
China
Prior art keywords
dsp
code
test
software
rtinsight
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610190723.1A
Other languages
Chinese (zh)
Inventor
李国强
张虹
王小波
潘晓佳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Electronic Engineering Research Institute
Original Assignee
Xian Electronic Engineering Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Electronic Engineering Research Institute filed Critical Xian Electronic Engineering Research Institute
Priority to CN201610190723.1A priority Critical patent/CN105893255A/en
Publication of CN105893255A publication Critical patent/CN105893255A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3604Software analysis for verifying properties of programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • G06F11/3648Software debugging using additional hardware
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3676Test management for coverage analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3692Test management for test results analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention relates to a radar seeker data processing DSP software testing method. An effective Radar seeker data processing DSP software system testing platform based on a TESTBED testing tool and an RTInsight data acquisition device is established, multiple problems existing in functional verification of all sub-systems in the seeker software system testing process are combined, and a reasonable solution is given.

Description

A kind of radar seeker data process dsp software method of testing
Technical field
The present invention is to be applied to radar seeker data to process the software testing technology of dsp software, belongs to radar seeker Data process dsp software field tests.
Background technology
Along with the development of electronic countermeasure armament systems, radar system function the earliest realize being extended to thunder now by hardware Reaching networking, number biography etc., occur in that system function software, weaponry volume is little, lightweight, frequency hopping rate is fast Feature.Radar function relies on software to realize having become the modern battlefield inevitable requirement to weaponry, it may be said that weapon fills Standby software reliability has dominated the success or failure of the whole war situation.The software reliability of the weaponrys such as radar is required more by the military Come the highest.In order to adapt to this new situation, gradually recognize the importance of software test, and done for this corresponding Research work.
This method combines the present situation of certain radar seeker data processing software exploitation, carries out embedded testing targetedly real Trample, sum up and optimize embedded software test flow process, introduce the technology such as automatic test, real-time in-line testing, finally realize Improve the purpose of embedded software Quality of Product further.
Summary of the invention
Solve the technical problem that
In place of the deficiencies in the prior art, the present invention proposes a kind of radar seeker data and processes dsp software survey Method for testing, sets up a set of effective guiding based on TESTBED testing tool Yu RTInsight data acquisition unit Head data process dsp software system test platform, in conjunction with in target seeker software system test to each subsystem functional verification The problems of middle appearance provide rational solution.
Technical scheme
A kind of radar seeker data process dsp software method of testing, it is characterised in that step is as follows:
Step 1: with national military standard GJB5369-2005, GJB/Z141-2004 for software test standard, uses TESTBED Radar seeker data are processed dsp software source code and carries out static analysis, obtain radar seeker data and process DSP The call graph of software source code;
Step 2: according to call relation G-Design pile function, target seeker data processing software source code is carried out pitching pile, Obtain the code after pitching pile;
Step 3: be compiled the code after pitching pile generating the performed generation can run on signal transacting test board Code;
Step 4: downloading to executable code run in the RAM of signal transacting test board, postrun data store At SRAM;
Step 5: carry out real-time data acquisition and analysis by RTinsight, obtains coverage rate analysis and performance test Report.
A kind of signal transacting test board, including DSP microprocessor and FPGA, described DSP microprocessor includes RAM, EMIFA interface and EMIFB interface, in DSP download program to the RAM of DSP microprocessor internal, FPGA with DSP microprocessor is communicated by EMIFA;It is characterized in that EMIFB interface plug-in one asynchronous SRAM store pitching pile code, RTInsight is connected to EMIFB bus by Probe Module.
Described DSP microprocessor is TMS320 C6416.
Beneficial effect
A kind of radar seeker data that the present invention proposes process dsp software method of testing, according to the spy of system under test (SUT) Property, design meets the test board of testing requirement, it is achieved target seeker data processing software is carried out code coverage rate analysis, Functional task is analyzed, performance evaluation.Beneficial effect:
A) solve target seeker data process the address bus of DSP microprocessor and data/address bus by connecting line with The connected mode problem of RTInsight data acquisition unit;
B) solve target seeker data process dsp software actual load environment cannot real-time monitoring system bus read-write situation;
C) solving after radar seeker data process the expansion of dsp software pitching pile code to utilize RTInsight real-time Carry out code coverage rate analysis and performance evaluation.
Accompanying drawing explanation
The flow chart of Fig. 1 test implementation
Fig. 2 target seeker data processing software test process figure
Fig. 3 is according to the Board Under Test card structure figure of tested Design of Hardware Architecture
Fig. 4 specifically tests system connection figure
Fig. 5 coverage rate analysis result
Fig. 6 results of performance analysis
Detailed description of the invention
In conjunction with embodiment, accompanying drawing, the invention will be further described:
In order to improve the reliability of target seeker data processing software, complete the test of embedded software in conjunction with actual conditions The improvement of journey model, formulates detailed target seeker data processing software test specification, in order to instruct later test. It is embedded real time system based on DSP for target seeker data processing software, has planned based on hardware real-time testing The coverage rate of instrument RTinsight and the hardware of performance test is built and test job.
In order to receive out, by RTInsight data acquisition by program is write the characteristic collection specifying address Storage controlling bus data and the data/address bus of tested system and address bus connect, and the bus of real-time monitoring system is read Write situation, need chip selection signal corresponding to the address of monitoring and write signal and the earth signal of goal systems.
Coverage rate analysis is the program after running plug-in mounting, writes coverage rate information to a certain hardware address, and RTinsight will catch Receiving coverage rate information to be analyzed thus dynamic display coverage condition, time performance analysis is to run RTinsight Program after plug-in mounting, to a certain hardware address write information, RTinsight will capture information and be analyzed thus dynamically show Show the time situation of program actual motion.RAM leakage analysis also needs to write memory application to a certain hardware address and release Put information.It requires that the data writing hardware address in program can produce corresponding in the bus that RTInsight connects Signal and this address are that tested program itself will not use.Variable monitoring and storehouse monitoring requirement variable access Information and stack manipulation information can produce corresponding signal in the bus that RTInsight connects.
Below as a example by certain radar seeker data processing software, soft at TI TMS320 C6416 (DSP microprocessor) The embodiment that can perform in part test and accompanying drawing, the present invention will be further described.
The flow process of test implementation is as shown in Figure 1.
Owing to RTInsight interface does not provide clock signal, reading is the asynchronous sequential on system bus, passes through Connect with the physical bus of tested system, the bus read-write situation of real-time monitoring system.By by C6416 slice, thin piece The clock frequency of EMIFB reduce to 40MHZ, then the SRAM at additional 2MB of sheet, it is achieved RTinsight is real Time the monitoring data run onboard of pitching pile post code.After test board has made, it is possible to start to carry out quiet to source code State is analyzed, and the source code taken needs can be by compiling, by source code according to meeting GJB5369-2005 coding standard Carry out code quality tolerance, obtain the function calling relationship of code;By the source code of static analysis according to function call Relation, designs pile function, source code is carried out pitching pile;Being compiled by code after pitching pile, generation can perform generation again Code;Finally download to executable code at letter, test board run;By RTinsight carry out real-time data acquisition with Analyze, obtain the report of coverage rate analysis and performance test.The following is the content being embodied as test process.
1) test prepares
A) test board designs and produces
Before test prepares, need by the way of connecting line, draw address bus and the data/address bus of microprocessor, quilt Survey project is to hang FPGA, FPGA and a DSP under processor TMS320 C6416 to be communicated by EMIFA, Purpose is intended to do the program test of DSP, the program being indifferent on FPGA, and this project does not has external RAM, DSP Program is to download in DSP internal RAM, and internal RAM free space is 1M, uses Testbed to carry out source code Beyond the free space of 1M after pitching pile, so need to increase a piece of not less than 2MB memory space on test board SRAM, concrete structure figure such as Fig. 2.
RTInsight interface does not provide clock signal, and reading is the asynchronous sequential on system bus, by with tested The physical bus of test system connects, the bus read-write situation of real-time monitoring system.By analysis, it is possible to use DSP's EMIFB (16 bit wide) interface, a plug-in asynchronous SRAM (no less than 2M), program is put into the SRAM of outside In, RTInsight is connected to EMIFB bus by Probe Module, thus completes the test of DSP program Journey, concrete block diagram such as Fig. 3.
B) the static test stage
In the static test stage, use TESTBED that tested software carries out static analysis, analyze the tune of the module of software By relation, with national military standard GJB5369-2005, GJB/Z141-2004 software test standard and corresponding C/C++ lingware Development process experience is foundation, has formulated software quality metric criterion, obtains corresponding quality metric result, soft as evaluating The foundation of part quality.
C) the dynamic test stage
In dynamic test, tested software is carried out code coverage rate analysis.Code coverage rate analysis has 2 kinds of methods, First is to use emulator and logic analyser, owing to emulator and logic analyser can not accurately judge whether instruct in advance Real execution, can not be normally carried out code coverage rate analysis to the code in instruction CACHE simultaneously, therefore be difficult to Embedded real time system code coverage rate analysis;Second is software stub technology, uses in the software test of host platform Extensively, sometimes it is also used in non real-time nature embedded system carrying out code coverage rate analysis, but owing to adding tested system The expense of system, have impact on the real-time of system under test (SUT), is therefore difficult to real time embedded system code tester.
After this dynamic test, configuration item test statement coverage rate is 75%, branch covering rate 65%, calls coverage rate and is 91.0%, radar seeker data process dsp software functional module coverage rate 96%.Coverage rate for dynamic test Result, in addition it is also necessary to use code pitching pile technology to cooperate with Real-time hardware data acquisition unit RTInsight is the most right Embedded system carries out code coverage rate analysis, and side obtains the higher result of coverage rate and results of performance analysis.
2) test implementation
A) real-time coverage rate analysis
Use code pitching pile technology, judge code implementation status, owing to using RTInsight high speed virtual port technology to make Obtain pitching pile amount and can be controlled in each characteristic point (i.e. function entrance, outlet, program branch point), reduce the increase of pitching pile code right The impact of system under test (SUT).TESTBED uses following ratio to measure coverage rate: perform what number of objects/used should perform Number of objects.By the way of bulk registration, TESTBED and RTInsight matches, and can obtain using in difference test Under example effect, respectively to scheme, software that sheet form represents perform branch covering rate, sentence covering rate, call coverage rate Accumulative situation, and under test case performance, software branch perform to mistake.It is found to have one by RTInsight A little statements are not performed covering under test case effect all the time, the analysis found that this partial software operationally will not There is the possibility meeting the condition that is performed, should be the redundance in software code.By the injection of test case, this configuration Item test statement coverage rate is 97%, and branch covering rate 86%, calling coverage rate is 100.0%, at radar seeker data Reason dsp software functional module coverage rate 100%.Concrete outcome such as Fig. 4.
B) performance evaluation
First have to when performance test RTIn sight is configured, select the frequency of internal clocking, specify and start timing With the address stopping clocked command;Then in tested software, the starting point of testing time adds the instruction starting tally function, Add the instruction stopping counting in the end;RTInsight passes through monitoring system bus, after finding to start counting up order, and note The time value of the high precision clock that record is internally integrated, receives the clock value terminating to order stopping timing again recording this moment. Utilize this technology, can be with the maximum operation time of function each in recording analysing program, minimum operation time, total fortune The statistics running the time between row time and number of run, or any 2.To certain model radar seeker number Arrive this functionality according to processing dsp software test just uses, analyze all time-delay characteristics in software very easily. What Fig. 5 was given is results of performance analysis.
3) test report is formed
By using TESTBED and RTinsight testing tool to carry out radar seeker data processing software test, and Forming static analysis report and coverage rate test report, situation about reflecting is clear, for assessment Software for Design and the survey of software Examination provides authentic data, also brings the biggest help to software maintenance.
Fig. 2 is the Board Under Test card structure figure according to tested Design of Hardware Architecture.Drafting board card is processor TMS320 Hanging FPGA, FPGA and a DSP under C6416 to be communicated by EMIFA, DSP program is to download to DSP In internal RAM.
Fig. 3 is specifically to test system connection figure.Target seeker data are utilized to process the EMIFB (16 of dsp software system Bit wide) interface, a plug-in asynchronous SRAM (no less than 2M), program is put in the SRAM of outside, RTInsight It is connected to EMIFB bus by Probe Module, thus completes the test process of DSP program.

Claims (3)

1. radar seeker data process dsp software method of testing, it is characterised in that step is as follows:
Step 1: with national military standard GJB5369-2005, GJB/Z141-2004 for software test standard, uses TESTBED Radar seeker data are processed dsp software source code and carries out static analysis, obtain radar seeker data and process DSP The call graph of software source code;
Step 2: according to call relation G-Design pile function, target seeker data processing software source code is carried out pitching pile, Obtain the code after pitching pile;
Step 3: be compiled the code after pitching pile generating the performed generation can run on signal transacting test board Code;
Step 4: downloading to executable code run in the RAM of signal transacting test board, postrun data store At SRAM;
Step 5: carry out real-time data acquisition and analysis by RTinsight, obtains coverage rate analysis and performance test Report.
2. the signal transacting test board in claim 1, including DSP microprocessor and FPGA, described DSP microprocessor includes RAM, EMIFA interface and EMIFB interface, the micro-place of DSP download program to DSP In reason RAM within device, FPGA with DSP microprocessor is communicated by EMIFA;It is characterized in that The plug-in asynchronous SRAM of EMIFB interface stores pitching pile code, and RTInsight passes through Probe Module It is connected to EMIFB bus.
A kind of signal transacting test board the most according to claim 2, it is characterised in that described DSP microprocessor is TMS320C6416。
CN201610190723.1A 2016-03-30 2016-03-30 Radar seeker data processing DSP software testing method Pending CN105893255A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610190723.1A CN105893255A (en) 2016-03-30 2016-03-30 Radar seeker data processing DSP software testing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610190723.1A CN105893255A (en) 2016-03-30 2016-03-30 Radar seeker data processing DSP software testing method

Publications (1)

Publication Number Publication Date
CN105893255A true CN105893255A (en) 2016-08-24

Family

ID=57013985

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610190723.1A Pending CN105893255A (en) 2016-03-30 2016-03-30 Radar seeker data processing DSP software testing method

Country Status (1)

Country Link
CN (1) CN105893255A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107241591A (en) * 2017-06-30 2017-10-10 中国航空工业集团公司雷华电子技术研究所 A kind of embedded 3D video image display methods of airborne radar and system
CN114579440A (en) * 2022-02-25 2022-06-03 北京计算机技术及应用研究所 Test platform and method for improving quality and efficiency of seeker software function test

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1503136A (en) * 2002-11-21 2004-06-09 深圳市中兴通讯股份有限公司 Embedded software test method
CN101241466A (en) * 2007-02-08 2008-08-13 深圳迈瑞生物医疗电子股份有限公司 Embedded software test method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1503136A (en) * 2002-11-21 2004-06-09 深圳市中兴通讯股份有限公司 Embedded software test method
CN101241466A (en) * 2007-02-08 2008-08-13 深圳迈瑞生物医疗电子股份有限公司 Embedded software test method and system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
朱红军: "一种嵌入式软件覆盖和分析测试方法", 《航空计算技术》 *
杨珂瑶等: "基于DSP的嵌入式软件测试方法", 《计算机与现代化》 *
许福等: "基于仿真器的嵌入式软件单元测试方法", 《北京航空航天大学学报》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107241591A (en) * 2017-06-30 2017-10-10 中国航空工业集团公司雷华电子技术研究所 A kind of embedded 3D video image display methods of airborne radar and system
CN114579440A (en) * 2022-02-25 2022-06-03 北京计算机技术及应用研究所 Test platform and method for improving quality and efficiency of seeker software function test
CN114579440B (en) * 2022-02-25 2024-05-28 北京计算机技术及应用研究所 Test platform and method for improving quality and efficiency of pilot head software function test

Similar Documents

Publication Publication Date Title
US9507688B2 (en) Execution history tracing method
CN105589993B (en) Microprocessor function verification apparatus and microprocessor function verification method
CN105930242B (en) A kind of multi-core processor random verification method and device for supporting accurate memory access detection
US20140019806A1 (en) Classifying processor testcases
CN110221983A (en) Test method, device, computer readable storage medium and computer equipment
CN104407951A (en) Method for automatically testing complete server
CN106155883B (en) A kind of virtual machine method for testing reliability and device
CN110727584B (en) Real-time comparison method of RTL (real time language) and reference model for pre-silicon verification of processor
JP5904989B2 (en) Method and adjusting unit for adjusting a control device
CN101706750B (en) Detective pole acquiring method based on embedded type simulator
CN110059014B (en) Concurrent program data competition instruction level positioning method
CN104199773A (en) Method and device for obtaining code coverage information
CN113157508B (en) Test method, system, device, equipment and storage medium of embedded system
CN109933504B (en) Hard disk delay test method, device, terminal and storage medium
CN116362168B (en) Modeling method and device for GPGPU offline clock and storage medium
CN101916205B (en) Frequency domain test system and method for flight control software control network
CN114518981A (en) eMMC test method, device, readable storage medium and electronic equipment
CN105893255A (en) Radar seeker data processing DSP software testing method
CN113806234A (en) Chip register extraction and test method
CN109901962B (en) Method and system for testing synchronous mixed pressure of AEP memory under Linux
CN110347540A (en) Total bandwidth test method, device and computer equipment based on solid state hard disk
CN109783837A (en) Emulator, analogue system, emulation mode and simulated program
CN101714114B (en) Device and method for supporting processor silicon post debugging
CN110535863A (en) A kind of car networking communication simulation method, system and platform and computer readable storage medium
US20220366098A1 (en) Performance measurement methodology for co-simulation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160824