CN101968761B - Non-contact type intelligent card simulator - Google Patents
Non-contact type intelligent card simulator Download PDFInfo
- Publication number
- CN101968761B CN101968761B CN2009100576547A CN200910057654A CN101968761B CN 101968761 B CN101968761 B CN 101968761B CN 2009100576547 A CN2009100576547 A CN 2009100576547A CN 200910057654 A CN200910057654 A CN 200910057654A CN 101968761 B CN101968761 B CN 101968761B
- Authority
- CN
- China
- Prior art keywords
- reset signal
- signal
- module
- chip
- emulation
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Tests Of Electronic Circuits (AREA)
Abstract
The invention discloses a non-contact type intelligent card simulator comprising a simulator antenna, a carrier wave demodulating module, a signal regulating module and a simulated chip, wherein the signal regulating module is used for regulating a received reset signal; and the signal regulating module outputs an ineffective reset signal to the simulated chip when the received reset signal is unchanged no matter an effective reset signal or the ineffective reset signal is received and outputs a pulse-type effective reset signal to the simulated chip when the received reset signal is changed no matter the received reset signal is changed from the effective reset signal to the ineffective reset signal or changed from the ineffective reset signal to the effective reset signal. The invention ensures that the on-contact type intelligent card simulated chip and a simulator manufactured according to standard debugging protocols, i.e. a JTAG (Joint Test Action Group) and the like, compete the functions of the downloading, the operation starting, and the like of user codes even if a non-contact type intelligent card reader is not used under the precondition of ensuring that the functions are consistent to the functions of a product chip, thereby being convenient for users to use.
Description
Technical field
The present invention relates to IC chip emulator field, particularly relate to a kind of non-contact type intelligent card simulator.
Background technology
The user program that has the user to develop in the contact type intelligent card (product card), in the writing and debug of user program, employed instrument generally is a non-contact type intelligent card simulator.Use in the non-contact type intelligent card simulator to comprise product chips (being contact type intelligent card chip) each item function simulating chip, be used for the work behavior of analog equipment card.Than product chips, except the chip functions module of analog chip function, also be useful on and realize artificial debugging function simulating module in the emulation chip.Emulation module in a lot of emulation chips can design according to a certain standard agreement, guarantees the versatility of emulation module part.For example, based on the processor chips of 32 ARM nuclears, the emulation module in its emulation chip all is to make according to this international standard test protocol of JTAG (Joint Test Action Group, combined testing action group).Contact type intelligent card chip also has these standard agreements of many employings to come the design and simulation chip, and for example its emulation chip of contact type intelligent card chip based on ARM nuclear basically all is to adopt the JTAG agreement to realize.
But these standard debug agreements belong to general debugging agreement, are not directed against the chip of a certain concrete application.Emulation module and chip functions module in the emulation chip of realizing according to these agreements all can not be worked when the external reset signal of chip is effective; And the idle words of emulation module, the debugging software of PC (personal computer, personal computer) machine just can't be communicated by letter with the emulation module in the emulation chip, can not realize the download of user program and start operation etc. through emulation module.The emulation chip that for example adopts the JTAG agreement to realize; When the chip exterior reset signal is effective; JTAG emulation module in the emulation chip can not be worked, and the debugging software of PC just can't be accomplished user program through the scan chain in the emulation chip JTAG emulation module and download, starts functions such as user program operation.
In existing non-contact type intelligent card simulator; Whether the reset signal of emulation chip is and has the carrier signal from contactless CR antenna to be associated; Just, when the antenna of emulator received the carrier signal that the CR antenna sends, the reset signal pin of emulation chip was received an invalid reset signal; The chip functions module and the emulation module of emulation chip can be worked, can carry out user program download, start operation such as operation; When the antenna of emulator does not receive the carrier signal that the CR antenna sends; The reset signal pin of emulation chip is received an effective reset signal; The chip functions module and the emulation module of emulation chip all are in reset mode, can not work, can't carry out user program download, start operation such as operation; If carry out these operations this moment on the PC debugging software, software will report an error.
Like this, when using this type of non-contact type intelligent card simulator, in download, when starting user program operation; Must guarantee to have contactless CR, the CR antenna has sent carrier signal, and the antenna of emulator must place in the effective field intensity scope of CR antenna; Otherwise operation can't downloaded and start to personal code work just; The debugging software of PC also can report an error simultaneously, makes troubles for debugging work, the efficient of influence debugging.
Summary of the invention
The technical matters that the present invention will solve provides a kind of non-contact type intelligent card simulator; Make non-contact smart card simulation chip and the emulator made according to standard debug agreements such as JTAG; Guaranteeing under the prerequisite consistent with the product chips function; Even do not use non-contact intelligent card reader, also can accomplish the download of personal code work and start function such as operation, with user-friendly.
For solving the problems of the technologies described above; Non-contact type intelligent card simulator of the present invention; Comprise: emulator antenna, the carrier wave demodulation module that is connected with the emulator antenna, the signal adjusting module that is connected with the carrier wave demodulation module; The emulation chip that is connected with signal adjusting module, this emulation chip comprises chip functions module and emulation module;
Said signal adjusting module is adjusted the reset signal that receives; When the reset signal that receives did not change, what no matter receive was effective reset signal or invalid reset signal, all exports invalid reset signal to emulation chip; When the reset signal that receives changed, the reset signal that no matter receives was to change to invalid reset signal from effective reset signal, still changed to effective reset signal from invalid reset signal, all exported the effective reset signal of an impulse type to emulation chip.
The present invention is a kind of non-contact type intelligent card simulator that not influenced by external reset signal when not beginning to carry out user program.Even adopt standard debug agreement such as JTAG to make emulation chip, when not using non-contact intelligent card reader, also can accomplish the download of personal code work and start function such as operation; The debugging software of PC end can not made mistakes, and can guarantee consistent with the product chips function; To the use of emulator, help the development progress of faster procedure when having made things convenient for user's debugged program.
Description of drawings
Below in conjunction with accompanying drawing and embodiment the present invention is done further detailed explanation:
Fig. 1 is the structure and application synoptic diagram of non-contact type intelligent card simulator of the present invention;
Carrier signal, signal adjusting module received and the reset signal waveform of output when Fig. 2 was emulator shown in Figure 1 work.
Embodiment
In the following description, suppose that all reset signal is that level "0" is represented effective reset signal, reset signal is that level"1" is represented invalid reset signal.
As shown in Figure 1, non-contact type intelligent card simulator 1 of the present invention comprises emulation chip 2, carrier wave demodulation module 6, signal adjusting module 5 and emulator antenna 7.Emulation chip 2 comprises chip functions module 3, the emulation module 4 of (the for example JTAG agreement) design of adopting certain standard debug agreement.
Emulator antenna 7 is connected with carrier wave demodulation module 6, and emulator antenna 7 receives the carrier signal 10 that the antenna 8 from contactless CR 9 sends through the radio-frequency channel, and sends a carrier signal 10 that receives to carrier wave demodulation module 6.Carrier wave demodulation module 6 is connected with signal adjusting module 5.After the carrier signal 10 that carrier wave demodulation module 6 demodulate reception arrive; Transmit the reset signal 11 of level"1" when carrier signal is arranged and give signal adjusting module 5, transmit the reset signal 11 of level "0" during carrier-less signal and give signal adjusting module 5 (combining shown in Figure 2).Signal adjusting module 5 is connected with the reset pin of emulation chip 2.5 pairs of reset signals that receive 11 of signal adjusting module are adjusted; When the reset signal that receives 11 does not change; When being reset signal 11 maintenances " 0 " or level"1" state, all export second reset signal 12 (combining shown in Figure 2) of level"1"s to emulation chip 2; The reset signal 11 that receives changes; When promptly becoming level"1" or becoming level "0" by level"1" by level "0"; All to level "0" second reset signal 12 of an impulse type of emulation chip 2 outputs, the width of this level "0" second reset signal 12 should be able to make emulation chip 2 reset.
When emulation chip 2 received second reset signal 12 of level"1", emulation module 4 was all in running order with chip functions module 3; When emulation chip 2 received level "0" second reset signal 12, emulation module 4 all was in reset mode with chip functions module 3, all can not work.
If emulator antenna 7 receives carrier signal 10; Carrier wave demodulation module 6 can demodulate the reset signal 11 of level"1" and give signal adjusting module 5; Signal adjusting module 5 can be exported second reset signal 12 of level"1" to the reset pin of emulation chip 2; Emulation module 4 in the emulation chip 2 can both be worked with chip functions module 3, and the run user program can be downloaded, started to the debugging software of PC end.
If do not use contactless CR 9; Emulator antenna 7 does not receive carrier signal 10; Carrier wave demodulation module 6 can be exported the reset signal 11 of level "0" and give signal adjusting module 5; Signal adjusting module 5 still can be exported second reset signal 12 of level"1" to the reset pin of emulation chip 2, and the emulation module 4 in the emulation chip 2 can both be worked with chip functions module 3, and the run user program can be downloaded, started to the debugging software of PC end.
If bring into use contactless CR 9 debug user programs; Antenna 8 field strength range that emulator antenna 7 gets into contactless CR 9; Never carrier signal 10 becomes and receives carrier signal 10; Carrier wave demodulation module 6 can output be given signal adjusting module 5 from the reset signal 11 that level "0" jumps to level"1"; Signal adjusting module 5 can be exported level "0" second reset signal 12 of an impulse type to the reset pin of emulation chip 2, and the emulation module 4 in the emulation chip 2 restarts work after all can resetting with chip functions module 3, and chip functions module 3 can reset and bring into operation user program again from 0 address.This process is consistent with the product chips application process, in product chips is used, receive carrier signal after, the reset signal that product chips is received becomes " 1 " from " 0 ", product chips withdraws from reset mode, also carries out user program since place, 0 address.
If do not re-use contactless CR 9, the antenna 7 of emulator 1 withdraws from antenna 8 field strength range of contactless CR 9.Do not have carrier signal 10 from there being carrier signal to become, carrier wave demodulation module 6 can output be given signal adjusting module 5 from the reset signal 11 that level"1" jumps to level "0".Signal adjusting module 5 can be exported level "0" second reset signal 12 of an impulse type to the reset pin of emulation chip 2.Emulation module 4 in the emulation chip 2 restarts work after all can resetting with chip functions module 3; This moment is debug user programs no longer; Whether work after chip functions module 3 withdraws from and resets does not influence; And emulation module 4 withdraws from and can restart work after resetting, and can cooperate the debugging software of PC end to realize the download of user program and launch operation.The process that resets behind this state of deactivating is consistent with the product chips application process, in product chips is used, do not have carrier signal after, the reset signal that product chips is received becomes " 0 " from " 1 ", product chips and user program reset.
More than through embodiment the present invention has been carried out detailed explanation, but these are not to be construed as limiting the invention.Under the situation that does not break away from the principle of the invention, those skilled in the art also can make many distortion and improvement, and these also should be regarded as protection scope of the present invention.
Claims (1)
1. non-contact type intelligent card simulator; It is characterized in that; Comprise: emulator antenna, the carrier wave demodulation module that is connected with the emulator antenna, the signal adjusting module that is connected with the carrier wave demodulation module; The emulation chip that is connected with signal adjusting module, this emulation chip comprises chip functions module and emulation module;
Said signal adjusting module is adjusted the reset signal that receives; When the reset signal that receives did not change, what no matter receive was effective reset signal or invalid reset signal, all exports invalid reset signal to emulation chip; When the reset signal that receives changed, the reset signal that no matter receives was to change to invalid reset signal from effective reset signal, still changed to effective reset signal from invalid reset signal, all exported the effective reset signal of an impulse type to emulation chip;
Said emulator antenna receives the carrier signal from the antenna of contactless CR through the radio-frequency channel, and sends the carrier signal that receives to said carrier wave demodulation module; The carrier signal that said carrier wave demodulation module demodulate reception arrives transmits invalid reset signal and gives signal adjusting module when carrier signal is arranged, transmit effective reset signal during carrier-less signal and give signal adjusting module;
The reset pin of said emulation chip is connected with signal adjusting module, and when emulation chip received invalid reset signal, said emulation module and chip functions module were all in running order; When emulation chip received effective reset signal, said emulation module and chip functions module all were in reset mode, can not work.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009100576547A CN101968761B (en) | 2009-07-27 | 2009-07-27 | Non-contact type intelligent card simulator |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009100576547A CN101968761B (en) | 2009-07-27 | 2009-07-27 | Non-contact type intelligent card simulator |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101968761A CN101968761A (en) | 2011-02-09 |
CN101968761B true CN101968761B (en) | 2012-10-31 |
Family
ID=43547921
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009100576547A Expired - Fee Related CN101968761B (en) | 2009-07-27 | 2009-07-27 | Non-contact type intelligent card simulator |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101968761B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103118240A (en) * | 2011-11-17 | 2013-05-22 | 上海贝尔股份有限公司 | Method and device for monitoring reset signal of each module in a system |
CN103136078A (en) * | 2011-12-01 | 2013-06-05 | 上海华虹集成电路有限责任公司 | Multi-interface simulation test system based on C model |
CN105487967A (en) * | 2014-10-09 | 2016-04-13 | 上海华虹集成电路有限责任公司 | Non-contact intelligent card simulator |
CN106484585A (en) * | 2016-10-31 | 2017-03-08 | 上海华虹集成电路有限责任公司 | Contact type intelligent card chip emulator |
CN106484584A (en) * | 2016-10-31 | 2017-03-08 | 上海华虹集成电路有限责任公司 | Processor chips emulator |
-
2009
- 2009-07-27 CN CN2009100576547A patent/CN101968761B/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN101968761A (en) | 2011-02-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101968761B (en) | Non-contact type intelligent card simulator | |
CN101840368B (en) | JTAG (Joint Test Action Group) real-time on-chip debug method and system of multicore processor | |
RU2008129125A (en) | METHOD FOR DOWNLOADING THE HOST DEVICE FROM THE MMC / SD DEVICE, THE HOST DEVICE LOADING FROM THE MMC / SD DEVICE AND THE MMC / SD DEVICE FROM WHICH THE HOST DEVICE CAN BE DOWNLOADED | |
CN102214132B (en) | Method and device for debugging Loongson central processing unit (CPU), south bridge chip and north bridge chip | |
CN102662835A (en) | Program debugging method of embedded system and embedded system | |
MY138464A (en) | Communication interface for diagnostic circuits of an integrated circuit | |
CN101102566B (en) | A design method and debugging method for mobile phone JTAG debugging interface signals | |
CN102479333A (en) | Non-contact IC card instruction test system and method | |
CN100468350C (en) | Star-carried data processing system with on-line dynamic rescontruction | |
CN102567196A (en) | Simulation debugging method and device for processor | |
CN201993747U (en) | Non-contact intelligent card emulator | |
CN101968759A (en) | Processor chip simulator with break-point function | |
CN109582571B (en) | Online debugging method and device, debugging slave computer, debugging host computer and system | |
CN101968764B (en) | Emulator with breakpoint function | |
CN106406154B (en) | debugging system and control method thereof | |
CN101329648B (en) | Contact smart card emulator capable of debugging ATR | |
CN100465905C (en) | Non-contacting intelligent card emluator | |
ES2776445T3 (en) | Method to debug a PLC program | |
CN102662812B (en) | Performance testing system for PCI (peripheral Component Interconnect) bus-based single-way reception demodulator | |
CN101989222B (en) | Loongson simulator terminal | |
CN106774027A (en) | A kind of power network data intelligence processing system | |
CN106055382B (en) | A kind of emulator for supporting NVM power-down protection to test | |
CN105487967A (en) | Non-contact intelligent card simulator | |
CN106371995A (en) | Method for realizing rapid automated testing through MCU (Microprogrammed Control Unit) simulator | |
CN101968760B (en) | ARM core processor chip simulator |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20121031 Termination date: 20200727 |
|
CF01 | Termination of patent right due to non-payment of annual fee |