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]

strata erase and prog fixes


For the bootblock case there's an error determining whether a block is
among the first blocks or not because one of the operands in the
comparison is given in bytes (BLOCKSIZE) and the other in flash_t.
Fix needed for early bootblock flashes and more recent wireless stratas.
Also starting with synchronous strata (part K) erase cycles need to
specify the block address in the first cycle of the command not just any
address. Program commands need to do the same with the word address.
Since earlier parts take any address they'll work with this change.
The status register alsoo needs to be read form the block being worked
on. 
Jani

Attachment: str.diff
Description: Text document


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