This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

flash全是坏块



大家好:

            我通过串口已经将uboot跑起来。在uboot命令行下输入 nand bad。打印整个flash都是坏块。请大家给我点提示信息。从哪里解决。我用的是镁光芯片。

            

  • 1. 您可以看看时序是否配置正确。

    2. 您这个片子要求的ecc的bit多少位,我们的uboot默认是BCH8

  • 同时检查下原理图以及PCB焊接,一般NAND不会有这么多坏块的

  • 你好:

            我用的配置都是uboot默认的,而且uboot使用的是同一个。测试结果发现镁光的出现了坏块打印,无法读写删除的操作。请帮忙分析分析。

           我用三星的nandflash K9F4G08U0E x8bit 512MB 两个block。型号通过nand dump打印的oob如下,而且nand操作也没有问题。

            OOB:        

            ff ff c8 b0 e8 12 b2 4a        

            63 70 83 0f c6 76 57 00        

            9d 38 1c 6d 97 ab 7f 08        

            54 e7 d5 c7 81 00 f6 24        

            67 db bc 0d 3c a5 20 6f        

            de 4b 8b 00 47 30 c6 aa        

            ef 3e 6c 2d b9 47 f7 e6        

            73 00 ff ff ff ff ff ff

          对于镁光的nandflash MT29f2g08abaeaWP x8bit 256MB 两个blocks,我用nand dump 读出来的数据如下。

            OOB:        

            00 00 00 00 00 00 00 00        

            00 00 00 00 00 00 08 03        

            01 00 02 00 00 40 02 00        

            04 00 04 00 03 f6 00 04        

             ff f0 41 00 ff 7a db 28        

            0a 20 05 b2 54 f8 ce 50        

            f7 c5 ba 92 6d fa cb 9c        

            38 25 a0 34 a2 f7 5b dc

     

           

  • 在uboot中使用nand scrub把坏块标志擦除掉 再试试

  • 根据你的描述,三星的NAND Flash没有问题,镁光的有问题。

    问下镁光的FLASH一共焊了几块板子?是手焊还是机器焊的?

  • leo chen 说:

    在uboot中使用nand scrub把坏块标志擦除掉 再试试

      你好:

               nand scrub后,确实没有了坏块。而且也可以烧写到了flash中。请教一下。为什么nand scrub之后就可以了呢。谢谢。