This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Problem Programming Flash
- From: "Paul Magee" <pmagee at aptx dot com>
- To: <ecos-discuss at ecos dot sourceware dot org>
- Date: Mon, 6 Aug 2007 12:37:27 +0100
- Subject: [ECOS] Problem Programming Flash
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