public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] How to support Page Mode Flash Memory Device?
@ 2010-08-02  7:39 Cheng Vincent
  2010-08-02  9:41 ` Stefan Roese
  0 siblings, 1 reply; 7+ messages in thread
From: Cheng Vincent @ 2010-08-02  7:39 UTC (permalink / raw)
  To: u-boot


Hi,
I want to implement the page mode for S29GL064N90TFI020 in U-Boot. After i study the page mode, the difference between standard mode and page mode is the less access time following the first access. So, what should i do for the page mode? Is anyone kindly help me on this?
Best Regards,Vincent Cheng 		 	   		  

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot] How to support Page Mode Flash Memory Device?
  2010-08-02  7:39 [U-Boot] How to support Page Mode Flash Memory Device? Cheng Vincent
@ 2010-08-02  9:41 ` Stefan Roese
  2010-08-03  2:47   ` Cheng Vincent
  0 siblings, 1 reply; 7+ messages in thread
From: Stefan Roese @ 2010-08-02  9:41 UTC (permalink / raw)
  To: u-boot

Hi Cheng,

On Monday 02 August 2010 09:39:46 Cheng Vincent wrote:
> I want to implement the page mode for S29GL064N90TFI020 in U-Boot. After i
> study the page mode, the difference between standard mode and page mode is
> the less access time following the first access. So, what should i do for
> the page mode? Is anyone kindly help me on this? Best Regards,Vincent
> Cheng

Define CONFIG_SYS_FLASH_USE_BUFFER_WRITE in your config header. This is most 
likely what you're looking for.

Cheers,
Stefan

--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot] How to support Page Mode Flash Memory Device?
  2010-08-02  9:41 ` Stefan Roese
@ 2010-08-03  2:47   ` Cheng Vincent
  2010-08-03  3:30     ` David Hawkins
  0 siblings, 1 reply; 7+ messages in thread
From: Cheng Vincent @ 2010-08-03  2:47 UTC (permalink / raw)
  To: u-boot


Dear Stefan,
Thanks for your suggestions.But i consider that the "write buffer" and the "page mode read" are quite different.BTW, i have searched the internet but got nothing about Page Mode source code. Has anyone ever implemented it?
Best Regards,Vincent Cheng

> From: sr at denx.de
> To: u-boot at lists.denx.de
> Subject: Re: [U-Boot] How to support Page Mode Flash Memory Device?
> Date: Mon, 2 Aug 2010 11:41:59 +0200
> CC: whchang34 at hotmail.com
> 
> Hi Cheng,
> 
> On Monday 02 August 2010 09:39:46 Cheng Vincent wrote:
> > I want to implement the page mode for S29GL064N90TFI020 in U-Boot. After i
> > study the page mode, the difference between standard mode and page mode is
> > the less access time following the first access. So, what should i do for
> > the page mode? Is anyone kindly help me on this? Best Regards,Vincent
> > Cheng
> 
> Define CONFIG_SYS_FLASH_USE_BUFFER_WRITE in your config header. This is most 
> likely what you're looking for.
> 
> Cheers,
> Stefan
> 
> --
> DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de
 		 	   		  

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot] How to support Page Mode Flash Memory Device?
  2010-08-03  2:47   ` Cheng Vincent
@ 2010-08-03  3:30     ` David Hawkins
  2010-08-03  3:40       ` Cheng Vincent
  2010-08-03  6:35       ` Liu Dave-R63238
  0 siblings, 2 replies; 7+ messages in thread
From: David Hawkins @ 2010-08-03  3:30 UTC (permalink / raw)
  To: u-boot

Hi Cheng,

> But i consider that the "write buffer" and the "page mode read"
> are quite different. BTW, i have searched the internet but got
> nothing about Page Mode source code. Has anyone ever implemented it?

There is nothing to 'implement'. Page mode flash has a
timing parameter indicating the time to the first read,
and then the time for subsequent reads within a page
to return.

If you are interfacing to this flash using a processor
local bus controller, then you generally only have one
read timing parameter you can configure. In that case,
you would have to configure the local bus controller
read timing of the processor to the flash worst-case
value, i.e., the timing for the read of the first word
in a page.

If you are interfacing to the flash using an FPGA, then
you can exploit this feature. For example, I use this
feature to get optimal read timing from a FPGA configuration
controller.

See p30, Figure 12.

http://www.ovro.caltech.edu/~dwh/carma_board/fpga_configuration.pdf

That figure should clarify what page mode means.
The example design uses S29GL512N11TF020 parts.

Cheers,
Dave

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot] How to support Page Mode Flash Memory Device?
  2010-08-03  3:30     ` David Hawkins
@ 2010-08-03  3:40       ` Cheng Vincent
  2010-08-03  6:35       ` Liu Dave-R63238
  1 sibling, 0 replies; 7+ messages in thread
From: Cheng Vincent @ 2010-08-03  3:40 UTC (permalink / raw)
  To: u-boot


Dear Dave,
I learn much from your reply.
Thank you very much!Best Regards,Vincent Cheng

> Date: Mon, 2 Aug 2010 20:30:30 -0700
> From: dwh at ovro.caltech.edu
> To: whchang34 at hotmail.com
> CC: u-boot at lists.denx.de
> Subject: Re: [U-Boot] How to support Page Mode Flash Memory Device?
> 
> Hi Cheng,
> 
> > But i consider that the "write buffer" and the "page mode read"
> > are quite different. BTW, i have searched the internet but got
> > nothing about Page Mode source code. Has anyone ever implemented it?
> 
> There is nothing to 'implement'. Page mode flash has a
> timing parameter indicating the time to the first read,
> and then the time for subsequent reads within a page
> to return.
> 
> If you are interfacing to this flash using a processor
> local bus controller, then you generally only have one
> read timing parameter you can configure. In that case,
> you would have to configure the local bus controller
> read timing of the processor to the flash worst-case
> value, i.e., the timing for the read of the first word
> in a page.
> 
> If you are interfacing to the flash using an FPGA, then
> you can exploit this feature. For example, I use this
> feature to get optimal read timing from a FPGA configuration
> controller.
> 
> See p30, Figure 12.
> 
> http://www.ovro.caltech.edu/~dwh/carma_board/fpga_configuration.pdf
> 
> That figure should clarify what page mode means.
> The example design uses S29GL512N11TF020 parts.
> 
> Cheers,
> Dave
> 
 		 	   		  

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot] How to support Page Mode Flash Memory Device?
  2010-08-03  3:30     ` David Hawkins
  2010-08-03  3:40       ` Cheng Vincent
@ 2010-08-03  6:35       ` Liu Dave-R63238
  2010-08-03  7:09         ` Cheng Vincent
  1 sibling, 1 reply; 7+ messages in thread
From: Liu Dave-R63238 @ 2010-08-03  6:35 UTC (permalink / raw)
  To: u-boot

>There is nothing to 'implement'. Page mode flash has a
>timing parameter indicating the time to the first read,
>and then the time for subsequent reads within a page
>to return.
>
>If you are interfacing to this flash using a processor
>local bus controller, then you generally only have one
>read timing parameter you can configure. In that case,
>you would have to configure the local bus controller
>read timing of the processor to the flash worst-case
>value, i.e., the timing for the read of the first word
>in a page.

The local bus controller of your processor have to support the page mode
for NOR Flash.
IIRC, The GPCM of PQx doesn't support such feature right now.

>If you are interfacing to the flash using an FPGA, then
>you can exploit this feature. For example, I use this
>feature to get optimal read timing from a FPGA configuration
>controller.

It is easy to control the timing for FPGA.

Thanks, Dave

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot] How to support Page Mode Flash Memory Device?
  2010-08-03  6:35       ` Liu Dave-R63238
@ 2010-08-03  7:09         ` Cheng Vincent
  0 siblings, 0 replies; 7+ messages in thread
From: Cheng Vincent @ 2010-08-03  7:09 UTC (permalink / raw)
  To: u-boot


Dear Dave,
I have checked the datasheet of the CPU. It did support the Page Read Mode. I would find the way to make it possible.
BTW, i'm very appreciate of your responses.

Best Regards,

Vincent Cheng
> Subject: RE: [U-Boot] How to support Page Mode Flash Memory Device?
> Date: Tue, 3 Aug 2010 14:35:45 +0800
> From: r63238 at freescale.com
> To: dwh at ovro.caltech.edu; whchang34 at hotmail.com
> CC: u-boot at lists.denx.de
> 
> >There is nothing to 'implement'. Page mode flash has a
> >timing parameter indicating the time to the first read,
> >and then the time for subsequent reads within a page
> >to return.
> >
> >If you are interfacing to this flash using a processor
> >local bus controller, then you generally only have one
> >read timing parameter you can configure. In that case,
> >you would have to configure the local bus controller
> >read timing of the processor to the flash worst-case
> >value, i.e., the timing for the read of the first word
> >in a page.
> 
> The local bus controller of your processor have to support the page mode
> for NOR Flash.
> IIRC, The GPCM of PQx doesn't support such feature right now.
> 
> >If you are interfacing to the flash using an FPGA, then
> >you can exploit this feature. For example, I use this
> >feature to get optimal read timing from a FPGA configuration
> >controller.
> 
> It is easy to control the timing for FPGA.
> 
> Thanks, Dave
> 
 		 	   		  

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-08-03  7:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-02  7:39 [U-Boot] How to support Page Mode Flash Memory Device? Cheng Vincent
2010-08-02  9:41 ` Stefan Roese
2010-08-03  2:47   ` Cheng Vincent
2010-08-03  3:30     ` David Hawkins
2010-08-03  3:40       ` Cheng Vincent
2010-08-03  6:35       ` Liu Dave-R63238
2010-08-03  7:09         ` Cheng Vincent

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox