This is the mail archive of the ecos-discuss@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: Problem Programming Flash


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


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