CRC errors and DMA

Carlos Manuel Duclos Vergara carlos at embedded.cl
Fri Aug 13 16:19:38 EDT 2004


> Hi,
>

Hi,

> What happens when the processor tryies to read data from memory while the
> bus is being used for DMA transfers by another device? Is it possible that

it depends on the processor, but that situation shouldn't happen... there must 
be some kind of bus master or some way to manage the bus (by using a token, 
by using a master-slave bus, ...). In most cases the DMA controller takes 
control of the bus during the DMA transfer, so the rest of the devices cannot 
use it

> this kind of situation turns into CRC errors when trying to read data from
> a flash device (JFFS2)?
> Given that this problem can happen, is there a way to make JFFS2, or the
> MTD subsystem to try to execute the operation again?
>

_IF_ you have that situation it is better to check your hardware or use 
another one, having a DMA controller that cannot take control of the bus to 
do its work is not a good situation...

-- 
Carlos Manuel Duclos Vergara
carlos at embedded.cl




More information about the linux-mtd mailing list