[ECOS] Problem Programming Flash
Mon Aug 6 11:48:00 GMT 2007
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?
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss