This is the mail archive of the ecos-devel@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SPI flash driver


Hello JÃrgen,

On Tuesday 11 May 2010 14:49:38 JÃrgen Lambrecht wrote:

> We will develop a SPI flash package for a Numonyx M25P80.

AFAIK those flashes are already supported ->
devs/flash/spi/m25pxx

static const m25pxx_params m25pxx_supported_devices [] = {
  { // Support for Numonyx 128 MBit devices.
    sector_size  : 1024,
    sector_count : 64,
    jedec_id     : 0x00202018
  },
  { // Support for Numonyx 64 MBit devices.
    sector_size  : 256,
    sector_count : 128,
    jedec_id     : 0x00202017
  },
  { // Support for Numonyx 16 MBit devices.
    sector_size  : 256,
    sector_count : 64,
    jedec_id     : 0x00202016
  },
  { // Support for Numonyx 16 MBit devices.
    sector_size  : 256,
    sector_count : 32,
    jedec_id     : 0x00202015
  },
  { // Support for Numonyx 8 MBit devices.
    sector_size  : 256,
    sector_count : 16,
    jedec_id     : 0x00202014
	^^^^^^^^^^^^^^^^
	this one is yours
  },
  { // Support for Numonyx 4 MBit devices.
    sector_size  : 256,
    sector_count : 8,
    jedec_id     : 0x00202013
  },
  { // Support for Numonyx 2 MBit devices.
    sector_size  : 256,
    sector_count : 4,
    jedec_id     : 0x00202012
  },
  { // Support for Numonyx 1 MBit devices.
    sector_size  : 128,
    sector_count : 4,
    jedec_id     : 0x00202011
  },
  { // Support for Numonyx 512 KBit devices.
    sector_size  : 128,
    sector_count : 2,
    jedec_id     : 0x00202010
  },
  { // Null terminating entry.
    sector_size  : 0,
    sector_count : 0,
    jedec_id     : 0
  }
};

-- 
MiÅego dnia / Best regards
Jerzy


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]