This is the mail archive of the ecos-patches@sources.redhat.com 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: [ECOS] flash erase - network stack


Hi,

> >
> > The flash driver I use is: amd/am29xxxxx variant am29lv640
>
I am using the am29lv641 flash and I found that the erase fails if the
system runs with a high frequency of interrupts.

I suspected the flash driver and consulted the am29 spec and found that the
erase command must be given within a 50uS timeframe to be accepted. The spec
also recommends that interrupts should be turned off during this command.

The appended patch solved the problem for me.
/Per Hedblom
ABEM

Attachment: am29xx_patch.txt
Description: Text document


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