DSPRelated.com
Forums

DMA dosen't work !

Started by di he November 4, 2003
hello !
 i got a big problem when emulating my own board.
this is my emulating evironment:
      
       CCS2.2
       PCI emulator card with JTAG
       and my own 6203 board
 
    i can load some filter programs into my board, it works fine!
the timer in the DSP is ok!
    and all the internal ram is accessable...
     when i config the DMA channel 0 to transfer data only in internal data ram, i find it dosen't work, i am sure that the value i wrote to the DMA0 regisers is correct, and the DMA0 START bit shows 1b(or 11b), which means the channel is running.
      But the value in the source & destnine address register have no change!  the counter register remain the original value too!
 
(my program works right in c6203 sim and on c6201 EVM board.)
 
 when i find DMA0 dosen't work, i test the other DMA channels with the same code. then i find after my program is start,  the STATUS feild remains 10b, which means the channel is paused!
  
  i checked my correct program a big number of times, it still donsen't work!
 
    my board's boot mode is set to external flash boot. when reset, the DSP will move 64kBytes code from Flash to 0x00000000 through DMA0, but this will not happen when JTAG is used, right ?
   actually, the JTAG is always used on my borad. is the problem come from the JTAG ?
    i don't know what can i do next...
    i greatly need your help.

__________________________________________________