Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Emulator for protecting chip firmware program and method thereof

A firmware program and chip protection technology, which is applied in the field of emulators to protect chip firmware programs, can solve problems such as inconvenient design implementation and maintenance, incomplete function settings, and uncontrollable register operation sequence.

Active Publication Date: 2015-06-03
BEIJING CEC HUADA ELECTRONIC DESIGN CO LTD
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] For smart card chip emulators, the usual method is to solidify the function settings in the emulator hardware. When the chip updates the function settings, the emulator hardware needs to be redesigned to modify the content of the solidified settings. It is inconvenient to design, implement and maintain. The main problem is There are many differences between this kind of emulator and the real chip, the function settings may be incomplete, the sequence of register operations cannot be controlled, and the boot time of the user program is inconsistent, etc. There is a risk that the user program will run wrong on the chip after the emulator is debugged.
[0004] Another emulator implementation method is to configure the emulator function through the firmware program, and the emulator control module protects the read, write and debug operations of the chip firmware program. This method makes the software design complicated and difficult to upgrade and maintain.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Emulator for protecting chip firmware program and method thereof
  • Emulator for protecting chip firmware program and method thereof
  • Emulator for protecting chip firmware program and method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The emulator of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0022] Such as figure 1 As shown, emulator 1 includes emulator control module 2 and emulator hardware 3, and emulator hardware 3 includes chip function debugging module 4, soft reset stop module 5 and chip function module 8, wherein soft reset stop module 5 is composed of register 6 and The stop signal generating module 7 is composed.

[0023] The emulator control module 2 is connected to the chip function debugging module 4 , and the chip function debugging module 4 is connected to the register 6 and the chip function module 8 . The emulator control module 2 realizes the read and write access of the register 6 through the function debugging module 4 , generates the soft reset stop enabling signal 9 , and realizes the debugging operation on the chip function module 8 through the function debugging module 4 .

[0024] The stop signal generating modul...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention introduces an emulator for protecting a chip firmware program and a method thereof and relates to the technical field of chip simulation. The emulator comprises an emulator control module and emulator hardware. The emulator hardware comprises a chip function debugging module, a register, a signal generation stopping module and a chip function module. The register is arranged on the emulator control module through the chip function debugging module. The CPU stops or runs after the control chip function module generates soft resetting. The method for protecting the chip firmware program includes that the emulator control module start the soft resetting stopping function of the emulator hardware, operates a soft resetting command in the chip firmware program, and automatically stops at the head address of the user program area, the chip firmware program on the user debugging interface cannot be visited at the moment, and the aim of protection is achieved. The emulator has the function of automatically switching to the user program area and protecting the chip firmware program, has the advantages of being simple in design and convenient to use, and provides a code protection scheme for the chip emulator with the safety requirement.

Description

technical field [0001] The invention relates to a chip emulator, in particular to an emulator and method for protecting chip firmware programs. Background technique [0002] There will be a chip firmware program in the smart card chip, and the basic function setting and security functions can be realized by executing the program. This program is developed by the chip manufacturer and is protected in the chip, which cannot be accessed through user programs. [0003] For smart card chip emulators, the usual method is to solidify the function settings in the emulator hardware. When the chip updates the function settings, the emulator hardware needs to be redesigned to modify the content of the solidified settings. It is inconvenient to design, implement and maintain. The main problem is There are many differences between this kind of emulator and the real chip, the function settings may be incomplete, the sequence of register operations cannot be controlled, and the boot time ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F21/51G06F21/52G06F11/36
Inventor 张洪波陈峰
Owner BEIJING CEC HUADA ELECTRONIC DESIGN CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products