Read/nBusy via interrupt

jasmine at linuxgrrls.org jasmine at linuxgrrls.org
Fri Oct 29 05:57:23 EDT 2004


> Thomas Gleixner wrote:

>> No. Usually R/B is connected anyway.
>
> usually? If the software doesn't need it, then why would you connect it?

Because hardware engineers usually design the hardware to be as flexible
as possible, in light of the fact that they don't know how the operating
system is going to want to use the hardware.

It's absolutely essential to implement interrupts on the RnB line if
you are going to run a realtime OS on the hardware, because polling
is 100% unacceptable in that situation.  You must poll with interrupts
disabled on a bus-connected Flash because otherwise interrupts and DMA
operations could potentially interfere with Flash operations.

Obviously in a realtime OS with target latency <50usecs, spending maybe
ten milliseconds with interrupts disabled is completely unacceptable.

So, connect the damned wire and shut up.

-J.,
software and hardware engineer.





More information about the linux-mtd mailing list