CN103678751B - Processor chips emulation debugging system - Google Patents
Processor chips emulation debugging system Download PDFInfo
- Publication number
- CN103678751B CN103678751B CN201210362757.6A CN201210362757A CN103678751B CN 103678751 B CN103678751 B CN 103678751B CN 201210362757 A CN201210362757 A CN 201210362757A CN 103678751 B CN103678751 B CN 103678751B
- Authority
- CN
- China
- Prior art keywords
- user
- data
- emulator
- program
- management module
- 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.)
- Active
Links
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a kind of processor chips emulation debugging system, including:Integrated Development Environment module on emulator and user computer;The emulator includes simulation management module, emulation chip and program data memory;The Integrated Development Environment module is connected by communication channel and the simulation management module of emulator;The simulation management module is connected with program data memory and emulation chip by data/address bus;There is data message initial configuration window in the Integrated Development Environment module, when being downloaded by user configuration user program, need target data configuration file and the destination address downloaded at the same time, and, it is necessary to the target data configuration file and destination address that re-download when being resetted by user configuration emulator.The present invention can complete the download of configuration data information automatically according to the configuring condition of user.
Description
Technical field
The present invention relates to a kind of processor chips emulation debugging system.
Background technology
There is the user program of User Exploitation in processor chips, in the writing and debug of user program, used work
Tool is usually debugging software --- the Integrated Development Environment on processor chips emulator and user computer, both interactive communications are complete
Into the artificial debugging of user program.It is download in Integrated Development Environment, debugs the software platform and debugging operations of user program
Interface, can complete personal code work and download in emulator, control emulator to reset, the downloading data in the watch window of data field
File is operated to emulator etc..
It is different from actual product chip, in order to ensure versatility and meet the data modification requirement in user's debugging, at the same time
Consider the factors such as service life, access speed, volatile memory is typically used in emulator(Such as SRAM)Functionally
Memory in equivalent substitution product chips(Including program, data storage)'s.
In actual work, before using emulator debugging user program, first to complete to use by Integrated Development Environment
Family code is downloaded in the program storage of emulator.The configuration data of some initialization needs user in Integrated Development Environment
Manually complete and download to designated position in simulator data memory.When restarting debugging every time, after having downloaded personal code work,
These initial configuration data are required for re-downloading once;The configuration data of some initialization then not only needs downloading use
Downloaded after the code of family once to data field, it is also necessary to control emulator and user program to reset by Integrated Development Environment in user
Afterwards, and external factor(Reset signal, error automatically reset)Triggering emulator and user program all re-download after resetting
The once configuration data.For example, the data such as the transaction amount of smartcard processor chip in public transport application, in user program
Debugging in, re-download personal code work every time, restart debugging before need download a transaction value data deposited to data
In reservoir(Mass transit card enters the original state before transaction);In debugging process, when emulator and user program reset(Debugging,
User program operation or card reader occur erroneous trigger and reset), sometimes user also be intended to the needs according to debugging, under selection again
Carry initialization transaction value data.
In existing emulation debugging system, above-mentioned configuration data information is required for user artificially to judge user program generation
Whether to be downloaded after code is downloaded or after user program reset, and down operation is manually completed in Integrated Development Environment, not only shadow
Debugging efficiency has been rung, has been also easy to cause careless omission and mistake.
The content of the invention
, can be automatically according to user the technical problem to be solved in the present invention is to provide a kind of processor chips emulation debugging system
Configuring condition complete configuration data information download.
In order to solve the above technical problems, the processor chips emulation debugging system of the present invention, including:Emulator and user's electricity
Integrated Development Environment module on brain;The emulator includes simulation management module, emulation chip and program data memory;Institute
Integrated Development Environment module is stated to connect by communication channel and the simulation management module of emulator;The simulation management module and journey
Sequence data storage is connected with emulation chip by data/address bus;
There is data message initial configuration window, by under user configuration user program in the Integrated Development Environment module
, it is necessary to the target data configuration file and destination address downloaded at the same time during load, and resetted by user configuration emulator(Including user
Reset, the reset of user program initiation and the external reset signal outside emulator initiated from Integrated Development Environment module are touched
The reset of hair)When, it is necessary to the target data configuration file and destination address that re-download.
When the external reset signal outside emulator inputs to emulation chip, it is desirable to which emulation chip and user program are answered
Position, or user program are performed when initiating emulation chip and user program reset, and the emulation chip is exported to simulation management module
One reseting mark signal, simulation management module inform Integrated Development Environment module, emulator and user's journey by communication channel
Sequence resets.
User program code that the Integrated Development Environment module downloads needs by communication channel, target data configuration
File and the destination address downloaded pass to simulation management module;The simulation management module is by data/address bus use
Family program code or target data configuration file are written to program area or the data field that address is specified in program data memory
In domain;The emulation chip reads user program and data by data/address bus from program data memory.
Using the present invention, it is only necessary to which user completes once to configure, will be when personal code work is downloaded, and emulator and use
After the Program reset of family, the download of configuration data information is completed automatically according to the configuring condition of user.Contribute to user efficiently, reliably
Debug user program in ground.
Brief description of the drawings
The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments:
Attached drawing is processor chips emulation debugging system structure diagram.
Embodiment
Referring to shown in attached drawing, the processor chips emulation debugging system, includes in the present embodiment:Emulator 1 and use
Integrated Development Environment module 5 on the computer of family.
The emulator includes simulation management module 3, emulation chip 2 and program data memory 4.The Integrated Development ring
Border module 5 is connected by communication channel 7 with the simulation management module 3 of emulator 1.The simulation management module 3 and routine data
Memory 4 is connected by data/address bus 8, and the data/address bus 8 is connected with emulation chip 2 at the same time.
Storage user program and user data in described program data storage 4.The emulation chip 2 can be to simulation management
Module 3 exports a reseting mark signal 9.The input terminal of emulation chip 2 has to be believed from 1 externally input external reset of emulator
Numbers 10.There is data message initial configuration window 6 in the Integrated Development Environment module 5, downloaded by user configuration user program
When, it is necessary to the target data configuration file and destination address downloaded at the same time, and resetted by user configuration emulator 1(Including user
Reset, the reset that user program is initiated and the external reset signal 10 outside emulator 1 initiated from Integrated Development Environment 5 are touched
The reset of hair)When, it is necessary to the target data configuration file and destination address that re-download.
In this way, when user downloads user program code, the Integrated Development Environment module 5 passes through communication channel 7 first
User program code and destination address are passed to simulation management module 3, data/address bus 8 is passed through by simulation management module 3
The user program region being written in program data memory 4.Then, if Integrated Development Environment module 5 is according to data message
User configuration in initial configuration window 6, finds target data configuration file that is in need while downloading, then is believed by communicating
The target data configuration file and destination address that road 7 specifies user in data message initial configuration window 6 pass to imitative
True management module 3, the number of users being written to by simulation management module 3 by data/address bus 8 in program data memory 4
According to region;Need not be after user program have been downloaded, then by user's download configuration data in Integrated Development Environment module 5 manually
Information.The downloading process of above-mentioned data configuration information is sightless for a user.
If user initiates the reset operation to emulator 1 and user program, collection in the Integrated Development Environment module 5
Development environment module 5 can be according to the configuration of user, by communication channel 7 user in data message initial configuration window 6
In need after the reset specified the target data configuration file that re-downloads and destination address to pass to simulation management module 3, by
Simulation management module 3 is written to the user data area in program data memory 4 by data/address bus 8, it is not necessary to uses
Family is after emulator 1 and user program reset, the download configuration data message in Integrated Development Environment module 5 manually.
If the external reset signal 10 outside emulator 1 inputs to emulation chip 2, it is desirable to 1 He of emulation chip
User program resets, or user program is performed when initiating emulation chip 1 and user program and resetting, and emulation chip 1 is to simulation management
Module 3 exports a reseting mark signal 9, and simulation management module 3 informs Integrated Development Environment module 5 by communication channel 7, imitates
True device 1 and user program reset.Integrated Development Environment module 5 can be according to the configuration of user, by communication channel 7 user
The target data configuration file and the target that re-download are needed after the reset specified in data message initial configuration window 6
Location passes to simulation management module 3, and program data memory 4 is written to by data/address bus 8 by simulation management module 3
In user data area.This process artificially judges and manually completes re-downloading for configuration data information completely without user
Operation.
The present invention is described in detail above by embodiment and embodiment, but these are not composition pair
The limitation of the present invention.Without departing from the principles of the present invention, those skilled in the art can also make many deformations and change
Into these also should be regarded as protection scope of the present invention.
Claims (4)
1. a kind of processor chips emulation debugging system, including:Integrated Development Environment module on emulator and user computer;Institute
Stating emulator includes simulation management module, emulation chip and program data memory;The Integrated Development Environment module passes through logical
Believe that the simulation management module of channel and emulator connects;The simulation management module is led to program data memory and emulation chip
Cross data/address bus connection;
It is characterized in that:There is data message initial configuration window in the Integrated Development Environment module, used by user configuration
, it is necessary to the target data configuration file and destination address downloaded at the same time during the download program of family, and resetted by user configuration emulator
When, it is necessary to the target data configuration file and destination address that re-download.
2. the system as claimed in claim 1, it is characterised in that:The reset includes user and is initiated from Integrated Development Environment module
Reset, user program initiate reset and outside emulator external reset signal triggering reset.
3. the system as claimed in claim 1, it is characterised in that:When the external reset signal outside emulator input to it is imitative
True chip, it is desirable to emulation chip and user program reset, or user program is performed when initiating emulation chip and user program reset,
The emulation chip exports a reseting mark signal to simulation management module, and simulation management module informs collection by communication channel
Development environment module, emulator and user program reset.
4. the system as described in claim 1-3 is any, it is characterised in that:The Integrated Development Environment module passes through communication channel
The destination address of user program code, target data configuration file and download that needs are downloaded is passed to simulation management module;
User program code or target data configuration file are written to program number by the simulation management module by data/address bus
According in program area or data area that address is specified in memory;The emulation chip is by data/address bus from program
User program and data are read in data storage.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210362757.6A CN103678751B (en) | 2012-09-25 | 2012-09-25 | Processor chips emulation debugging system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210362757.6A CN103678751B (en) | 2012-09-25 | 2012-09-25 | Processor chips emulation debugging system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103678751A CN103678751A (en) | 2014-03-26 |
CN103678751B true CN103678751B (en) | 2018-04-27 |
Family
ID=50316294
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210362757.6A Active CN103678751B (en) | 2012-09-25 | 2012-09-25 | Processor chips emulation debugging system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103678751B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104077204B (en) * | 2014-07-22 | 2016-01-27 | 无锡中微爱芯电子有限公司 | Reconfigurable 8 RSIC singlechip emulators |
CN106354966B (en) * | 2016-09-06 | 2019-11-08 | 芯海科技(深圳)股份有限公司 | The method of the conversion of chip id E project file and rapid configuration artificial debugging environment |
CN107391077A (en) * | 2017-07-11 | 2017-11-24 | 苏州顺芯半导体有限公司 | A kind of programmable audio A/D conversion chip and its implementation |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1690976A (en) * | 2004-04-24 | 2005-11-02 | 鸿富锦精密工业(深圳)有限公司 | Automatic test system and method for mainboard |
CN101136036A (en) * | 2006-10-12 | 2008-03-05 | 中兴通讯股份有限公司 | Combined on site programmable gate array verification device |
CN101162440A (en) * | 2007-11-20 | 2008-04-16 | 杭州中天微***有限公司 | Design method for built-in processor high speed on-line download straight-through channel |
US7693699B2 (en) * | 2005-08-19 | 2010-04-06 | Opnet Technologies, Inc. | Incremental update of virtual devices in a modeled network |
CN101968763A (en) * | 2009-07-27 | 2011-02-09 | 上海华虹集成电路有限责任公司 | High-speed processor chip simulator |
-
2012
- 2012-09-25 CN CN201210362757.6A patent/CN103678751B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1690976A (en) * | 2004-04-24 | 2005-11-02 | 鸿富锦精密工业(深圳)有限公司 | Automatic test system and method for mainboard |
US7693699B2 (en) * | 2005-08-19 | 2010-04-06 | Opnet Technologies, Inc. | Incremental update of virtual devices in a modeled network |
CN101136036A (en) * | 2006-10-12 | 2008-03-05 | 中兴通讯股份有限公司 | Combined on site programmable gate array verification device |
CN101162440A (en) * | 2007-11-20 | 2008-04-16 | 杭州中天微***有限公司 | Design method for built-in processor high speed on-line download straight-through channel |
CN101968763A (en) * | 2009-07-27 | 2011-02-09 | 上海华虹集成电路有限责任公司 | High-speed processor chip simulator |
Also Published As
Publication number | Publication date |
---|---|
CN103678751A (en) | 2014-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102033770B (en) | Touch screen firmware upgrading method and device for mobile terminal | |
CN104077204B (en) | Reconfigurable 8 RSIC singlechip emulators | |
CN103745167B (en) | The IAP method and device of single-chip microcomputer | |
CN109783340B (en) | SoC test code programming method, IP test method and device | |
US20230115629A1 (en) | SYSTEM AND METHOD FOR VALIDATING A POWER CYCLE FOR AN EMULATED PCIe BASED STORAGE DEVICE | |
CN101344899A (en) | Simulation test method and system of on-chip system | |
CN104461859B (en) | A kind of emulator and method for supporting the soft debugging breakpoints of NVM | |
CN103678751B (en) | Processor chips emulation debugging system | |
CN104216771B (en) | The method for restarting and device of software program | |
CN103150190A (en) | Automatic detecting and driving loading method of user mode network card in Linux system | |
CN104461589A (en) | Single-chip microcomputer updating method and system | |
CN106485020B (en) | Processor chips emulator with nonvolatile memory | |
CN104680059A (en) | Emulator for protecting chip firmware program and method thereof | |
Li et al. | FEMU: A firmware-based emulation framework for SoC verification | |
CN107634870A (en) | Method and device for realizing IP verification | |
CN101206613A (en) | High speed basic input/output system debug card | |
AU2017410256B2 (en) | Testing devices and methods for testing a device driver software | |
CN103678073A (en) | Simulation system | |
CN110688099B (en) | Microprocessor development method for long-distance radio integrated programmable system on chip | |
CN211878599U (en) | Simulation verification system applied to field editable gate array FPGA | |
CN103559074B (en) | A kind of analogue communication plug-in unit and method of work thereof | |
CN109683813B (en) | NVME SSD automatic formatting method, device, terminal and storage medium | |
CN107967423A (en) | The method and terminal device of a kind of authority acquiring | |
JP2013020425A (en) | Hardware and software cooperative verification method using open source software | |
CN112885403A (en) | Function test method, device and equipment of Flash controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |