CN105487969B - Intelligent card emluator - Google Patents
Intelligent card emluator Download PDFInfo
- Publication number
- CN105487969B CN105487969B CN201410528007.0A CN201410528007A CN105487969B CN 105487969 B CN105487969 B CN 105487969B CN 201410528007 A CN201410528007 A CN 201410528007A CN 105487969 B CN105487969 B CN 105487969B
- Authority
- CN
- China
- Prior art keywords
- sram memory
- chip
- signal control
- intelligent card
- xram
- 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
- Power Sources (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of intelligent card emluator, including emulation chip, management module, SRAM memory, power modules;The emulation chip is written and read operation by normal data/address bus to SRAM memory;When cold reset occurs, the management module enters or exits reset state by controlling signal control emulation chip, stops or restore to power to SRAM memory by controlling signal control power supply module;XRAM in SRAM memory equivalent simulation chip.The present invention can equivalent implementation cold reset, ensure that intelligent card emluator allomeric function, performance are consistent with actual chips.
Description
Technical field
The present invention relates to emulator fields, more particularly to a kind of intelligent card emluator.
Background technology
The user program for having User Exploitation in processor chips, in the writing and debug of user program, used work
Tool is usually processor chips emulator.Using the emulation chip for including product treatment device chip various functions in emulator, use
In the work behavior of analog equipment chip processor, emulation chip with emulator other component (deposit by the program of storage user program
Reservoir, the data storage for storing data and the Integrated Development Environment etc. on user computer) coordinate and realizes the imitative of user program
True operation and every debugging function.
Generally use SRAM (Static Random Access Memory, static RAM) in emulator
Carry out in equivalent substitution product chips to be used as XRAM (the on-chip expanded Random Access of data storage
Memory, piece is interior to extend static RAM), all it is equivalent in functional performance in write-in, reading data.
It is to obtain power supply, i.e. contact intelligence from card reader during intelligent card chip coordinates card reader use
Card obtains power supply from the energization pins of contact card reader, and contact type intelligent card is from the carrier wave that contactless card reader is sent out
Obtain power supply, the not no power supply of oneself of intelligent card chip itself.In practical applications, card reader can pass through switch contact formula
Power supply or contactless power supply carrier wave re-power to enable intelligent card chip carry out cold reset after intelligent card power failure
It starts to work.Since cold reset is that chip re-powers, therefore the XRAM in chip is as common XRAM, the data meeting before power down
It loses, not expected random value can be become by re-powering the data in rear XRAM all.On intelligent card emluator, card reader hair
After playing cold reset, an electrification reset process is equivalent in intelligent card emluator, program execution pointer, register value etc. are all
Electrification reset value is may return to, this is consistent with actual chips state.But since card reader can not provide enough work(
Consumption, intelligent card emluator all powered using oneself independent current source, due to ungenuine power down and re-powers process in this way,
But primary reset has been done, the XRAM contents in intelligent card emluator will not change, before still initiating power down with card reader
Data it is the same, the function that this has been resulted on emulator with actual chips is inconsistent, influence personal code work exploitation use.Such as
Fruit by simulator components card reader initiate power down after, all data modifications in the regions XRAM in emulator at random value, although
Can functionally accomplish it is consistent with actual chips, but since XRAM capacity is increasing, this modification process take caused by
Emulator is very important and increasing with chip differences, so this method and undesirable.
Invention content
The technical problem to be solved in the present invention is to provide a kind of intelligent card emluator, can equivalent implementation cold reset, ensure
Intelligent card emluator allomeric function, performance are consistent with actual chips.
In order to solve the above technical problems, the intelligent card emluator of the equivalent cold reset of the present invention, including emulation chip, management
Module, SRAM memory, power module;XRAM in SRAM memory equivalent simulation chip;
The emulation chip is written and read operation by normal data/address bus to SRAM memory, in analog chip
Processor operates the function of XRAM;When cold reset occurs, in card reader cut-out contact power supply or contactless carrier wave is closed
Afterwards, management module enters reset state by controlling signal control emulation chip, passes through and controls the stopping of signal control power supply module
It powers to SRAM memory;Card reader resumes contacts formula power supply or after opening contactless carrier wave, and management module, which passes through, controls letter
Number control emulation chip exit reset state, by control signal control power supply module recovery to SRAM memory power.
The intelligent card emluator of the present invention can equivalent implementation cold reset, the data in emulator XRAM before cold reset can lose
It loses, the data after cold reset in XRAM can all become not expected random value, be functionally consistent with actual chips, and property
Can on it is also almost the same, ensure that the consistency of intelligent card emluator allomeric function, performance and actual chips;Facilitate user's journey
Exploitation, debugging and the test of sequence.
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 the structural schematic diagram of the intelligent card emluator.
Specific implementation mode
As shown, the intelligent card emluator 1, including emulation chip 2, management module 3, SRAM memory 4, power supply mould
Block 5.The SRAM memory 4 is connect by normal data/address bus 6 with emulation chip 2, in equivalent simulation chip
XRAM.Management module 3 respectively controls emulation chip 2 and power module 5 by controlling signal 7.Power module 5 passes through confession
Electric wire 8 is connect with SRAM memory 4, is powered to SRAM memory 4.SRAM memory has as XRAM in power down again
After electricity, in data can all become the characteristic of not expected random value.
Emulation chip 2 is written and read operation by normal data/address bus 6 to SRAM memory, locates in analog chip
Manage the function of device operation XRAM.When cold reset occurs, after card reader cut-out contact power supply or closing contactless carrier wave, pipe
It manages module 3 and controls emulation chip 2 into reset state by controlling signal 7, power module 5 is controlled by control signal 7 and is stopped
It powers to SRAM memory;Card reader resumes contacts formula power supply or after opening contactless carrier wave, and management module 3, which passes through, controls letter
Numbers 7 control emulation chips 2 exit reset state, and controlling power module 5 by controlling signal 7 restores to power to SRAM memory 4.
In this way, after cold reset, in intelligent card emluator 1 for user program, program execution pointer, register value etc.
It is returned to electrification reset value, the data in XRAM have also been changed to random value, are functionally consistent with actual chips state.
Meanwhile during cold reset, power module 5 has only done the once stopping to SRAM memory 4 and the action that restores electricity, and takes
With actual chips cold reset time consistency, also ensure that intelligent card emluator 1 is consistent with actual chips in cold reset performance
Property.
The foregoing is merely the specific implementation mode and embodiment of the present invention, the scope of the present invention is not limited thereto.
Claims (1)
1. a kind of intelligent card emluator, including:Emulation chip, management module, SRAM memory, power module, the emulation core
Piece is written and read operation by normal data/address bus to SRAM memory;It is characterized in that:The SRAM memory is equivalent
XRAM in analog chip, the function of the emulation chip analog chip inner treater operation XRAM;When cold reset occurs,
After card reader cut-out contact powers or closes contactless carrier wave, management module, which passes through, controls signal control emulation chip entrance
Reset state stops powering to SRAM memory by controlling signal control power supply module;Card reader resume contacts formula power supply or
After opening contactless carrier wave, management module exits reset state by controlling signal control emulation chip, passes through and controls signal
Control power module restores to power to SRAM memory.
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 CN105487969A (en) | 2016-04-13 |
CN105487969B true 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) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107341107B (en) * | 2017-07-04 | 2022-04-29 | 飞天诚信科技股份有限公司 | Automatic testing method and testing host for embedded development |
CN107544909B (en) * | 2017-09-26 | 2024-05-17 | 上海市信息网络有限公司 | Processor chip simulator |
Citations (3)
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5664347B2 (en) * | 2011-03-04 | 2015-02-04 | ソニー株式会社 | Virtual memory system, virtual memory control method, and program |
-
2014
- 2014-10-09 CN CN201410528007.0A patent/CN105487969B/en active Active
Patent Citations (3)
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 |
Also Published As
Publication number | Publication date |
---|---|
CN105487969A (en) | 2016-04-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105242768B (en) | The Biodge device that the low-power consumption high speed ahb bus of clock control can be divided to access polylith SRAM | |
CN105487969B (en) | Intelligent card emluator | |
CN106249840A (en) | Power saving non-volatile microprocessor | |
CN105205019B (en) | NV parameter reading and writing system and methods based on high-pass platform mobile phone | |
CN110377528A (en) | Carry out method, memory storage and its controller and electronic device of power management | |
CN105808462A (en) | Simulated memory realized based on FPGA (Field Programmable Gate Array), realization method for simulated memory and computer | |
CN104461859A (en) | Emulator and method for supporting NVM soft breakpoint debugging | |
CN109117335A (en) | A kind of hard disk simulation hot plug test method, device, terminal and storage medium | |
CN115116511A (en) | Power consumption prediction method, device, equipment and storage medium | |
CN103793263B (en) | DMA transaction-level modeling method based on Power PC processor | |
CN106610862B (en) | Emulator supporting EEPROM power-down test | |
CN104035539B (en) | Indicate the critical battery status in mobile device | |
Armijos et al. | Monitoring of system memory usage embedded in FPGA | |
Lee et al. | An FPGA-based platform for non volatile memory emulation | |
CN107632950B (en) | Processor chip emulator | |
US20050192791A1 (en) | Method for emulating an integrated circuit and semiconductor chip for practicing the method | |
CN106610880B (en) | Processor chips emulator | |
CN105843641B (en) | A kind of terminal hot start method and device | |
CN108664399A (en) | Processor chips emulator and power down test method | |
CN100530135C (en) | General smart card simulator | |
CN107544909B (en) | Processor chip simulator | |
CN208384555U (en) | Processor chips emulator | |
CN204331709U (en) | Have both the simulator of external memory circuit and built-in memory circuit | |
CN103678751A (en) | Processor chip simulation debugging system | |
CN208834307U (en) | A kind of interference wave generates unit, disturbed test card reader and disturbed test 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 |