VF51xx/NFC virtual page layout and Physical page layout

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

VF51xx/NFC virtual page layout and Physical page layout

2,201 Views
soichiyamamoto
Contributor V

Hi,

I have question about NFC Buffer Memory Space of the NFC.

I summarized virtual page layout and Physical page layout in a file.

I attached it.

Is my understanding right?

Best regards,

soichi yamamoto

Labels (1)
0 Kudos
6 Replies

1,928 Views
juangutierrez
NXP Employee
NXP Employee

Looks good but I think only the physical layout for second case should be like this:

FromToSizeAreaDescription
0511512Main0(page0)UserData
5125121Reserved
51352715ECC for main/spare
5281039512Main1(page1)UserData
104010401Reserved
1041105515ECC for main/spare
10561567512Main2(page2)UserData
156815681Reserved
1569158315ECC for main/spare
15842095512Main3(page3)UserData
209620961Reserved
2097211115ECC for main/spare

1,927 Views
soichiyamamoto
Contributor V

Dear Juan Antonio Gutierrez Rosas,

Thank you for reply,

In this(Sector size = 2,048(main)+128(spare)) case, I arrive, and please tell me.

I attached a file.

Does the Sector size = 2,048(main)+128(spare) support?

And is the correction range of ECC 2,048(main)+128(spare)?

Best regards,

soichi yamamoto

0 Kudos

1,927 Views
juangutierrez
NXP Employee
NXP Employee

Actually, because the flow program operation in the NFC the ECC is programmed just after the Main area. So the below organization should be the right way to see it. Note that the ECC is contiguous to the user data and the rest of spare area is just unused or reserved.

2048 byte(main) + 64 byte (spare)

ECC bits =8, NFC_CFG[PAGE CNT]=4, Sector size = 512+16

FromToSizeAreaDescription
0511512Main0(page0)UserData
51252615ECCSpare
5275271Unused
5281039512Main0(page0)UserData
1040105415ECCSpare
105510551Unused
10561567512Main0(page0)UserData
1568158215ECCSpare
158315831Unused
15842095512Main0(page0)UserData
2096211015ECCSpare
211121111Unused


2048 byte(main) + 128 byte (spare)

ECC bits =32, NFC_CFG[PAGE CNT]=1, Sector size = 2048+128


Same behavior applies for the 2048+64

FromToSizeAreaDescription
020472048Main0(page0)UserData
2048210760ECCSpare
2108217568Unused

Regarding the geometry support.

The RM mentions that one of the NFC features is that

     Supports all NAND flash products regardless of density/organization

On the other hand this organization is not listed in the recommended setting (Table 31-21.)

So, my guess is that is supported but not recommended. For example the Spare area might be used besides the ECC for

wear-leveling, bad block mark and other software overhead functions. So in the case of 512+16 bytes ECC bits =8 (15 bytes) there is only one byte left so it might be not enough space for this others overhead functions and hence not recommended.

Not sure why the 2048+64 is not listed in Table 31-21 but possible is not recommended too.

0 Kudos

1,927 Views
soichiyamamoto
Contributor V

Dear Juan Antonio Gutierrez Rosas,

Thank you for reply.

In the case of follows, I arrive and recognize it and confirm it.

 ・2048 byte(main) + 64 byte (spare)

 ・ECC bits =32, NFC_CFG[PAGE CNT]=1, Sector size = 2048+64

Q1.Which constitution of case1 and case2 is right?

case1:

FromToSizeAreaDescription
020472048Main0(page0)UserData
2048210760ECCSpare
210821114

Unused


case 2:


FromToSizeAreaDescription
020472048Main0(page0)UserData
204821514UnusedSpare
2152211160

ECC


Q2.Is the range of the ECC correction 2,048+64?


Q3.In the case of follows, I arrive and recognize it and confirm it.

 ・2048 byte(main) + 128 byte (spare)

 ・ECC bits =32, NFC_CFG[PAGE CNT]=1, Sector size = 2048+128

Is the range of the ECC correction 2,048+128?


Best Regards,

soichi yamamoto





0 Kudos

1,927 Views
juangutierrez
NXP Employee
NXP Employee

For Q1 case1 is correct.

Sorry Q2 and Q3  are not clear to me. what do you mean by "Is the range of the ECC correction" ?

0 Kudos

1,927 Views
karina_valencia
NXP Apps Support
NXP Apps Support

juangutierrez please  continue with the follow up on this case.

0 Kudos