CN101751324B - Non-contact type intelligent card simulator and a working mode switching method - Google Patents

Non-contact type intelligent card simulator and a working mode switching method Download PDF

Info

Publication number
CN101751324B
CN101751324B CN2008100440330A CN200810044033A CN101751324B CN 101751324 B CN101751324 B CN 101751324B CN 2008100440330 A CN2008100440330 A CN 2008100440330A CN 200810044033 A CN200810044033 A CN 200810044033A CN 101751324 B CN101751324 B CN 101751324B
Authority
CN
China
Prior art keywords
mode
emulation chip
management module
simulation
simulation management
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
Application number
CN2008100440330A
Other languages
Chinese (zh)
Other versions
CN101751324A (en
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.)
Shanghai Huahong Integrated Circuit Co Ltd
Original Assignee
Shanghai Huahong Integrated Circuit Co Ltd
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 Shanghai Huahong Integrated Circuit Co Ltd filed Critical Shanghai Huahong Integrated Circuit Co Ltd
Priority to CN2008100440330A priority Critical patent/CN101751324B/en
Publication of CN101751324A publication Critical patent/CN101751324A/en
Application granted granted Critical
Publication of CN101751324B publication Critical patent/CN101751324B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The present invention discloses a non-contact type intelligent card simulator, which comprises a simulation chip, a simulation management module and a procedure memorizer. A management interface is arranged between the simulation management module and the procedure memorizer, and the simulation management module can insert a program statement at any position of the procedure memorizer with the management interface. A working mode signal and a control signal are arranged between the simulation chip and the simulation management module. The simulation chip can inform the current working mode to the simulation management module through the working mode signal. The simulation management module can force the simulation chip to enter into a processor working mode from any working modes through the control signal. The present invention also discloses a working mode switching method. The non-contact type intelligent card simulator provided by the present invention can lead the simulation chip to be switched back to a monitoring mode under the logic mode as required by users, thereby being convenient for using the simulator when users adjust the procedure, and good for accelerating the development speed of the procedure.

Description

Non-contact type intelligent card simulator and Working mode switching method
Technical field
The present invention relates to a kind of non-contact type intelligent card simulator.The invention still further relates to a kind of non-contact type intelligent card simulator and carry out working mode switching method.
Background technology
The user program that has the user to develop in the contact type intelligent card, in the writing and debug of user program, employed instrument generally is a non-contact type intelligent card simulator.Use in the emulator to comprise the every function simulating chip of product chips, be used for the work behavior of analog equipment card.The operating characteristic of contact type intelligent card is to be operated in the logical schema that meets the ISO14443-3 agreement earlier, and contact type intelligent card this moment executive routine is not only ask logical orders such as card, choosing card by the response of the logic module in the contact type intelligent card.After receiving special order, contact type intelligent card can withdraw from logical schema and enter the processor mode that meets the ISO14443-4 agreement.After entering processor mode, contact type intelligent card begins from 0 address execution user program.
Use emulation chip substitute products chip in the existing non-contact type intelligent card simulator, except the analog equipment chip operation logical schema or processor mode, also need to be operated in the distinctive monitoring mode of emulator, revise code so that the user stops the work of emulation chip, and observe, revise emulation chip parameter etc.Common emulation chip does not have logical schema, and this emulation chip always can executive routine, the processor mode when just having only the monitoring mode when carrying out watchdog routine and carrying out user program.Existing emulator switches to monitoring mode from processor mode, stopping to carry out user program generally all is to force to insert jump instruction before next bar user program statement by emulator, make emulation chip no longer continue to carry out user program, then carry out watchdog routine, enter monitoring mode.But, contact type intelligent card is executive routine not under logical schema, if adopt existing non-contact type intelligent card simulator, quit work in the time of just can't making emulation chip be operated in logical schema and switch to monitoring mode by the mode of inserting jump instruction; Must make emulation chip enter processor mode earlier, could switch to monitoring mode again.This is for the use inconvenience very of reality.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of non-contact type intelligent card simulator, even emulation chip is operated in logical schema, also can switch back monitoring mode when the user needs; For this reason, invention also will provide a kind of and utilizes described non-contact type intelligent card simulator to carry out working mode switching method.
For solving the problems of the technologies described above, non-contact type intelligent card simulator of the present invention comprises emulation chip, simulation management module and program storage; The data/address bus that standard is arranged between program storage and emulation chip, emulation chip can be by the program statement in this bus executive memory; User program and watchdog routine have been deposited in the program storage; Emulation chip is the user program in the executive memory under processor mode, the watchdog routine under monitoring mode in the executive memory, the program in the executive memory not under logical schema; A management interface is arranged between simulation management module and the program storage, and by described management interface, simulation management module can be inserted program statement in the optional position of program storage; A mode of operation signal and a control signal are arranged between emulation chip and simulation management module; Emulation chip can be informed simulation management module by the mode of operation signal mode of operation that it is current; Simulation management module can force emulation chip to enter processor operating mode from any mode of operation by control signal.
Of the present inventionly utilize described non-contact type intelligent card simulator to carry out working mode switching method to be, when simulation management module finds that customer requirements switches back monitoring mode, then emulation chip is informed its present located mode of operation by the mode of operation signal to simulation management module
If emulation chip is operated in processor mode, simulation management module is inserted jump instruction by management interface before next bar user program statement that emulation chip will be carried out, make emulation chip no longer continue to carry out user program, then carry out watchdog routine, enter monitoring mode;
If emulation chip is operated in logical schema, simulation management module forces emulation chip to enter processor mode by logical schema by control signal, and emulation chip will begin execution from " 0 " address of the user program of program storage; Simulation management module is inserted jump instruction by management interface at the place, " 0 " address of the user program of program storage, point to the watchdog routine reference position in the program storage, carry out jump instruction immediately after making emulation chip enter processor mode, switch to monitoring mode, begin to carry out watchdog routine.
Owing to adopt non-contact type intelligent card simulator of the present invention, even emulation chip is operated in logical schema, also can be when the user need, gain monitoring mode in user's control incision, 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
The present invention is further detailed explanation below in conjunction with the drawings and specific embodiments:
Accompanying drawing is a non-contact type intelligent card simulator structural representation of the present invention.
Embodiment
As shown in the figure, non-contact type intelligent card simulator 1 of the present invention comprises emulation chip 2, simulation management module 4 and program storage 3.2 of program storage 3 and emulation chips have the data/address bus 6 of standard, and emulation chip 2 can be by the program statement in these bus 6 executive memory 3.In the program storage 3 respectively at two ends different address areas deposited user program and watchdog routine.Emulation chip 2 is the user program in the executive memory 3 under processor mode, the watchdog routine under monitoring mode in the executive memory 3, the program in the executive memory 3 not under logical schema.A management interface 5 is arranged between simulation management module 4 and the program storage 3, and by described management interface 5, simulation management module 4 can be inserted program statement in the optional position of program storage 3.A mode of operation signal 7 and a control signal 8 are arranged between emulation chip 2 and the simulation management module 4.Emulation chip 2 is informed simulation management module 4 by mode of operation signal 7 mode of operation that it is current.Simulation management module 4 can force emulation chip 2 to enter processor operating mode from any mode of operation by control signal 8.
Be specific embodiment below, can be illustrated more clearly in the present invention.
When simulation management module 4 finds that customer requirements switches back monitoring mode, if emulation chip 2 is operated in processor mode, emulation chip 2 is informed the simulation management module 4 current logical schemas that are not in by mode of operation signal 7, the user program of emulation chip 2 in executive memory 3, then can be the same with existing emulator, simulation management module 4 is inserted jump instruction by management interface 5 before next bar user program statement that emulation chip 2 will be carried out, make emulation chip 2 no longer continue to carry out user program, then carry out watchdog routine, enter monitoring mode.If emulation chip 2 is operated in logical schema, emulation chip 2 is informed the simulation management module 4 current logical schemas that are in by mode of operation signal 7, and emulation chip 2 does not have any program in can not executive memory 3.Simulation management module 4 enters processor operating mode by control signal Final 8 system emulation chip 2 from the logic working pattern, and emulation chip 2 will begin execution from 0 address of the user program of program storage 3.Simultaneously, simulation management module 4 is inserted jump instruction by management interface 5 at the place, 0 address of the user program of program storage 3, make emulation chip 2 enter behind the processor mode executive address skip operation immediately, point to the watchdog routine reference position in the program storage 3, begin to carry out watchdog routine, emulation chip 2 has just switched to monitoring mode from logical schema like this.
More than by embodiment the present invention is had been described in detail, for a person skilled in the art, under the situation that does not break away from the principle of the invention, also can make some distortion and improvement, these also should be considered as belonging to protection scope of the present invention.

Claims (3)

1. non-contact type intelligent card simulator, comprise: emulation chip, by the program storage that data/address bus is connected with this emulation chip, the simulation management module that is connected with emulation chip, described program storage is connected with simulation management module by management interface; It is characterized in that:
Described emulation chip can be informed simulation management module by the mode of operation signal mode of operation that it is current;
Described simulation management module can be inserted program statement in the optional position of program storage; And can force emulation chip to enter processor operating mode by control signal from any mode of operation.
2. non-contact type intelligent card simulator as claimed in claim 1 is characterized in that: deposit user program and watchdog routine in the described program storage, emulation chip is by the program statement in the data/address bus executive memory; Emulation chip is the user program in the executive memory under processor mode, the watchdog routine under monitoring mode in the executive memory, the program in the executive memory not under logical schema.
3. one kind is utilized claim 1 or 2 described non-contact type intelligent card simulators to carry out working mode switching method, it is characterized in that: when simulation management module found that customer requirements switches back monitoring mode, then emulation chip was informed its present located mode of operation by the mode of operation signal to simulation management module;
If emulation chip is operated in processor mode, simulation management module is inserted jump instruction by management interface before next bar user program statement that emulation chip will be carried out, make emulation chip no longer continue to carry out user program, then carry out watchdog routine, enter monitoring mode;
If emulation chip is operated in logical schema, simulation management module forces emulation chip to enter processor mode by logical schema by control signal, and emulation chip will begin execution from " 0 " address of the user program of program storage; Simulation management module is inserted jump instruction by management interface at the place, " 0 " address of the user program of program storage, point to the watchdog routine reference position in the program storage, carry out jump instruction immediately after making emulation chip enter processor mode, switch to monitoring mode, begin to carry out watchdog routine.
CN2008100440330A 2008-11-28 2008-11-28 Non-contact type intelligent card simulator and a working mode switching method Expired - Fee Related CN101751324B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100440330A CN101751324B (en) 2008-11-28 2008-11-28 Non-contact type intelligent card simulator and a working mode switching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100440330A CN101751324B (en) 2008-11-28 2008-11-28 Non-contact type intelligent card simulator and a working mode switching method

Publications (2)

Publication Number Publication Date
CN101751324A CN101751324A (en) 2010-06-23
CN101751324B true CN101751324B (en) 2011-09-21

Family

ID=42478331

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100440330A Expired - Fee Related CN101751324B (en) 2008-11-28 2008-11-28 Non-contact type intelligent card simulator and a working mode switching method

Country Status (1)

Country Link
CN (1) CN101751324B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102467444A (en) * 2010-11-11 2012-05-23 上海华虹集成电路有限责任公司 Simulation debugging system for special function register
CN102789386A (en) * 2011-05-20 2012-11-21 上海华虹集成电路有限责任公司 Method for expanding addressing capability of 8051 serial singlechip
CN110059425B (en) * 2019-04-24 2023-04-18 上海磐启微电子有限公司 EDA (electronic design automation) simulation technology of SD (secure digital) card file system based on SD card mirror image file

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6832184B1 (en) * 2000-03-02 2004-12-14 International Business Machines Corporation Intelligent work station simulation—generalized LAN frame generation simulation structure
CN101131666A (en) * 2006-08-25 2008-02-27 上海华虹集成电路有限责任公司 Contact smart card simulation card

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6832184B1 (en) * 2000-03-02 2004-12-14 International Business Machines Corporation Intelligent work station simulation—generalized LAN frame generation simulation structure
CN101131666A (en) * 2006-08-25 2008-02-27 上海华虹集成电路有限责任公司 Contact smart card simulation card

Also Published As

Publication number Publication date
CN101751324A (en) 2010-06-23

Similar Documents

Publication Publication Date Title
CN108038294B (en) UVM environment building method and system
CN102967815A (en) Chip testing method, automated testing equipment and system
CN100359486C (en) Method and apparatus for debugging internal core state programm of operation system
CN101751324B (en) Non-contact type intelligent card simulator and a working mode switching method
CN105468548A (en) Serial peripheral interface
EP1220099A3 (en) Debugger system, method of extending debug functions of a debugger system and debugger program product
CN102467446A (en) Processor chip emulator capable of setting program pointer value
CN201867793U (en) Debugging system of basic input/output system
CN108965274A (en) The analysis method and device of DBC file
CN101751323A (en) Microprocessor chip emulator and breakpoint setting method
CN103530166B (en) Verification platform and verification method for multi-channel chip based on virtual RAM
CN101968759A (en) Processor chip simulator with break-point function
CN103218219A (en) Compact function trace
CN102426548A (en) Debugging method, debugger and debugging system for embedded system
CN105205019B (en) NV parameter reading and writing system and methods based on high-pass platform mobile phone
CN110244885A (en) Input method, device, equipment and storage medium
CN101329650B (en) Smart card emulator
US8170696B2 (en) Process control simulator and process control simulating method
CN112380066A (en) Server maintenance and debugging device based on domestic platform and server
CN102193860A (en) Microcontroller online debugging circuit and method as well as microcontroller
CN101354676A (en) Method for debugging embedded type program
CN101968764B (en) Emulator with breakpoint function
CN100530135C (en) General smart card simulator
CN202453435U (en) Debug control device, debug execution device and debug system
CN109683865A (en) EMU vehicle-mounted control software generation system and method

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: 20110921

Termination date: 20191128

CF01 Termination of patent right due to non-payment of annual fee