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

Emulator and method for protecting chip firmware program

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 difficult upgrades and maintenance, inconvenient design implementation and maintenance, inconsistent user program boot time, etc.

Active Publication Date: 2017-11-03
BEIJING CEC HUADA ELECTRONIC DESIGN CO LTD
View PDF4 Cites 0 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 and method for protecting chip firmware program
  • Emulator and method for protecting chip firmware program
  • Emulator and method for protecting chip firmware program

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 and method for protecting chip firmware programs, and relates to the technical field of chip emulation. The emulator includes an emulator control module and emulator hardware, and the emulator hardware includes a chip function debugging module, a register, a stop signal generating module and a chip function module. The emulator control module sets registers through the chip function debugging module, and controls the CPU to stop or run after the chip function module generates a soft reset. The method of protecting the chip firmware program: the emulator control module turns on the soft reset stop function of the emulator hardware, and after running the soft reset command in the chip firmware program, it automatically stops at the first address of the user program area. At this time, the chip firmware program cannot enter the user debugging interface. Access to achieve the purpose of protection. The emulator of the invention realizes the function of automatically switching to the user program area and protecting the chip firmware program, has the characteristics of simple design and convenient use, and provides a code protection scheme for the design of the chip emulator with safety requirements.

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 Patents(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