> I had done the chained SPORT DMA in our board. it > is working perfectly without any offsetting. Yes, the index register is used without offset, but the DMA chain pointer register needs the offset. (21065L) Friedrich -----Ursprgliche Nachricht----- Von: Ajith Kumar P C [mailto:] Gesendet: Freitag, 6. Juni 2003 15:28 An: Burgwedel, Friedrich; Betreff: Re: AW: [adsp] Re: Simulate External devices on vdsp |
|
AW: AW: Re: Simulate External devices on vdsp
Started by ●June 6, 2003
Reply by ●June 10, 20032003-06-10
dear Friedrich I am afraid that i am doing wrong. i am also working in 21065l, and i am not doing any offset for DMA chain pointer in real time (not in simulation or emulation). This is the code for TCB initialization for the SPORT DMA (which i am using) xmit_tcb[7] = (int)tx_buff; // internal dma address xmit_tcb[6] = 1; // internal modifier xmit_tcb[5] = 5; //8 // internal count xmit_tcb[4] = (((int)&xmit_tcb[7])&0x0001ffff)|0x00020000; // set the pci bit on transmit block chain pointer xmit_tcb[3] = 0; xmit_tcb[2] = 0; xmit_tcb[1] = 0; xmit_tcb[0] = 0; For the simulation the xmit_tcb[7] is as follows xmit_tcb[7] = (int)tx_buff - 0x8000; // internal dma address On simulation time i changed the xmit_tcb[7] only. The rest r the same. I am confused, since i am getting realtime data with this initialization. pls expalin ur method and if possible give ur TCB initialization routine for my understanding. regards ajith --- "Burgwedel, Friedrich" <> wrote: > > I had done the chained SPORT DMA in our board. it > > is working perfectly without any offsetting. > > Yes, the index register is used without offset, but > the DMA chain pointer > register needs the offset. (21065L) > > Friedrich > > -----Ursprgliche Nachricht----- > Von: Ajith Kumar P C [mailto:] > Gesendet: Freitag, 6. Juni 2003 15:28 > An: Burgwedel, Friedrich; > Betreff: Re: AW: [adsp] Re: Simulate External > devices on vdsp __________________________________ |