CN1558330A - Simulation integration development system for embedded software of household appliances controller and pure software simulation execution method thereof - Google Patents
Simulation integration development system for embedded software of household appliances controller and pure software simulation execution method thereof Download PDFInfo
- Publication number
- CN1558330A CN1558330A CNA2004100152091A CN200410015209A CN1558330A CN 1558330 A CN1558330 A CN 1558330A CN A2004100152091 A CNA2004100152091 A CN A2004100152091A CN 200410015209 A CN200410015209 A CN 200410015209A CN 1558330 A CN1558330 A CN 1558330A
- Authority
- CN
- China
- Prior art keywords
- emulation
- simulation
- software
- running environment
- mcu
- 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
Links
Images
Abstract
The present invention provides household appliance controller software developer with one embedded household appliance controller software development platform including target code creating module, simulation running environment module, debugging module, auxiliary analysis tool module and simulating member library management module system. In the said system, the household appliance controller software developer can execute his compiled embedded software in the simulation running environment like in real hardware environment without needing target household appliance hardware system. The present invention configures one simulating target household appliance hardware system in simulating running environment sub-system before simulation executing the software the household appliance controller software developer compiles in the simulating target household appliance hardware system.
Description
Technical field
The present invention relates to emulation of the computer software technology and component frame technology, is a kind of method of utilizing computing machine to the domestic electric appliances controller simulating developer.
Background technology
What at present, China's domestic electric appliances controller manufacturer developed that various new controller mainly take is a kind of mode of software and hardware serial exploitation.So-called software and hardware serial exploitation refers to after the controller system design is finished, and at first is that the hardware development personnel are according to the system design scheme design and the debugging control plate that design.After the control panel moulding, next just the software developer designs on the controller that has designed, and writes, and the debugging control program is integral united test at last.Whole exploitation is a performance history with serial of obvious sequencing.
Though the development scheme of this serial finally still can reach the purpose of controller exploitation moulding, after serious analysis, will find that this mode exists many defectives:
The first, the controller construction cycle is long.
Because the exploitation of the hardware and software of controller is serial in time, the software developer only just can carry out the exploitation debugging of control program after the hardware moulding, so:
Total development time=system design time+hardware development time+software development time+uniting and adjustment time
If: the system design time is 7 days;
The hardware development time is 14 days;
The software development time is 14 days;
The uniting and adjustment time is 7 days
So: total development time=7+14+14+7=42 days.
For any one manufacturer that produces domestic electric appliances controller, the time is exactly market, has only in time and takes the preemptive opportunities, and just can win the market, so they all are ready to spare no effort to shorten product development cycle.
The second, self the extent for multiplexing of developing software is low.
Commonly used now develops software, and only rests on the level of single Series MCU soft simulation mostly, if switch on the MCU of different series, just must select difference to develop software.Various main flow MCU and the peripheral hardware commonly used form with member that has now is not formed and to supply nonexpondable component base, and lack the standard interface of formation member.In other words, existing exactly developing software can only be to carry out the controller exploitation at certain household electrical appliances with concrete peripherals model, if developed after this controller, change certain peripherals wherein carries out the exploitation of a new model controller again and just can't develop with original developing software.Must cause manufacturer will spend substantial contribution to remove to buy various controllers like this develops software.
The 3rd, cost of development is higher.
Use the mode of serial to develop, when having arrived software development during this stage, the software developer is in order to test the control program of its exploitation, just be necessary for each software developer and be equipped with a cover MCU emulator and a cover development board, and on stream, the hardware proportion of goods damageds are very high, just increased the cost of development of exploitation controller so virtually.
The 4th, the application program debug difficulties.
Development scheme commonly used now, in program debug, the Application developer can not break away from hardware platform fully and remove debugging utility, so the mistake in the debug process may be by hardware, also may be produced by software, the application programmer also must have the debugging that suitable hardware grounding in basic skills just can be finished program.
Summary of the invention
The present invention is for addressing the above problem development platform and the manner of execution thereof that a kind of domestic electric appliances controller embedded software is provided, by the hardware system of a household electrical appliances emulation of software emulation structure, can support the rapid shaping of the research and development of domestic electric appliances controller product by this platform.
The present invention can realize by following technical scheme: the invention provides a kind of development platform of domestic electric appliances controller embedded software, it comprises:
One object code generation module is the binary code carried out that is used to generate at target MCU;
One simulation running environment module is used for the target household electrical appliances hardware system of constructive simulation;
One debugging module is used for the debug target code and generates the binary code carried out at target MCU that subsystem generates;
One assistant analysis tool model, the instrument that is used for providing output that the binary code carried out that moves at simulation running environment is produced to analyze dynamically;
One simulation component database management module provides management and maintenance to simulation component in the system.
Described object code generation module, what refer to state is SDK (Software Development Kit) at different MCU, comprises compiler, assembler, linker and binary implementation instrument.
The target household electrical appliances hardware system of described emulation is characterized in that comprising emulation MCU, the peripheral IC of emulation, emulation peripheral hardware by one of them of combination that certain design requirement constituted.
Described debugging module is characterized in that comprising: single step, multistep, breakpoint is set, removes breakpoint, checks memory content, checks the CPU internal register contents, revise the function of memory content.
Described assistant analysis tool model is characterized in that providing the software logic analyser, can see the sequential logic of each output port of emulation MCU by this software logic analyser.
The invention provides a kind of pure software emulation manner of execution of domestic electric appliances controller embedded software, its feature comprises following steps:
Set up a large amount of simulation components, and enter component library management;
Demand according to development goal is chosen simulation component from component base, and combined member is set up simulation running environment;
The executable binary code of domestic electric appliances controller embedded software is put into simulation running environment to be moved.
The emulation manner of execution of described domestic electric appliances controller embedded software is characterized in that simulation component is meant the peripheral IC of emulation household electrical appliances peripheral hardware, emulation MCU, emulation that generates by software mode.
The emulation manner of execution of described domestic electric appliances controller embedded software, the foundation that it is characterized in that this simulation running environment are to generate the simulation objectives hardware system by combination and configuration simulation component.
The emulation manner of execution of described domestic electric appliances controller embedded software, it is characterized in that the executable binary code of domestic electric appliances controller embedded software is put into simulation running environment to be moved, be to carry out executable binary code and to peripheral IC of emulation or emulation peripheral hardware output signal by emulation MCU, by the peripheral IC of emulation or emulation peripheral hardware to emulation MCU input signal.
Description of drawings
The drawing of accompanying drawing is described as follows:
Fig. 1 is a functional block diagram of the present invention;
Fig. 2 is a method execution in step process flow diagram of the present invention;
Fig. 3 is each module relation diagram of the present invention;
Fig. 4 is the processing flow chart of object code generation module of the present invention;
Fig. 5 is the processing flow chart of debugging module of the present invention;
Fig. 6 is the processing flow chart of assistant analysis module of the present invention;
Fig. 7 is the processing flow chart of component library management module of the present invention;
Fig. 8 is a simulation running environment built-in function graph of a relation of the present invention.
Embodiment:
Domestic electric appliances controller embedded software emulation integrated development system of the present invention and pure software emulation manner of execution thereof are as shown in Fig. 1,2.Development platform 10 comprises and an object code generation module 101, a debugging module 102, an assistant analysis module 103, a simulation running environment module 104 and a component library management module 105; Object code generation module 101 is used to generate the binary code carried out at target MCU; Debugging module 102 is used for the debug target code and generates the binary code carried out at target MCU that subsystem generates; The instrument that assistant analysis module 103 is used for providing output that the binary code carried out that moves at simulation running environment is produced to analyze dynamically; Simulation running environment module 104 is used for the target household electrical appliances hardware system of constructive simulation; Component library management module 105 provides the management of simulation component in the system and maintenance.
Each module relationship concerns that on behalf of simulation running environment module 104,302 obtain the simulation software member of the target household electrical appliances hardware system of setting up emulation from simulation component database management module 105 as shown in Figure 3 among the present invention; Concern that 301 object codes of representing object code generation module 101 to generate send simulation running environment module 104 to by debugging module 102; Concern that on behalf of debugging module 102,303 send various debugging requests to simulation running environment module 104; Concern that 304 represent the request responding of 104 pairs of debugging modules 102 of simulation running environment; Concern that on behalf of assistant analysis module 103,305 send request to simulation running environment module 104; Concern that 306 represent 104 pairs of assistant analysis module 103 request responding of simulation running environment module.
Object code generation module 101 detects user's configuration information by step 401, comprises path, the source code title of third party software developing instrument and deposits path, MAKE document storage path, generates intermediate code and object code is deposited path etc.; Call the third party software developing instrument to generate object code by the configuration information execution of reading in.Debugging module 102 is downloaded object code to simulation running environment module 104 by step 501, detects user's debugging operations request and the response 304 that step 503 sends various debugging requests 303 and accepts to return to simulation running environment 104 by circulation execution in step 502.Assistant analysis module 103 comprises information such as sample port, sample frequency by step 601 detection user's configuration information; By step 602 sampling designated port information; Calling the waveform Presentation Function by step 603 shows.Component library management module 105 is developed member by step 701 component development personnel by standard; Increase member to component base by step 702; Finish other attended operations by step 703, comprise operations such as looking into, delete, change component base.Simulation running environment module 104 is cores of the present invention, peripheral IC of emulation MCU in the simulation component storehouse, emulation and emulation peripheral hardware, the standard interface 803 of their standard interfaces 801 by emulation MCU and standard interface 802, emulation MCU and the emulation peripheral hardware of emulation periphery IC and emulation periphery ICn and emulation peripheral hardware ICn ' is combined into the target household electrical appliances hardware system of emulation in simulation running environment.
Description by above each module relationship, inter-process flow process and simulation running environment built-in function relation can obtain the execution in step as the method for Fig. 2.Generate software component by step 201-A by standard, step 201-B is with member such as library management, circulation execution in step 202-A, 202-B constructive simulation target household electrical appliances hardware system, the object code of the embedded software of step 203-A download domestic electric appliances controller is to simulation running environment, and object code is carried out in the emulation of execution in step 203-B simulation running environment.
Claims (9)
1, a kind of emulation integrated development system of domestic electric appliances controller embedded software provides the development platform of a domestic electric appliances controller embedded software, it is characterized in that this system includes:
One object code generation module is the binary code carried out that is used to generate at target MCU;
One simulation running environment module is used for the target household electrical appliances hardware system of constructive simulation;
One debugging module is used for the debug target code and generates the binary code carried out at target MCU that subsystem generates;
One assistant analysis tool model, the instrument that is used for providing output that the binary code carried out that moves at simulation running environment is produced to analyze dynamically;
One simulation component database management module provides management and maintenance to simulation component in the system.
2, object code generation module according to claim 1, what refer to state is SDK (Software Development Kit) at different MCU, comprises compiler, assembler, linker and binary implementation instrument.
3, the target household electrical appliances hardware system of emulation according to claim 1 is characterized in that comprising emulation MCU, the peripheral IC of emulation, emulation peripheral hardware by one of them of combination that certain design requirement constituted.
4, debugging module according to claim 1 is characterized in that comprising: single step, multistep, breakpoint is set, removes breakpoint, checks memory content, checks the CPU internal register contents, revises the function of memory content.
5, assistant analysis tool model according to claim 1 is characterized in that providing the software logic analyser, can see the sequential logic of each output port of emulation MCU by this software logic analyser.
6, a kind of pure software emulation manner of execution of domestic electric appliances controller embedded software, its feature comprises following steps:
Set up a large amount of simulation components, and enter component library management;
Demand according to development goal is chosen simulation component from component base, and combined member is set up simulation running environment;
The executable binary code of domestic electric appliances controller embedded software is put into simulation running environment to be moved.
7, the emulation manner of execution of domestic electric appliances controller embedded software as claimed in claim 6 is characterized in that simulation component is meant the peripheral IC of emulation household electrical appliances peripheral hardware, emulation MCU, emulation that generates by software mode.
8, the emulation manner of execution of domestic electric appliances controller embedded software as claimed in claim 6, the foundation that it is characterized in that this simulation running environment are to generate the simulation objectives hardware system by combination and configuration simulation component.
9, the emulation manner of execution of domestic electric appliances controller embedded software as claimed in claim 6, it is characterized in that the executable binary code of domestic electric appliances controller embedded software is put into simulation running environment to be moved, be to carry out executable binary code and to peripheral IC of emulation or emulation peripheral hardware output signal by emulation MCU, by the peripheral IC of emulation or emulation peripheral hardware to emulation MCU input signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2004100152091A CN1558330A (en) | 2004-01-18 | 2004-01-18 | Simulation integration development system for embedded software of household appliances controller and pure software simulation execution method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2004100152091A CN1558330A (en) | 2004-01-18 | 2004-01-18 | Simulation integration development system for embedded software of household appliances controller and pure software simulation execution method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1558330A true CN1558330A (en) | 2004-12-29 |
Family
ID=34351362
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2004100152091A Pending CN1558330A (en) | 2004-01-18 | 2004-01-18 | Simulation integration development system for embedded software of household appliances controller and pure software simulation execution method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1558330A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102289593A (en) * | 2011-08-22 | 2011-12-21 | 上海交通大学 | Multidisciplinary virtual experiment interactive simulation solution system |
CN102662648A (en) * | 2012-03-05 | 2012-09-12 | 广东天波信息技术股份有限公司 | Embedded software development simulation platform of communication terminal and application thereof |
CN103399813A (en) * | 2013-06-30 | 2013-11-20 | 惠州市德赛西威汽车电子有限公司 | Embedded system offline trace analysis method based on Trace information |
CN104699523A (en) * | 2015-03-24 | 2015-06-10 | 北京深思数盾科技有限公司 | Debugging method and system used for application programs developed by hardware platform |
CN106354549A (en) * | 2016-10-08 | 2017-01-25 | 深圳市讯方技术股份有限公司 | Simulation experiment method and virtual simulation system |
CN117032903A (en) * | 2023-10-07 | 2023-11-10 | 之江实验室 | Simulation debugging method and device, storage medium and electronic equipment |
-
2004
- 2004-01-18 CN CNA2004100152091A patent/CN1558330A/en active Pending
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102289593A (en) * | 2011-08-22 | 2011-12-21 | 上海交通大学 | Multidisciplinary virtual experiment interactive simulation solution system |
CN102662648A (en) * | 2012-03-05 | 2012-09-12 | 广东天波信息技术股份有限公司 | Embedded software development simulation platform of communication terminal and application thereof |
CN102662648B (en) * | 2012-03-05 | 2015-09-30 | 广东天波信息技术股份有限公司 | A kind of embedded software developing emulation platform of communicating terminal and application thereof |
CN103399813A (en) * | 2013-06-30 | 2013-11-20 | 惠州市德赛西威汽车电子有限公司 | Embedded system offline trace analysis method based on Trace information |
CN103399813B (en) * | 2013-06-30 | 2016-05-11 | 惠州市德赛西威汽车电子股份有限公司 | A kind of embedded system off-line trace analysis method based on Trace information |
CN104699523A (en) * | 2015-03-24 | 2015-06-10 | 北京深思数盾科技有限公司 | Debugging method and system used for application programs developed by hardware platform |
CN104699523B (en) * | 2015-03-24 | 2018-06-01 | 北京深思数盾科技股份有限公司 | For the adjustment method and system of the application program that hardware platform is developed |
CN106354549A (en) * | 2016-10-08 | 2017-01-25 | 深圳市讯方技术股份有限公司 | Simulation experiment method and virtual simulation system |
CN117032903A (en) * | 2023-10-07 | 2023-11-10 | 之江实验室 | Simulation debugging method and device, storage medium and electronic equipment |
CN117032903B (en) * | 2023-10-07 | 2024-01-26 | 之江实验室 | Simulation debugging method and device, storage medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10223081B2 (en) | Multistate development workflow for generating a custom instruction set reconfigurable processor | |
Marwedel et al. | Code generation for embedded processors | |
US8549468B2 (en) | Method, system and computer readable storage device for generating software transaction-level modeling (TLM) model | |
CN1752946A (en) | Debugging method of embedded system and its system | |
CN101059773A (en) | Bus model-based embedded system emulated platform | |
Wang et al. | An efficient approach for system-level timing simulation of compiler-optimized embedded software | |
Pétrot et al. | On mpsoc software execution at the transaction level | |
CN100351785C (en) | Method for debuging embedded system and equipment | |
CN1737755A (en) | Modeling and code generating method of embedded real-time operating system | |
Chattopadhyay et al. | LISA: A uniform ADL for embedded processor modeling, implementation, and software toolsuite generation | |
CN1877521A (en) | Method for accomplishing embedded system board support package across different operating system | |
CN1877545A (en) | Method for testing energy consumption of dynamic software in embedded system simulator | |
Wang et al. | Software performance simulation strategies for high-level embedded system design | |
CN1558330A (en) | Simulation integration development system for embedded software of household appliances controller and pure software simulation execution method thereof | |
Wu et al. | Automatic generation of software TLM in multiple abstraction layers for efficient HW/SW co-simulation | |
do Nascimento et al. | Modes: Embedded systems design methodology and tools based on mde | |
CN1737773A (en) | Method and system for monitoring embedded system on line | |
CN1648873A (en) | Method for realizing break point debugging function | |
Boothe | Fast accurate simulation of large shared memory multiprocessors | |
CN101042671A (en) | Debugging system used for digital signal processor and debug method thereof | |
US20080300845A1 (en) | Monitoring software simulations of hardware systems | |
CN1219254C (en) | IC card hardware simulator based on FPGA-51 kernel | |
Cheung et al. | Framework for fast and accurate performance simulation of multiprocessor systems | |
Parson et al. | A framework for simulating heterogeneous virtual processors | |
Cho et al. | Case study: verification framework of Samsung reconfigurable processor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |