p2041 nandFlash ISSUE

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

p2041 nandFlash ISSUE

ソリューションへジャンプ
1,312件の閲覧回数
yinux
Contributor III

hello,

     following the p2041 RM,  large page devices: 2048byte main area + 64 bytes spare area.

    

     Image.png

     MY NAND FLASH MT29F32G08, 

                                       page size:(8192byte+448bytes)

                                       block size: 128pages (1024k+56kbytes)

                                      plane size: 2 planes * 2048blocks per plane

                                      device size: 32Gb:4096blocks

  some questions:

  1) I donot know how to config my page size, which is bigger than the   large page device.

      the FCM buffer RAM 4K cannot cover  my page size.

  2)  how to enable the ECC for the nandFlash?

       eLBC_BR[DECC] ?

THANKS.

ラベル(3)
0 件の賞賛
1 解決策
924件の閲覧回数
ufedor
NXP Employee
NXP Employee

Please select a processor with IFC controller instead of eLBC.

元の投稿で解決策を見る

0 件の賞賛
12 返答(返信)
924件の閲覧回数
ufedor
NXP Employee
NXP Employee

The P2041 NAND Flash control machine (FCM) is compatible with small (512 + 16 bytes) and large (2048 + 64 bytes) page parallel NAND Flash EEPROMs - refer to the P2040 QorIQ Integrated Multicore Communication Processor Family Reference Manual, 13.1.2 Features.

NAND devices with 4kB and 8kB pages are not supported.

0 件の賞賛
924件の閲覧回数
yinux
Contributor III

thanks for your reply.

the p2041 cannot support the 8Kb page NAND flash.

If I want to use the 32Gbit NAND Flash,  what should I do?

1. change nandFLash ?

2. change ppc?

0 件の賞賛
924件の閲覧回数
ufedor
NXP Employee
NXP Employee

In addition it is possible to use a MMC device connected to eSDHC controller.

0 件の賞賛
924件の閲覧回数
yinux
Contributor III

follow the RDB2041 ,we has choose the MT29F32G08 as the nandFlash.

I must use the 32Gbit NAND Flash, please give me some suggestion?

thanks.

0 件の賞賛
924件の閲覧回数
ufedor
NXP Employee
NXP Employee

According to the Micron datasheet the MT29F32G08 has 4kB page.

Please note that there is additional limitation - the FCM controller is capable to correct only one bit error in 512-bit block, while modern NAND chips require 4-bit or 8-bit correction capability.

There are NAND Flash devices having internal ECC, but this option is not supported by NAND driver provided in the Linux SDK.

0 件の賞賛
924件の閲覧回数
yinux
Contributor III

thanks, the datasheet show pagesize: 8K., the nandFlash need  Minimum required ECC 8-bit ECC per 540 bytes of data .
1) in your opinion,  the p2041 has the hardware ECC,  which is not supported in the linux sdk?

I must write the code by myself?

2) you have said "NAND devices with 4kB and 8kB pages are not supported" by p2041,  can I use the 8K page nandFlash?

I am very confused.

Image.png

0 件の賞賛
924件の閲覧回数
ufedor
NXP Employee
NXP Employee

In my case the datasheet says:

4kB.jpg

1) The Linux SDK fully supports the P2041 FCM capabilities - it does not support internal NAND (built in NAND chip) ECC capability.

2) 4096 bytes = 4kB = 4K

8192 bytes = 8kB = 8K

> can I use the 8K page nandFlash?

This NAND flash is not supported by the FCM.

0 件の賞賛
924件の閲覧回数
yinux
Contributor III

thanks .

may be another question,  does the fsl qorid ppc suport the 32Gbit nand flash?

which ppc FCM support the 32Gbit nand flash?

0 件の賞賛
925件の閲覧回数
ufedor
NXP Employee
NXP Employee

Please select a processor with IFC controller instead of eLBC.

0 件の賞賛
924件の閲覧回数
yinux
Contributor III

hello ufedor:

I want to find the nandflash driver in the linux sdk .

1)   download Virtual Host Enviroment: QorIQ DPAA SDK v1.9 PPCE500MC with Virtual Host Enviroment

2) cd /SDK/QorIQ-SDK-V1.9-20151210-yocto/build_p2041rdb/tmp/work-shared/p2041rdb/kernel-source/drivers/mtd/nand

    which c source will fit the nandFlash MT29F2G08AAD?

thanks for your help.

0 件の賞賛
924件の閲覧回数
ufedor
NXP Employee
NXP Employee

It is not convenient to combine logically unconnected questions.

Please create new discussion.

0 件の賞賛
924件の閲覧回数
yinux
Contributor III

got it,  i has created the new discussion, please help me,

thanks.

0 件の賞賛