From: Andrew Lunn <andrew@lunn.ch>
To: Paul Magee <pmagee@aptx.com>
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] Problem Programming Flash
Date: Mon, 06 Aug 2007 11:48:00 -0000 [thread overview]
Message-ID: <20070806114813.GB14598@lunn.ch> (raw)
In-Reply-To: <8C4E0C2409735E4FBC22D754A238F94D7A1538@APTSBS.apt.local>
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
prev parent reply other threads:[~2007-08-06 11:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-06 11:37 Paul Magee
2007-08-06 11:48 ` Andrew Lunn [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070806114813.GB14598@lunn.ch \
--to=andrew@lunn.ch \
--cc=ecos-discuss@ecos.sourceware.org \
--cc=pmagee@aptx.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).