• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Digital Signal Processors (DSP) » C6000 Multicore DSP » C64x Multicore DSP Forum » help for using C6474 CSL EDMA3
Share
C6000 Multicore DSP
  • Forums
  • Announcements
Options
  • Subscribe via RSS
Training Available
TI provides self-paced online training that introduces the primary components of the KeyStone II family of SoC devices.

  • KeyStone II SoC Overview >
  • KeyStone II Software Overview >
  • KeyStone II ARM Cortex-A15 Corepac Overview >
  • More Information >
  • Check out
    Multicore Mix blog
    • $core_v2_blog.Current.Name

      Geeks UNITE for Geek Pride Day

      Posted 1 day ago
      by Lauren Reed1
      Happy Geek Pride Day from the Processors team! We wanted to celebrate...
    • $core_v2_blog.Current.Name

      OpenMP - All aboard!

      Posted 3 days ago
      by Debbie Greenstreet
      With so many end products today relying on multicore DSPs for...
    • $core_v2_blog.Current.Name

      A look back: Two years of Multicore Mix

      Posted 4 days ago
      by Lauren Reed1
      A big thank you to everyone who participated in our contest last...

    help for using C6474 CSL EDMA3

    help for using C6474 CSL EDMA3

    This question is answered
    touse
    Posted by touse
    on Jun 04 2009 23:23 PM
    Expert1475 points

    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

    Digital Signal Processing, ARM DSPs, Embedded System, Multi-core Programming

    C6474 EDMA3 CSL Simulator
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • RandyP
      Posted by RandyP
      on Jun 16 2009 08:11 AM
      Guru60320 points

      Perhaps you have solved your problem by now. This is a difficult problem to understand, and I have read your posting several times to try to find a suggestion. I find three possible directions to approach the problem.

      touse

      I'm porting C6474 CSL EDMA3 to my project to transfer a block of a picture located in DDR to on-chip L1 memory!

      Is L1 configured with different cache settings in the test program than in your program? Or is the area of L1 to which you are transfering data in L1 cache rather than L1 SRAM. Please check these configurations by looking at the cache configuration registers, the DSP/BIOS configuration, and the destination address for the EDMA transfer.

      touse

      But the CCS hangs every time after the begin of the channel transfer!

      Immediately after the command that starts the channel transfer, insert some code that just waits, such as

      for ( i = 0; i < 1000; i++ )
              j=i+1;

      Put this code as deep as possible, such as immediately after the call to the CSL_ command that starts the transfer. Open a memory window to look at the destination memory where the EDMA should be writing and a memory window to look at the PARAM for this channel. Then single-step through the for-loop and watch the data as it changes in the memory windows. This may help you find exactly how far the transfer is progressing and which word or area is causing the problem.

      touse

      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!

      This is the best detail available to look for a specific problem. Is there an instance of "ec000000 anywhere in your source data in DDR memory? If this error is very consistent, then you could do a memory save for any or all regions of memory and search for ec000000 to find why this error is occuring.

      Search for answers, Ask a question, click  Verify  when complete, Help others, Learn more.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • touse
      Posted by touse
      on Jun 16 2009 22:34 PM
      Verified Answer
      Verified by touse
      Expert1475 points

      Thanks for your suggestion, RandyP! I've solved the problem!  Just as the CCS hangs during my simulation before, I think the SCR hangs caused the problem! I tried the same project after the computer restart next day, it worked well!

      Digital Signal Processing, ARM DSPs, Embedded System, Multi-core Programming

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    TI E2E™ Community
    • Support Forums
    • Blogs
    • Videos
    • Groups
    • Site Support & Feedback
    • Settings
    TI E2E™ Community Groups
    • TI University Program
    • Make the Switch
    • Microcontroller Projects
    • Motor Drive & Control
    Other Communities
    • Deyisupport
    • Designsomething.org
    • beagleboard.org
    • TI on Element 14
    • TI on TechXchangeSM
    Other Technical & Support Resources
    • WEBENCH® Design Center
    • Product Information Centers
    • Technical Documents
    • TI Design Network
    • TI Technical Articles
    • TI Training

    All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

    Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

    Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
    TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

    TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
    embedded processors, along with software, tools and the industry’s largest sales/support staff.

    © Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
    Trademarks | Privacy Policy | Terms of Use