CRC errors and DMA
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
Quoted 2 lines
Hi,
Hi,
Quoted 2 lines
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
Quoted 5 lines
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...
Signature · 2 lines
Carlos Manuel Duclos Vergara [email protected]