- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
In an attempt to access the serial flash memory S25HL512T chip in a generic way I am reading the reading the JEDEC standardized basic flash parameter table and sector map parameter table. However, I end up with conflicting values regarding the total memory size.
The basic flash parameter table DWORD 2 reads 0x1FFF FFFF, which according to JESD216E should be interpreted as (0x1FFF FFFF + 1) = 0x200 0000 bits = 512mebibits = 64mebibytes. This is the expected size.
As far as I can tell, the sector configuration maps all have in common that the total size of the memory is 65 536 000bytes instead of 65 536kibibytes.
Well, configuration map 1 indicates a different total.
The sector map parameter table contains the following values:
1: 0x08FF 65FC First configuration detection command descriptor
2: 0x0080 0004 First configuration detection command descriptor address
3: 0x40FF 65FC Second configuration detection command descriptor
4: 0x0080 0002 Second configuration detection command descriptor address
5: 0x04FF 65FD Third & last configuration detection command descriptor
6: 0x0080 0002 Third & last configuration detection command descriptor address
7: 0xFF02 00FE Configuration map 0 header
8: 0x0001 F3F1 Configuration map 0 region 1; size = (0x1F3 + 1) * 256 bytes = 128 000bytes (Should be (0x1FF+1)*256 = 128kibibytes)
9: 0x0001 F3F8 Configuration map 0 region 2; size = (0x1F3 + 1) * 256 bytes = 128 000bytes (Should be (0x1FF+1)*256 = 128kibibytes)
10: 0x03E4 17F8 Configuration map 0 region 3; size = (0x3E417 + 1) * 256 bytes = 65 280 000bytes (Should be (0x3FBFF+1)*256 = 65 280kibibytes)
11: 0xFF02 03FE Configuration map 3 header
12: 0x03E4 17F8 Configuration map 3 region 1; size = (0x3E417 + 1) * 256 bytes = 65 280 000bytes (Should be (0x3FBFF+1)*256 = 65 280kibibytes)
13: 0x0001 F3F8 Configuration map 3 region 2; size = (0x1F3 + 1) * 256 bytes = 128 000bytes (Should be (0x1FF+1)*256 = 128kibibytes)
14: 0x0001 F3F1 Configuration map 3 region 3; size = (0x1F3 + 1) * 256 bytes = 128 000bytes (Should be (0x1FF+1)*256 = 128kibibytes)
15: 0xFF04 01FE Configuration map 1 header
16: 0x0001 F3F1 Configuration map 1 region 1; size = (0x1F3 + 1) * 256 bytes = 128 000bytes (Should be (0x1FF+1)*256 = 128kibibytes)
17: 0x0002 EDF8 Configuration map 1 region 2; size = (0x2ED + 1) * 256 bytes = 192 000bytes (Should be removed?)
18: 0x03E0 2FF8 Configuration map 1 region 3; size = (0x3E02F + 1) * 256 bytes = 65 024 000bytes (Should be (0x3FBFF+1)*256 = 65 280kibibytes)
19: 0x0002 EDF8 Configuration map 1 region 4; size = (0x2ED + 1) * 256 bytes = 192 000bytes (Should be removed?)
20: 0x0001 F3F1 Configuration map 1 region 5; size = (0x1F3 + 1) * 256 bytes = 128 000bytes (Should be (0x1FF+1)*256 = 128kibibytes)
21: 0xFF00 04FF Configuration map 4 header
22: 0x03E7 FFF8 Configuration map 4 region 1; size = (0x3E7FF + 1) * 256 bytes = 65 536 000bytes (Should be (0x3FFFF+1)*256 = 65 536kibibytes = 64mebibytes)
Is this a bug, or do I misinterpret the sector map parameter table?
Best regards,
/Johan
Solved! Go to Solution.
- Labels:
-
Memory Nor Flash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Johan,
Yes you are correct. The Silicon you mentioned was old rev. I am still checking on the errata and will get back to you as soon as marketing provide me the information.
Thank you
Regards,
Bushra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Thank you for contacting Cypress Technical Support, an Infineon Technologies Company. Currently we are reviewing the issue and will get back to you as soon as we find the resolution.
Regards,
Bushra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Can you please send the flash mark code (date code)?
Regards,
Bushra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The full marking is:
CYPRESS® ©18
2HL512TFI01
940QBS05 A
TWN
Regards,
/Johan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Johan,
Thank you. Your access to join Semper Early Access program have been approved. Please accept the invitation and click on "Join this group hub" to get full access of Semper related documentations.
Thank you
Regards,
Bushra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks!
The invitation email ended up in the spam bin... 😕
Indeed the full datasheet gives correct values, while the silicon I have reports incorrect values... 😞
So, I end up adding some workaround code...
By the way, is there any errata sheet available?
Regards,
/Johan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Johan,
Let me check with marketing. Is workaround code working now? Please let me know.
Thank you
Regards,
Bushra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Bushra,
Yes, the workaround code is working fine.
As I have taken over this developmentproject from a colleague that left the company I have not perfect knowledge of the component sources. Perhaps the memory on the PCB I have is from some early sample production series...
Anyway, an errata sheet would be useful.
Regards,
/Johan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Johan,
Yes you are correct. The Silicon you mentioned was old rev. I am still checking on the errata and will get back to you as soon as marketing provide me the information.
Thank you
Regards,
Bushra