Supercharge Your Innovation With Domain-Expert AI Agents!

Method for accessing NAND gate flash memory by application protocol data unit

A technology that uses protocol data and flash memory. It is applied to record carriers used in machines, instruments, and inductive record carriers. It can solve the problem of not being able to read the length of the smart card and achieve the effect of fast access and enhanced compatibility.

Active Publication Date: 2010-02-03
BEIJING TONGFANG MICROELECTRONICS
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Even if the APDU to access NAND Flash is an extended APDU defined by the ISO / IEC 7816 specification, the parameter P3 can be 3 bytes in length in the second case (Case 2), but it is still not possible to combine the row of NAND Flash in the same APDU , column address and read length are passed to the smart card
When directly using the APDU defined by the ISO / IEC 7816 specification to write NAND Flash, there are similar problems with reading

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 accessing NAND gate flash memory by application protocol data unit
  • Method for accessing NAND gate flash memory by application protocol data unit
  • Method for accessing NAND gate flash memory by application protocol data unit

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] see Figure 1 to Figure 4 , use a terminal containing APDU to realize access to NAND Flash with a total capacity of 128MB (megabytes) in the smart card, a page size of 2112 bytes (main storage area 2048 bytes, redundant area 64 bytes), and a block size of 64 pages Methods:

[0029] 1) To read the NAND Flash identification number, use the APDU in the second case defined by the ISO / IEC 7816 specification. The APDU format is 00 7A 00 01 P3, where the parameter P3 of the APDU specifies the number of bytes of the identification number to be read. .

[0030] APDU: 00 7A 00 01 xx

[0031] Card response: xx byte NAND Flash identification number

[0032] Success status word: 9000

[0033] Error definition:

[0034] Parameter P3 error, status word 6C00;

[0035] Failed to read NAND Flash identification number, status word 6504.

[0036]2) To read NAND Flash data, use the APDU of the fourth case defined by the ISO / IEC 7816 specification. The format of the read APDU is 00 7A...

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 relates to a method for accessing a NAND gate flash memory by an application protocol data unit, which belongs to the technical field of smart card application. The method comprises thefollowing steps: reading a NAND gate flash memory identification number which marks identity information of a visited NAND gate flash memory; reading NAND gate flash memory data which is binary information stored in a main storage area or a redundant area of the NAND gate flash memory; writing data into a storage area of the NAND gate flash memory, wherein the storage area is the main storage areaor the redundant area; and erasing a NAND gate flash memory block, wherein the block is the minimum erasable unit of the NAND gate flash memory. Compared with the prior art, the method for accessingthe NAND gate flash memory by the application protocol data unit can access to a NAND Flash memory in a high-capacity smart card more rapidly, accurately and conveniently.

Description

technical field [0001] The present invention relates to the field of smart card application technology, especially in accordance with the ISO / IEC7816 specification (ISO / IEC 7816: Identification Cards-Integrated Circuit(s) Cards with Contacts, ISO / IEC 7816: Identification Cards-Integrated Circuit Cards with Contacts The method of accessing the NAND Flash memory of the NAND Flash memory by the Application Protocol Data Unit APDU (Application Protocol Data Unit) of ). technical background [0002] Smart cards have been widely used in telecommunications, transportation, finance and other fields, and users have higher and higher requirements for card performance, especially card user storage space. The large-capacity smart card formed by adding NAND Flash and its controller on the basis of the traditional smart card controller has begun to enter the market. [0003] In the prior art, when an APDU conforming to the ISO / IEC 7816 specification accesses such as EEPROM (Electrically ...

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/02G06K7/00G06K19/07
Inventor 向明亮
Owner BEIJING TONGFANG MICROELECTRONICS
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More