Introduction to Script 4

The minimum unit for erasing, writing, and reading NAND Flash Memory (hereinafter referred to as NAND) is as follows due to its structure.

ERASEBatch erase in blocks
PROGRAMPage unit (data section + redundant section)
READPage unit (data section + redundant section)
スクリプト(Script) 入門 4

The related commands above are introduced below.

Several types of commands are available depending on the application, and it also supports multi-chip and multi-plane.

Please see the SigNAS3 Operational Guide for more information,

BLOCK unit・・・Erases the specified block

BKERASBlock Erase
BKERMCBlock Erase MultiChip
Target chips are specified using bitmap-compatible parameters.
BKEMPxBlock Erase MultiPlane
It erases a total of x blocks in different planes specified by parameters.
BEMCPxBlock Erase MulitiChip MultiPlane

PAGE unit・・・Programs the specified page..

PGPROGPage Program
PGPGMCPage Program MultiChip
Target chips are specified using bitmap-compatible parameters.
PGPMPxPage Program MultiPlane
Programs pages in a total of x blocks in different planes specified by parameters.
PPMCPxPage Program MulitiChip MultiPlane

The following three types of program patterns can be specified using parameters.

INCRMTincrement pattern
RANDOMpseudorandom pattern
BUFFERBuffer pattern (pattern file prepared in advance by the user)

BLOCK unit・・・Programs the specified block.

BKPROGBlock Program
BKPGMCBlock Program MultiChip
Target chips are specified using bitmap-compatible parameters.
BKPMPxBlock Program MultiPlane
Programs all pages in a total of x blocks in different planes specified by parameters.
BPMCPxBlock Program MulitiChip MultiPlane

In addition to the above PageProgram pattern, it is possible to set the following 3 types of program patterns, for a total of 6 types.

ICROVLIncrement pattern (pattern initialization is performed at the beginning of every page)
RDMOVLPseudo-random pattern (seed initialization performed at the beginning of every page)
BUFATABuffer pattern (assign buffer 0000 to Page0, buffer 143F to Page5183)

PAGE unit・・・Reads the specified page. No data transfer is performed.

PGREADPage Read
PEREADPage Read with Extend Address
It can be specified an extended address.
PGRMPxPage Read MultiPlane
Reads pages in a total of x blocks in different planes specified by parameters.
PERMPxPage Read MultiPlane + Extend Addresss
It works similar to PGRMPx, but allows you to specify extended addresses.
PGRDDMPage Read and Dump
It reads the specified page and saves the read data to Dump File.
PGRDCPPage Read and Compe
It reads the specified page and compares it to the specified pattern.
Save the location of the mismatch and the comparison result (XOR value, where the mismatched bit is represented by a 1) in a Compare File.

The following three types of comparison patterns can be specified using parameters.

INCRMTincrement pattern
RANDOMpseudorandom pattern
BUFFERBuffer pattern (pattern file prepared in advance by the user)
PERDDCPPage Read and Compare with Extended Address
It works similar to PGRDCP, but allows you to specify extended addresses.
PGRDECPage Read and Error Count
It reads the specified page, compares it with the specified pattern, and counts the number of errors.
Save error count results to Error Count File.

In addition to the 3 types of PGRDCP mentioned above, you can specify 5 types of comparison patterns, including the following 2 types, using parameters.

ICROVLCompatible with Block Program ICROVL
RDMOVLCompatible with Block Program RDMOVL
PERDECPage Read and Error Count with Extended Address
It works similar to PGRDEC, but you can specify an extended address.
PGDUMPPage Dump
It gets the NAND cache data and saves it to Dump File.
PGCOMPPage Compare
It gets NAND cache data and compares it with the specified pattern.
PGSRDMPage Softbit Read and Dump
It reads the soft bit of the specified page and saves the read data to Dump File.
PESRDMPage Softbit Read and Dump with Extend address

BLOCK unit・・・Read all pages of the specified block.

BKREADBlock Read
BEREADBlock Read with Extend Address
It works similar to BKREAD, but allows you to specify an extended address.
BKRDDMBlock Read and Dump
It reads all pages of the specified block and saves the read data to Dump File.
BERDDMBlock Read and Dump with Extend Address
It works similar to BKRDDM, but you can specify an extended address.
BKRDCPBlock Read and Compare
It reads all pages of the specified block and compares them with the specified pattern.
Save the location of the mismatch and the comparison result (XOR value, where the mismatched bit is represented by a 1) in a Compare File.

The following six types of comparison patterns can be specified using parameters.

INCRMTIncrement pattern (pattern initialization is performed at the beginning of every page)
ICROVLIncrement pattern (pattern initialization is performed at the beginning of the first page of the block)
RANDOMPseudo-random pattern (pattern initialization is performed at the top of every page)
RDMOVLPseudo-random pattern (pattern initialization is performed at the beginning of the first page of the block)
BUFFERBuffer pattern
BUFATABuffer pattern (assign buffer 0000 to Page0, buffer 143F to Page5183)
BERDCPBlock Read and Compare with Extend Address
It works similar to BKRDCP, but allows you to specify extended addresses.
BKRDECBlock Read and Error Count
It reads all pages of the specified block, compares with the specified pattern, and counts the number of errors.
Save error count results to Error Count File.
BERDECBlock Read and Error Count with Extend Address
It works similar to BKRDEC, but you can specify an extended address.

The GUI is also equipped with NAND read and comparison functions as shown below.