![]() CATEGORIES: BiologyChemistryConstructionCultureEcologyEconomyElectronicsFinanceGeographyHistoryInformaticsLawMathematicsMechanicsMedicineOtherPedagogyPhilosophyPhysicsPolicyPsychologySociologySportTourism |
Find NAND Bad BlocksThis subcommand examines a number of contiguous NAND pages for the factory bad block flag. Command Format
Reply Format
CRC Buffer This subcommand computes a 16-bit CRC of the page buffer. Command Format
Reply Format
CRC NAND This subcommand computes a 16-bit CRC of a number of contiguous NAND pages. It will return NAK if any of the pages contains uncorrectable ECC errors or if the page is in the erased condition. Command Format
6.12.9.2. Reply Format – Success
If successful, a 16-bit CRC result is returned with an ACK code. 6.12.9.3. Reply Format – Failure due to ECC error
If there is an uncorrectable ECC error, no CRC is returned. Instead, the page where the error is located is returned. The CRC attempt stops on the first uncorrectable ECC error, so it is possible that there are also additional errors in subsequent pages. CRC RAM This subcommand computes a 16-bit CRC of a region of RAM. [It is grouped with FLASH commands for convenience only.] Be careful to specify correct addresses, as a data abort emergency notification will be generated if unimplemented memory is read. Command Format
Reply Format
Make Boot Block This subcommand performs the following actions: · Erases the NAND block containing the target page · Copies 32 kB from SRAM to NAND memory, starting with the target page, prepending the required Configuration Header data.
If the target page is 0, this writes the default boot block allowing the functional processor to load its software from NAND in the future. Target pages of 64, 128 and 196 can be used to write the backup boot bocks which are searched, in order, if the primary boot block suffers an irrecoverable ECC error. The command takes approximately 20 msec to execute, with the reply being sent once execution is complete. Command Format
Reply Format
Make Bit Error This subcommand reads the entire block of NAND memory into an internal RAM buffer, inverts one of the bits, erases the block, and reprograms it from the buffer. It has the effect of flipping a single bit. The intent of this command is to test the ECC codes. Note that the address used here is a physical address. The block relocation and backup tables have no effect on this command. The target bit number is encoded as follows:
Command Format
Reply Format
Copy NAND This subcommand copies a number of contiguous pages of NAND memory from one location to another. The target location is not automatically erased. However, the subcommand will ensure that there is no good data (i.e. no pages with good ECC) in the target area before beginning to write. Command Format
Reply Format
Date: 2015-12-17; view: 772
|