CN105487969A - Smart card simulator - Google Patents
Smart card simulator Download PDFInfo
- Publication number
- CN105487969A CN105487969A CN201410528007.0A CN201410528007A CN105487969A CN 105487969 A CN105487969 A CN 105487969A CN 201410528007 A CN201410528007 A CN 201410528007A CN 105487969 A CN105487969 A CN 105487969A
- Authority
- CN
- China
- Prior art keywords
- chip
- sram memory
- control signal
- xram
- 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.)
- Granted
Links
Landscapes
- Power Sources (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a smart card simulator, which comprises a simulation chip, a management module, a SRAM (Static Random Access Memory) memory and a power module, wherein the simulation module carries out a read-write operation on the SRAM memory through a standard data/ address bus; when cold reset happens, the management module controls the simulation module to enter or quit a reset state through a control signal, and controls the power module to stop or recover power supply to the SRAM memory through the control signal; and the SRAM memory equivalently simulates an XRAM (On-Chip Expanded RAM) in the chip. The smart card simulator can equivalently realize cold reset, and guarantees that the integral function and performance of the smart card simulator can be consistent with the integral function and performance of a practical chip.
Description
Technical field
The present invention relates to emulator field, particularly relate to a kind of intelligent card emluator.
Background technology
Have the user program of User Exploitation in processor chips, in the writing and debug of user program, the instrument used is generally processor chips emulator.The emulation chip comprising product treatment device chip various functions is used in emulator, for the work behavior of analog equipment chip processor, emulation chip and emulator miscellaneous part (deposit the program storage of user program, the data-carrier store of store data, and the Integrated Development Environment etc. on user computer) coordinate and realize the simulation run of user program and every debug function.
Usually SRAM (StaticRandomAccessMemory is adopted in emulator, static RAM) carry out the XRAM (on-chipexpandedRandomAccessMemory being used as data-carrier store in equivalent substitution product chips, expansion static RAM in sheet), when writing, reading data, functional performance is all equivalent.
Intelligent card chip coordinates in card reader use procedure, power supply is obtained from card reader, namely contact intelligent card obtains power supply from the energization pins of contact card reader, the carrier wave that contact type intelligent card sends from contactless card reader obtains power supply, and intelligent card chip itself does not have oneself power supply.In actual applications, card reader can pass through switch contact power supply or contactless power supply carrier wave, makes intelligent card chip carry out cold reset, namely re-powers after intelligent card power failure and start working.Because cold reset is that chip re-powers, therefore XRAM in chip is the same with common XRAM, and the data before power down can be lost, and the data re-powered in rear XRAM all can become not expected random value.On intelligent card emluator, after card reader initiates cold reset, in intelligent card emluator, be equivalent to an electrification reset process, program execution pointer, register value etc. can get back to electrification reset value, and this is consistent with actual chips state.But, because card reader cannot provide enough power consumptions, intelligent card emluator all uses oneself independent current source to power, like this owing to there is no genuine power down and re-powering process, but done and once reset, the XRAM content in intelligent card emluator can not change, still the same with the data that card reader is initiated before power down, this just causes on emulator inconsistent with the function of actual chips, affects the application of personal code work.If by simulator components after card reader initiates power down, the all data modifications in XRAM region in emulator are become random value, although functionally can accomplish consistent with actual chips, but because XRAM capacity is increasing, this modification process caused emulator consuming time and chip differences very important and increasing, so this method inadvisable.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of intelligent card emluator, equivalence can realize cold reset, ensures that intelligent card emluator allomeric function, performance are consistent with actual chips.
For solving the problems of the technologies described above, the intelligent card emluator of equivalent cold reset of the present invention, comprises emulation chip, administration module, SRAM memory, power module; XRAM in SRAM memory equivalent simulation chip;
Described emulation chip carries out read-write operation by normal data/address bus to SRAM memory, the function of analog chip inner treater operation XRAM; When there is cold reset, after card reader cut-out contact is powered or closed contactless carrier wave, administration module enters reset mode by control signal control imitation chip, controls power module stop powering to SRAM memory by control signal; After the card reader formula of resuming contacts is powered or opened contactless carrier wave, administration module exits reset mode by control signal control imitation chip, controls power module recover to power to SRAM memory by control signal.
Intelligent card emluator of the present invention equivalence can realize cold reset, data in emulator XRAM before cold reset can be lost, data after cold reset in XRAM all can become not expected random value, functionally be consistent with actual chips, and also basically identical in performance, ensure that the consistance of intelligent card emluator allomeric function, performance and actual chips; Facilitate the exploitation of user program, debugging and test.
Accompanying drawing explanation
Below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation:
Accompanying drawing is the structural representation of described intelligent card emluator.
Embodiment
As shown in the figure, described intelligent card emluator 1, comprises emulation chip 2, administration module 3, SRAM memory 4, power module 5.Described SRAM memory 4 is connected with emulation chip 2 by normal data/address bus 6, the XRAM in equivalent simulation chip.Administration module 3 is controlled emulation chip 2 and power module 5 respectively by control signal 7.Power module 5 is connected with SRAM memory 4 by supply lines 8, powers to SRAM memory 4.SRAM memory is the same with XRAM, and have after power down re-powers, the data in it all can become the characteristic of not expected random value.
Emulation chip 2 carries out read-write operation by normal data/address bus 6 pairs of SRAM memory, the function of analog chip inner treater operation XRAM.When there is cold reset, after card reader cut-out contact is powered or closed contactless carrier wave, administration module 3 enters reset mode by control signal 7 control imitation chip 2, controls power module 5 stop powering to SRAM memory by control signal 7; After the card reader formula of resuming contacts is powered or opened contactless carrier wave, administration module 3 exits reset mode by control signal 7 control imitation chip 2, controls power module 5 recover to power to SRAM memory 4 by control signal 7.
Like this, after cold reset, for user program in intelligent card emluator 1, program execution pointer, register value etc. have all got back to electrification reset value, and the data in XRAM have also changed over random value, are functionally consistent with actual chips state.Meanwhile, in cold reset process, power module 5 just does once to stopping and the action that restores electricity of SRAM memory 4, consuming time and actual chips cold reset time consistency, also ensure that intelligent card emluator 1 in cold reset performance with the consistance of actual chips.
The foregoing is only the specific embodiment of the present invention and embodiment, scope is not limited thereto.
Claims (1)
1. an intelligent card emluator, is characterized in that: comprise emulation chip, administration module, SRAM memory, power module; XRAM in SRAM memory equivalent simulation chip;
Described emulation chip carries out read-write operation by normal data/address bus to SRAM memory, the function of analog chip inner treater operation XRAM; When there is cold reset, after card reader cut-out contact is powered or closed contactless carrier wave, administration module enters reset mode by control signal control imitation chip, controls power module stop powering to SRAM memory by control signal; After the card reader formula of resuming contacts is powered or opened contactless carrier wave, administration module exits reset mode by control signal control imitation chip, controls power module recover to power to SRAM memory by control signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410528007.0A CN105487969B (en) | 2014-10-09 | 2014-10-09 | Intelligent card emluator |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410528007.0A CN105487969B (en) | 2014-10-09 | 2014-10-09 | Intelligent card emluator |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105487969A true CN105487969A (en) | 2016-04-13 |
CN105487969B CN105487969B (en) | 2018-08-14 |
Family
ID=55674961
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410528007.0A Active CN105487969B (en) | 2014-10-09 | 2014-10-09 | Intelligent card emluator |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105487969B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107341107A (en) * | 2017-07-04 | 2017-11-10 | 飞天诚信科技股份有限公司 | The automated testing method and test main frame of a kind of embedded development |
CN107544909A (en) * | 2017-09-26 | 2018-01-05 | 上海市信息网络有限公司 | A kind of processor chips emulator |
CN107544909B (en) * | 2017-09-26 | 2024-05-17 | 上海市信息网络有限公司 | Processor chip simulator |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2831248Y (en) * | 2005-06-08 | 2006-10-25 | 上海华虹集成电路有限责任公司 | Internal nonvolatile memory copying system of chip |
CN101329649A (en) * | 2007-06-20 | 2008-12-24 | 上海华虹集成电路有限责任公司 | Display apparatus of EEPROM in emulator |
CN101329647A (en) * | 2007-06-20 | 2008-12-24 | 上海华虹集成电路有限责任公司 | Emulator of emulation in-chip FLASH |
US20120226850A1 (en) * | 2011-03-04 | 2012-09-06 | Sony Corporation | Virtual memory system, virtual memory controlling method, and program |
-
2014
- 2014-10-09 CN CN201410528007.0A patent/CN105487969B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2831248Y (en) * | 2005-06-08 | 2006-10-25 | 上海华虹集成电路有限责任公司 | Internal nonvolatile memory copying system of chip |
CN101329649A (en) * | 2007-06-20 | 2008-12-24 | 上海华虹集成电路有限责任公司 | Display apparatus of EEPROM in emulator |
CN101329647A (en) * | 2007-06-20 | 2008-12-24 | 上海华虹集成电路有限责任公司 | Emulator of emulation in-chip FLASH |
US20120226850A1 (en) * | 2011-03-04 | 2012-09-06 | Sony Corporation | Virtual memory system, virtual memory controlling method, and program |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107341107A (en) * | 2017-07-04 | 2017-11-10 | 飞天诚信科技股份有限公司 | The automated testing method and test main frame of a kind of embedded development |
CN107341107B (en) * | 2017-07-04 | 2022-04-29 | 飞天诚信科技股份有限公司 | Automatic testing method and testing host for embedded development |
CN107544909A (en) * | 2017-09-26 | 2018-01-05 | 上海市信息网络有限公司 | A kind of processor chips emulator |
CN107544909B (en) * | 2017-09-26 | 2024-05-17 | 上海市信息网络有限公司 | Processor chip simulator |
Also Published As
Publication number | Publication date |
---|---|
CN105487969B (en) | 2018-08-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100422953C (en) | On-line debugging method for SoC system using HDL to expand serial port | |
CN104412224A (en) | Reinitalization of a processing system from volatile memory upon resuming from a low-power state | |
CN103425505B (en) | A kind of IC card electric energy meter online upgrading method and system | |
CN109117335A (en) | A kind of hard disk simulation hot plug test method, device, terminal and storage medium | |
CN102467446A (en) | Processor chip emulator capable of setting program pointer value | |
CN105654003B (en) | A kind of IC card detection method and device in place | |
CN106066453A (en) | String line debugging bridge | |
CN105205019B (en) | NV parameter reading and writing system and methods based on high-pass platform mobile phone | |
CN105487969A (en) | Smart card simulator | |
CN106610862B (en) | Emulator supporting EEPROM power-down test | |
CN100530135C (en) | General smart card simulator | |
CN204667684U (en) | A kind of teaching type ARM development board based on LM3S8962 chip | |
Lee et al. | An FPGA-based platform for non volatile memory emulation | |
CN105573924B (en) | Analogue system | |
CN208834307U (en) | A kind of interference wave generates unit, disturbed test card reader and disturbed test system | |
CN109101386A (en) | A kind of emulator for supporting ram test | |
CN104346207A (en) | Simulator | |
CN102567202A (en) | Double-interface intelligent card simulator based on field programmable gata array (FPGA) | |
CN208384555U (en) | Processor chips emulator | |
CN203504764U (en) | Wireless mobile shared terminal based on Wi-Fi | |
CN103049214B (en) | Magnetic disc array card and there is the disc array system of extended function | |
CN103678751A (en) | Processor chip simulation debugging system | |
CN105573812A (en) | Simulation system | |
CN112861458A (en) | Chip low-power consumption verification method | |
CN102411527B (en) | Detecting method for image-processing chip, developing plate and detecting system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |