[#4266] Wrong JEDEC id's for Spansion

Document created by Aaronwu Employee on Sep 25, 2013
Version 1Show Document
  • View in full screen mode

[#4266] Wrong JEDEC id's for Spansion

Submitted By: Denys Fedoryshchenko

Open Date

2008-07-20 22:13:23     Close Date

2009-04-04 08:01:29

Priority:

Low     Assignee:

Nobody

Category:

N/A     Fixed In Release:

N/A

Found In Release:

2008R1     Status:

Closed

Board:

Custom     Processor:

BF533

Silicon Revision:

    Resolution:

Out of Date

Is the bug repeatable?:

yes     

Summary: Wrong JEDEC id's for Spansion

Details:

 

Hi

 

In file:

u-boot-1.1.6-2008R1/board/bf537-stamp/spi_flash.c

 

There is list of chips

static struct flash_info flash_spansion_serial_flash[] = {

        { "S25LF016", 0x0215, 64 * 1024, 32 },

        { "S25LF032", 0x0216, 64 * 1024, 64 },

        { "S25FL064", 0x0217, 64 * 1024, 128 },

        { "S25LF0128", 0x0218, 256 * 1024, 64 },

        { NULL, 0, 0, 0 }

};

First of all there is no chip S25LF016, as i know it is S25FL016. Others is the same.

 

In datasheet http://www.spansion.com/datasheets/s25fl032a_00_c2_e.pdf, page 18

memory type 0x02

memory capacity 0x15

 

In array it is defined as 0x216. Already i hit the same problem with S25FL064, and ID for it is 0x216, instead of 0x217.

On real hardware changing such things fixes the problem.

 

Probably wrong JEDEC ID's taken from S29GL family datasheet, which is parallel flash. There is 17h for 64, 16h for 32Mb and so on.

 

Follow-ups

 

--- Mike Frysinger                                           2008-07-20 22:40:22

the JEDEC ids were based on actual flashes.  the S25FL064 datasheet claims to be

0x16 but the flash actually reports 0x17.

 

--- Denys Fedoryshchenko                                     2008-07-20 22:51:45

On my board it is detecting S25FL064 as S25FL032, because JEDEC ID is wrong, i

had to patch source for correct values.

 

It means on my case it is matching value in datasheet.

Probably you have faulty chip?

 

--- Mike Frysinger                                           2009-04-04 08:01:29

sf subsystem has a driver with id's that line up according to datasheets

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes