public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Problem Programming Flash
@ 2007-08-06 11:37 Paul Magee
  2007-08-06 11:48 ` Andrew Lunn
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Magee @ 2007-08-06 11:37 UTC (permalink / raw)
  To: ecos-discuss

 
I'm currently trying to write to flash using flash_program(), on a board
that is derived from the A&M Python PowerPC board. The flash chip is the
Spansion S29GL512N. 

The problem is that if I try to write data >64K, the call to
flash_program() returns out with the error that the driver has timed out
waiting for flash. If I program in small chunks, it writes fine up until
I have written 64K, then it returns the same problem. 

Is there a limit on what you can write using flash_program()? I have
checked the documentation and not noticed any. Or is there anything else
I am doing wrong?

Thanks in advance
Paul

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

* Re: [ECOS] Problem Programming Flash
  2007-08-06 11:37 [ECOS] Problem Programming Flash Paul Magee
@ 2007-08-06 11:48 ` Andrew Lunn
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Lunn @ 2007-08-06 11:48 UTC (permalink / raw)
  To: Paul Magee; +Cc: ecos-discuss

On Mon, Aug 06, 2007 at 12:37:27PM +0100, Paul Magee wrote:
>  
> I'm currently trying to write to flash using flash_program(), on a board
> that is derived from the A&M Python PowerPC board. The flash chip is the
> Spansion S29GL512N. 
> 
> The problem is that if I try to write data >64K, the call to
> flash_program() returns out with the error that the driver has timed out
> waiting for flash. If I program in small chunks, it writes fine up until
> I have written 64K, then it returns the same problem. 
> 
> Is there a limit on what you can write using flash_program()? I have
> checked the documentation and not noticed any. Or is there anything else
> I am doing wrong?

How big are the flash pages? I wounder if there is a bug/problem when
going over a page boundary? 

      Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

end of thread, other threads:[~2007-08-06 11:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-06 11:37 [ECOS] Problem Programming Flash Paul Magee
2007-08-06 11:48 ` Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).