S25FL512S Sector Map Error

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi

I believe I have found an error in the Serial Flash Discoverable Parameters for the S25FL512S.   The JEDEC Sector Map Parameter Dword-2 is reported by the device and specified by the datasheet is incorrect.

The DWORD is 0x3FFFFFF4, which breaks down as follows:

  • Bits 0:3 = 0x4 = Erase Type 3 supported
  • Bits 4:7 = 0xF = Reserved
  • Bits 8:31 = 0x3FFFFF => (0x3FFFFF  + 1) * 256 = 0x40000000 = 1024 MB, which is larger than the entire device.  

Am I interpreting this incorrectly, or is there an error here? 

I can work around this by assuming a uniform erase size across the device, so I'm not stuck, but perhaps there needs to be a datasheet update.

Thanks,

-Trevor Brophy

p.s. Here is a snap shot of the datasheet for reference.

pastedImage_0.png

0 Likes
1 Solution
GernotH_31
Employee
Employee
First like received

Hi Trevor,

you are correct, the region size should be 0x03FFFF rather than 0x3FFFFF.

Another workaround might be to truncate the region size at the device size,

i.e. to take the minimum of region size and device size. That should work in all cases.

In any case, we have filed an internal bug for this and are going to correct this asap.

Thanks,

Gernot

View solution in original post

2 Replies
Anonymous
Not applicable

Hi Trevor,

Thanks for pointing out.

Regards,

Krishna.

0 Likes
GernotH_31
Employee
Employee
First like received

Hi Trevor,

you are correct, the region size should be 0x03FFFF rather than 0x3FFFFF.

Another workaround might be to truncate the region size at the device size,

i.e. to take the minimum of region size and device size. That should work in all cases.

In any case, we have filed an internal bug for this and are going to correct this asap.

Thanks,

Gernot