Writing To Nand - Texas Instruments OMAP35 Series User Manual

Evm linux psp
Hide thumbs Also See for OMAP35 Series:
Table of Contents

Advertisement

This commands skips bad blocks (both factory or user marked) encountered
within the specified range.
For example, to erase blocks 32 through 34

3.5.4. Writing to NAND

To write len bytes of data from a memory buffer located at addrto the NAND
block offset:
If a bad block is encountered during the write operation, it is skipped and the
write operation continues from next 'good' block.
For example, to write 0x40000 bytes from memory buffer at address
0x80000000 to NAND - starting at block 32 (offset 0x400000):
26
Note
The behavior of this command was modified.
Important
If the erase operation fails, the block is marked bad and the command aborts.
To continue erase operation, the command needs to be re-executed for the
remaining blocks in the range.
OMAP3EVM# nand erase 0x00400000 0x40000
OMAP3EVM# nand write <addr> <offset> <len>
Note
The behavior of this command was modified.
Important
If the write fails on ECC check, the block where the failure occurred is marked
bad and write operation is aborted. The command needs to be re- executed
to complete the write operation. The offset and length for reading have to be
page aligned else the command will abort.
Platform Support Products
U-Boot
Writing to NAND
Version 02.01.01.08

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omap3515Omap3525Omap3530

Table of Contents