public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Re: CRC errors and DMA
  2004-08-13 21:55 CRC errors and DMA Lucas Correia Villa Real
@ 2004-08-13 20:19 ` Carlos Manuel Duclos Vergara
  0 siblings, 0 replies; 2+ messages in thread
From: Carlos Manuel Duclos Vergara @ 2004-08-13 20:19 UTC (permalink / raw)
  To: linux-mtd

> 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@embedded.cl

^ permalink raw reply	[flat|nested] 2+ messages in thread

* CRC errors and DMA
@ 2004-08-13 21:55 Lucas Correia Villa Real
  2004-08-13 20:19 ` Carlos Manuel Duclos Vergara
  0 siblings, 1 reply; 2+ messages in thread
From: Lucas Correia Villa Real @ 2004-08-13 21:55 UTC (permalink / raw)
  To: linux-mtd

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 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?

Any suggestion is very welcome.

Thanks in advance,
Lucas

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-08-14  2:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-13 21:55 CRC errors and DMA Lucas Correia Villa Real
2004-08-13 20:19 ` Carlos Manuel Duclos Vergara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox