Use the NAND scrub command with caution

Source: Internet
Author: User

Nand srcub is a command used to forcibly erase NAND Flash. When using this command in U-boot, a warning is displayed: Do not use this command easily, this command will erase the bad block table marked by the factory. Once erased, it cannot be restored.

However, in general cases, even if NAND scrub is used for U-boot, the problem does not exist because everything is normal. However, if your program requires batch production, you may not be able to handle the potential problems caused by using this command.

The NAND Flash plant tests and marks the NAND Bad blocks in a relatively wide range of temperature and voltage. These Bad blocks can still work at a certain temperature or voltage, however, it may become a potential time bomb when the condition changes at another time point. Although the Flash technology is gradually improving, a 2 GB flash memory is still allowed to have up to 40 Bad blocks at the factory. Therefore, if we erase the bad block table made by the factory and use some bad blocks as good blocks, it will bring a great chance and danger to the stability of the system. At present, I am not sure which of my predecessors left me using this command to erase flash before burning chips in batches. As a result, there are often some inexplicable system problems that cannot be started in the product, it cannot be solved for a long time.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.