CN106484585A - Contact type intelligent card chip emulator - Google Patents
Contact type intelligent card chip emulator Download PDFInfo
- Publication number
- CN106484585A CN106484585A CN201610929751.0A CN201610929751A CN106484585A CN 106484585 A CN106484585 A CN 106484585A CN 201610929751 A CN201610929751 A CN 201610929751A CN 106484585 A CN106484585 A CN 106484585A
- Authority
- CN
- China
- Prior art keywords
- reset signal
- user program
- execution
- monitoring module
- emulation chip
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/26—Functional testing
- G06F11/261—Functional testing by simulating additional hardware, e.g. fault simulation
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a kind of contact type intelligent card chip emulator, including:Emulation chip, monitoring module, equivalent dop and be arranged on the IDE software on user computer;Described monitoring module is connected with equivalent dop by external reset signal line, is connected with described emulation chip by internal reset signal line, carries out information transmission by debugging interface passage and IDE software;Described emulation chip is in during reset state it is impossible to execute user program;When described emulation chip is in running order, can run into after breakpoint stops in user program execution, switching execution monitoring programme derives various state datas, can continue single step execution user program, for following the tracks of execution flow process.The present invention can facilitate exploitation and the debugging of user program, improves the exploitation debugging efficiency of user program.
Description
Technical field
The present invention relates to a kind of emulator field, more particularly to a kind of contact type intelligent card chip emulator.
Background technology
There is the user program of User Exploitation in processor chips, in the writing and debug of user program, the work that used
Tool is usually emulator.Using the emulation chip comprising product treatment device chip various functions in emulator, for analog equipment
The work behavior of processor chips, emulation chip (is deposited the program storage of user program, deposits number with emulator other part
According to data storage, and the IDE on user computer etc.) cooperation realizes the simulation run of user program and each
Item debugging function.
During the user program debugging of contact type intelligent card processor chips, in addition it is also necessary to coordinate in addition to using emulator
Using contactless card reader, simulate smart card and coordinate card reader work, the environment of communication.Contactless card reader passes through carrier wave
Power to contact type intelligent card, and issue command reception response, if the instruction issuing within a specified time does not respond to return
Return or return response abnormality, include do not meet ISO agreement (such as ISO14443 etc.), speed do not meet expect etc., now
Contactless card reader can cut out carrier wave, stops powering to card and communication process, card then lower electricity stopping after not having carrier wave
Work.
Contact type intelligent card chip emulator due to due to power consumption, typically all power by independent current source, does not adopt non-
Contact equipment provides carrier wave to power, and the situation having carrier wave is equivalent to non-reset state simultaneously, and emulation chip can normal handle
Carrier free situation is equivalent to reset state, and emulation chip can not work it is impossible to execute user program, functionally simulates reality
The electric at present idle situation of normal work when contact type intelligent card has equipment carrier wave, no equipment carrier wave.But, in noncontact
During formula smart card chip simulator cooperation contactless card reader debugging user program, user is frequently necessary to debugging and receives
Program after implement commands, needs to be carried out observation program implementation procedure, gone to certain program using debud modes such as breakpoint, single steps
Various depositors during position, memory state data, tracing program execution flow analysis program problem etc., using existing
The contact type intelligent card chip emulator of structure, just returns after coordinating contactless card reader debugging to receive implement commands
Program before really responding, or when debugging the program of return value exception, if adjusted using breakpoint or single step on these program segments
Trial work section, is cannot to return and correctly respond to equipment in the range of the response timeout of equipment setting, and equipment will be because of sending out
Existing time-out does not respond to judge that card execution closes carrier wave extremely, causes the emulation core of contact type intelligent card chip emulator
Piece processor is in reset state it is impossible to after user program execution runs into breakpoint stopping, switching execution monitoring programme derives each
Plant state data, also cannot continue single step execution user program, follow the tracks of execution flow process, this allows for the debugging pole of user program
For inconvenience.
Content of the invention
The technical problem to be solved in the present invention is to provide a kind of contact type intelligent card chip emulator, can facilitate user
The exploitation of program and debugging, improve the exploitation debugging efficiency of user program.
For solve above-mentioned technical problem, the contact type intelligent card chip emulator of the present invention, including:Emulation chip, prison
Control module, equivalent dop and be arranged on the IDE software on user computer;Described monitoring module passes through outside multiple
Position holding wire is connected with equivalent dop, is connected with described emulation chip by internal reset signal line, by debugging interface passage
Carry out information transmission with IDE software;
Described emulation chip is in during reset state it is impossible to execute user program;Described emulation chip is in running order
When, can be after user program execution runs into breakpoint stopping, switching execution monitoring programme derives various state datas, can continue
Single step executes user program, for following the tracks of execution flow process.
Using the present invention emulator during true analog equipment card at full speed executes user program, have equipment carrier wave
Shi Zhengchang executes user program, does not have during equipment carrier wave to stop execution user program, solves and return after receiving equipment carrier wave
User program section or the effective debugging problem returning abnormal user program section before response.User can adopt breakpoint, single step
Etc. mode to debug these user programs implementation procedure, go to various depositors during certain position, memory state and
Data, tracking execution flow analysis program problem.Facilitate exploitation and the debugging of user program, be favorably improved user program
Exploitation debugging efficiency.
Brief description
The present invention is further detailed explanation with reference to the accompanying drawings and detailed description:
Fig. 1 is described contact type intelligent card chip emulator structural representation.
Specific embodiment
As shown in figure 1, described contact type intelligent card chip emulator, including:Emulation chip 2, monitoring module 3, equivalent
Dop 4 and be arranged on the IDE software 5 on user computer.Described monitoring module 3 passes through external reset signal line 6
It is connected with equivalent dop 4, is connected with described emulation chip 2 by internal reset signal line 7, by debugging interface passage 8 and use
IDE software 5 on the computer of family carries out information transmission.
Described equivalent dop 4 produces invalid reset signal when there being contactless card reader carrier wave, is believed by external reset
Number line 6 exports to monitoring module 3;Equivalent dop 4 produces effective reset signal when not having contactless card reader carrier wave, passes through
External reset signal line 6 exports to monitoring module 3.Described monitoring module 3 can be by internal reset signal line 7 to emulation chip 2
Export effective or invalid reset signal, control the processor in emulation chip 2 to be in reset state or working condition.Emulation chip
2 are in during reset state it is impossible to execute user program;When emulation chip 2 is in running order, chance can be executed in user program
After stopping to breakpoint, switching execution monitoring programme derives various state datas it is also possible to continue single step execution user program, supplies
Follow the tracks of execution flow process.Monitoring module 3 receives IDE software 5 by debugging interface passage 8 and instructs, and is receiving at full speed
During execution user program instruction, monitoring module 3 enters user model, directly the reset signal from external reset signal line 6
Exported to emulation chip 2 by internal reset signal line 7.Monitoring module 3 is held receiving stopping from IDE software 5
During the instruction of row user program, and when user program execution runs into breakpoint stopping execution, monitoring module 3 enters debugging mode, leads to
Cross internal reset signal line 7 and export invalid reset signal to emulation chip 2, emulation chip 2 can normal configuration processor.Monitoring mould
Block 3 only has debugging mode and user model both of which, and other debugging instructions that IDE software 5 issues will not change
Monitoring module 3 state.
So, user passes through IDE software 5 and starts to execute at full speed user program, and monitoring module 3 enters access customer
Pattern, directly equivalent for equivalent dop 4 go out reset signal export to emulation chip 2, when having equipment carrier wave, emulation chip 2 is complete
When speed execution user program, no equipment carrier wave, emulation chip 2 does not execute user program, truly simulates card cooperation equipment
Work process.
Debugging returns the user program section of user program section or return exception before responding after receiving equipment carrier wave when, use
Execution runs into that breakpoint stops or user sends stopping execution user program from IDE software 5 and refers at full speed for family program
Order, monitoring module 3 exits user model, enters debugging mode, no matter whether equipment closes carrier wave, and monitoring module 3 all exports no
To emulation chip 2, emulation chip 2 can continue switching execution monitoring programme to effect reset signal, derives current various memorizeies
With register data and state it is also possible to continue single step execution user program, follow the tracks of execution flow process.
Above by specific embodiment, the present invention is described in detail, but these have not been constituted to the present invention's
Limit.Without departing from the principles of the present invention, those skilled in the art also can make many deformation and improve, these
Should be regarded as protection scope of the present invention.
Claims (4)
1. a kind of contact type intelligent card chip emulator is it is characterised in that include:Emulation chip, monitoring module, equivalent dop
And it is arranged on the IDE software on user computer;Described monitoring module passes through external reset signal line and equivalent card
Head connects, and is connected with described emulation chip by internal reset signal line, soft by debugging interface passage and IDE
Part carries out information transmission;
Described emulation chip is in during reset state it is impossible to execute user program;When described emulation chip is in running order, energy
Enough after user program execution runs into breakpoint stopping, the switching execution monitoring programme various state datas of derivation, can continue single step
Execution user program, for following the tracks of execution flow process.
2. emulator as claimed in claim 1 it is characterised in that:Described equivalent dop is when there being contactless card reader carrier wave
Produce invalid reset signal, exported to monitoring module by external reset signal line;Described equivalent dop is not contactless
Produce effective reset signal during card reader carrier wave, exported to monitoring module by external reset signal line;Described monitoring module energy
Effective or invalid reset signal is exported to emulation chip by internal reset signal line, controls the processor in emulation chip to be in
Reset state or working condition.
3. emulator as claimed in claim 1 it is characterised in that:It is integrated that described monitoring module passes through debugging interface channel reception
Development environment software instruction, when receiving execution user program instruction at full speed, monitoring module enters user model, directly next
Exported to emulation chip from the reset signal of external reset signal line by internal reset signal line.
4. emulator as claimed in claim 1 it is characterised in that:Described monitoring module stops receiving from IDE
Only during the instruction of execution user program, and when user program execution runs into breakpoint stopping execution, monitoring module enters debugging mode,
Invalid reset signal is exported to emulation chip by internal reset signal line, emulation chip can normal configuration processor;Monitoring mould
Block only has debugging mode and user model both of which, and other debugging instructions that IDE issues will not change monitoring mould
Bulk state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610929751.0A CN106484585A (en) | 2016-10-31 | 2016-10-31 | Contact type intelligent card chip emulator |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610929751.0A CN106484585A (en) | 2016-10-31 | 2016-10-31 | Contact type intelligent card chip emulator |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106484585A true CN106484585A (en) | 2017-03-08 |
Family
ID=58271366
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610929751.0A Pending CN106484585A (en) | 2016-10-31 | 2016-10-31 | Contact type intelligent card chip emulator |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106484585A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116719746A (en) * | 2023-07-26 | 2023-09-08 | 北京象帝先计算技术有限公司 | Debugging method, equipment, product to be debugged and computer storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101105761A (en) * | 2006-07-12 | 2008-01-16 | 上海华虹集成电路有限责任公司 | Emulator of contact type intelligent card with USB interface |
CN101114241A (en) * | 2006-07-25 | 2008-01-30 | 上海华虹集成电路有限责任公司 | Non-contacting intelligent card emluator |
CN101968761A (en) * | 2009-07-27 | 2011-02-09 | 上海华虹集成电路有限责任公司 | Non-contact type intelligent card simulator |
CN103207824A (en) * | 2012-01-13 | 2013-07-17 | 上海华虹集成电路有限责任公司 | Simulator free from interference of resetting in monitor mode |
-
2016
- 2016-10-31 CN CN201610929751.0A patent/CN106484585A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101105761A (en) * | 2006-07-12 | 2008-01-16 | 上海华虹集成电路有限责任公司 | Emulator of contact type intelligent card with USB interface |
CN101114241A (en) * | 2006-07-25 | 2008-01-30 | 上海华虹集成电路有限责任公司 | Non-contacting intelligent card emluator |
CN101968761A (en) * | 2009-07-27 | 2011-02-09 | 上海华虹集成电路有限责任公司 | Non-contact type intelligent card simulator |
CN103207824A (en) * | 2012-01-13 | 2013-07-17 | 上海华虹集成电路有限责任公司 | Simulator free from interference of resetting in monitor mode |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116719746A (en) * | 2023-07-26 | 2023-09-08 | 北京象帝先计算技术有限公司 | Debugging method, equipment, product to be debugged and computer storage medium |
CN116719746B (en) * | 2023-07-26 | 2023-12-19 | 北京象帝先计算技术有限公司 | Debugging method, equipment, product to be debugged and computer storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100401267C (en) | Chip dynamic tracing method of microprocessor | |
CN101458652B (en) | Embedded on-line emulation debugging system for microcontroller | |
CN108549591A (en) | A kind of black box device and its implementation of embedded system | |
CN101339581A (en) | Embedded system on-line debugging emulation method based on communication interruption | |
CN101975937B (en) | Smart card simulator device and using method thereof | |
CN101751323A (en) | Microprocessor chip emulator and breakpoint setting method | |
CN100511179C (en) | Enhancement type microprocessor piece on-chip dynamic state tracking method with special function register breakpoints | |
CN106484585A (en) | Contact type intelligent card chip emulator | |
CN103207824B (en) | Not by the emulator of the interference that resets under monitoring mode | |
CN106528414B (en) | Processor chips emulator | |
CN201993747U (en) | Non-contact intelligent card emulator | |
CN101329648B (en) | Contact smart card emulator capable of debugging ATR | |
CN106484584A (en) | Processor chips emulator | |
CN105487969B (en) | Intelligent card emluator | |
CN101963936B (en) | Method for storing working parameter state by DSP (Digital Signal Processor) equipment through CF (Compact Flash) memory card | |
CN106407064B (en) | Double interface intelligent card chip emulator | |
CN207504888U (en) | Multichannel vehicle-mounted CAN Note data analyzers | |
CN203117963U (en) | Debugging system and device for providing graphical pin interface | |
CN208384556U (en) | emulator | |
CN203133823U (en) | Embedded type online simulation device | |
CN101923631B (en) | CPLD-based low-frequency ID card real-time simulator | |
CN207281748U (en) | A kind of processor chips emulator | |
CN105573812A (en) | Simulation system | |
CN101968764A (en) | Emulator with breakpoint function | |
CN205845211U (en) | A kind of multi-functional public transport card fills shifting money POS |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for 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: 20170308 |