MD4331-d1G-MECH M-Systems Inc., MD4331-d1G-MECH Datasheet - Page 36

no-image

MD4331-d1G-MECH

Manufacturer Part Number
MD4331-d1G-MECH
Description
Mobile Diskonchip G3 Data Sheet
Manufacturer
M-Systems Inc.
Datasheet
3.6
Upon power-up or when the RSTIN# signal is asserted, the DE automatically downloads the Initial
Program Loader (IPL) to the Programmable Boot Block. The IPL is responsible for starting the
booting process. The download process is quick, and is designed so that when the CPU accesses
Mobile DiskOnChip G3 for code execution, the IPL code is already located in the Programmable
Boot Block.
In addition, the DE downloads the data protection rules from the flash to the Protection State
Machines (PSM), so that Mobile DiskOnChip G3 is secure and protected from the first moment it is
active.
During the download process, Mobile DiskOnChip G3 asserts the BUSY# signal to indicate to the
system that it is not yet ready to be accessed. Once BUSY# is negated, the system can access
Mobile DiskOnChip G3.
A failsafe mechanism prevents improper initialization due to a faulty VCC or invalid assertion of
the RSTIN# input. Another failsafe mechanism is designed to overcome possible NAND flash data
errors. It prevents internal registers from powering up in a state that bypasses the intended data
protection. In addition, any attempt to sabotage the data structures causes the entire DiskOnChip to
become both read and write protected, and completely inaccessible.
3.7
Because NAND-based MLC flash is prone to errors, it requires unique error-handling capability. M-
Systems’ x2 technology implements 4-bit Error Detection Code/Error Correction Code (EDC/ECC),
based on a patented combination of Bose, Chaudhuri and Hocquenghem (BCH) and Hamming code
algorithms. Error Detection Code (EDC) is implemented in hardware to optimize performance,
while Error Correction Code (ECC) is performed in software, when required, to save silicon costs.
Each time a 512-byte page is written, additional parity bits are calculated and written to the flash.
Each time data is read from the flash, the parity bits are read and used to calculate error locations.
The Hamming code can detect 2 errors per page and correct 1 error per page. The BCH code can
detect and correct 4 errors per page. It can detect 5 errors per page with a probability of 99.9%. It
ensures that the minimal amount of code required is used for detection and correction to deliver the
required reliability without degrading performance.
3.8
Mobile DiskOnChip G3 uses a two-stage pipeline mechanism, designed for maximum performance
while enabling on-the-fly data manipulation, such as read/write protection and Error
Detection/Error Correction. Refer to technical note TN-DOC-014, Pipeline Mechanism in
DiskOnChip, for further information.
3.9
The Control and Status block contains registers responsible for transferring address, data and
control information between the DiskOnChip TrueFFS driver and the flash media. Additional
registers are used to monitor the status of the flash media (ready/busy) and the DiskOnChip
controller. For further information on the DiskOnChip registers, refer to Section 8.
33
Download Engine (DE)
Error Detection Code/Error Correction Code (EDC/ECC)
Data Pipeline
Control and Status
Data Sheet, Rev. 1.0
Mobile DiskOnChip G3
91-SR-011-05-8L

Related parts for MD4331-d1G-MECH