AnsweredAssumed Answered

Problem with Chained DMA via External port and IIEP register

Question asked by AstroMedGlen on Oct 15, 2009
Latest reply on Oct 16, 2009 by AstroMedGlen

Hello,

 

    I am experiencing some problems with chained DMA. I'm DMAing from SDRAM to internal via the external port. I am using a SHARC 21369 in a mixed C and ASM project. The portions pertaining to the DMA are written in ASM. I am trying to to create a 4-part chained DMA. I feel as though I have set up my TCBs and initiated the transfer correctly. They are attached in the included text file.

     After I run the DMA, I break at the completed interupt and check the External Port DMA Addressing registers for correctness. Everything looks correct and in order except for one bit. I see that both the Internal and external address have incremented by count and modify properly. That is with one small exception. The final value for the IIEP register should be BA72E. Instead it is 3A72E. This is a difference in the 19th bit. Is there any restrictions on the width or value of the IIEP register? The intended address points to a valid buffer in Data memory. I don't see what the problem here could be. Any ideas?

 

Thanks in advance,

Glen

 

@@Hexadecimal
1st TCB
[000B8188] 0x000B8193
[000B8189] 0x00000001
[000B818A] 0x00200000
[000B818B] 0x0000009C
[000B818C] 0x00000001
[000B818D] 0x000BA4BE
2nd TCB
[000B818E] 0x000B8199
[000B818F] 0x00000001
[000B8190] 0x00A00000
[000B8191] 0x0000009C
[000B8192] 0x00000001
[000B8193] 0x000BA55A
3rd TCB
[000B8194] 0x000B819F
[000B8195] 0x00000001
[000B8196] 0x08000000
[000B8197] 0x0000009C
[000B8198] 0x00000001
[000B8199] 0x000BA5F6
4th TCB
[000B819A] 0x00000000
[000B819B] 0x00000001
[000B819C] 0x08800000
[000B819D] 0x0000009C
[000B819E] 0x00000001
[000B819F] 0x000BA692

Attachments

Outcomes