Skip to contentSkip to conversation

Rx problems with IDMA on MPC860...

DISCUSSION Pedro Parrilla 2 participants 2 messages May 8, 2003

lore
Share & tools
lore
#0 lore raw

Hi,

I'm working on a MPC860T. I've been trying to receive from a
peripheral via IDMA and it seems to work OK, but when I study data received from IDMA I can see that there are some bytes at the end of each IDMA buffer received that are wrong, in fact they haven't been written to the buffer and previous bytes remain; but interrupts are received Ok, and the number of read bytes in the peripheral are the IDMA set.

It could be an access problem to the peripheral with IDMA(without
IDMA this access is totally OK!).

Does anybody have any experience in this regard?

Thank you in advance.

---------------------------------------------

Pedro Parrilla Jimena Prodys.S.L
Embedded Systems Programming Trigo,54
e-mail [email protected] Leganes(Madrid) 28914
Tel.:+34916896880 http://www.prodys.net

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 8 lines · In message <[email protected]> you wrote:

I'm working on a MPC860T. I've been trying to receive from a
peripheral via IDMA and it seems to work OK, but when I study data received from IDMA I can see that there are some bytes at the end of each IDMA buffer received that are wrong, in fact they haven't been written to the buffer and previous bytes remain; but interrupts are received Ok, and the number of read bytes in the peripheral are the IDMA set.

Are you sure you got the cache handling right?

Best regards,

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] If in any problem you find yourself doing an immense amount of work, the answer can be obtained by simple inspection.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/