Method for controlling space size of smart card FLASH

A technology of space size and control intelligence, applied in the direction of memory address/allocation/relocation, preventing unauthorized use of memory, etc., can solve the problems of increased workload and cost, inconvenience, promotion and use risks, etc., to improve flexibility , the effect of reducing costs

Active Publication Date: 2012-10-17
SHANGHAI HUAHONG INTEGRATED CIRCUIT
View PDF10 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If different FLASH spaces are divided in the design stage of the smart card chip, that is, the size of the FLASH space is controlled by the hardware, th

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
  • Method for controlling space size of smart card FLASH

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] In order to have a more specific understanding of the technical content, characteristics and effects of the present invention, now in conjunction with the illustrated embodiment, the details are as follows:

[0015] In smart card products, its MCU (microcontroller) uses on-chip fast flash memory (FLASH) as a program memory. In low-end smart cards, generally 64KB (kilobytes) of FLASH space can be used to develop applications; while in high-end smart cards, there are many applications, which require a lot of space for FLASH, which may use 256KB, 384KB or even more Big.

[0016] In a smart card that includes a coprocessor MPU, the MPU can provide separate permission setting protection for memory in the range of 1MB (megabytes) starting from address 0. Through the MPU, the memory within 1MB can be divided into 8 areas at most, and each area is not less than 64 bytes; after setting, these 8 areas have their own permission attributes. Permissions include whether to allow re...

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 discloses a method for controlling space size of a smart card FLASH, comprising the steps of 1. dividing a space of the flash memory FLASH in a boot loader according to different application requirements of different users; dividing the flash memory FLASH into a needed area and a non-needed area according to the user requirement; performing authorization settings for different areas; 2. switching the operating mode of ARM (advanced RISC machines) in the boot loader; switching the operating mode of the ARM to a user mode from a privileged mode so as to ensure that the user can not modify previous setup by memory protection unit MPU (microprocessor unit) in the user mode; 3. repeating the steps, developing the boot loader of space size of different flash memories FLASH so as to satisfy different user requirements. According to the method, the FLASH space can be controlled by a software method, so that the development cost of the smart card hardware is lowered and the configuration flexibility of the product is improved by repeatable modification performance of the boot loader.

Description

technical field [0001] The invention relates to the development field of a smart card chip boot loader, in particular to a method for controlling the space size of a smart card FLASH (fast flash memory) by utilizing the operating characteristics of an MPU (Memory Protect Unit) and an ARM in the boot loader. Background technique [0002] With the development of IC (Integrated Circuits) design and manufacturing technology, the design scale of smart cards is getting larger and larger. In order to save costs, it is particularly important to carry out different configurations on the same product according to different needs. Especially for the FLASH module, different applications have different requirements for the size of the FLASH space. If different FLASH spaces are divided in the design stage of the smart card chip, that is, the size of the FLASH space is controlled by the hardware, this will not only increase the workload and cost, but also bring risks and inconvenience to ...

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
IPC IPC(8): G06F12/02G06F12/14
Inventor 蒋枫
Owner SHANGHAI HUAHONG INTEGRATED CIRCUIT
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products