Dear all,
I'm porting C6474 CSL EDMA3 to my project to transfer a block of a picture located in DDR to on-chip L1 memory! So I first new a CCSv3.3 project, and set the transfer parameters for my EDMA3 module and QDMA channel! after verifying the correctness of the EDMA3 transfer, I port the same EDMA3 code to my project! I split the EDMA3 code in the CSL into four part: Module initialization, channel parameter configuration, channel transfer start and wait for trander complete! But the CCS hangs every time after the begin of the channel transfer! But what bother me is that, in my project, if only keep the test program of the EDMA3 transfer, the program runs well and if only keep my program, certainly no probelm exist! I check the EDMA transfer parameters and the configuration registers, it is the same no mater with or without my program! So why the CCS hangs when adding EDMA3 program into my program?
By the way, the DSP/BIOS configuration for the EDMA3 test program and my project and I'm using the CCSv3.3 simulator to simulate the EDMA transfer on CoreA! Frow the view of the PaRAM Set configuration registers, the source and destination of the EDMA transfer are the same, too!
I've tried to debug step by step, seeing from the assembly code, afte the start of the EDMA transfer, and begin the running of my program, an error "Error: Illegal opcode (ec000000) at pc = 0x84811d74" occurs at the end of the function calling the EDMA start funcion! If this doesn't occur, run the assembly code step by step, the CCS may hang when process the "NOP 3" opcode!
touse