• 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) » DaVinci™ Video Processors » DM64x DaVinci Video Processor Forum » Problem with DMA on Simulator
Share
DaVinci™ Video Processors
  • Forums
  • Announcements
Options
  • Subscribe via RSS

Forums

Problem with DMA on Simulator

This question is not answered
sandeep3378
Posted by sandeep3378
on Sep 11 2008 06:33 AM
Prodigy140 points


Hi all,

I am currently working on TMS320DM6437 using Code Composer Studio 3.3.38.2.

As part of optimization, i am using DMA with the help of ACPY3 modules. This

works fine while running on board.But when working on cycle accurate simulator

it hangs at ACPY3_WAIT().


1. Is this a simualtor bug? how do we resolve it?

2. I am not able to upgrade my 3.3.38.2 to higher versions(3.3.56 or 3.3.79..etc).

    while using update advisor found in CCS and registering my product in TI website,
   
    it returns configurations uptodate. Where do i find the lastest version?
   

Waiting for your replies,

Regards,
Sandeep

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Juan Gonzales
    Posted by Juan Gonzales
    on Sep 11 2008 08:22 AM
    Mastermind33965 points

    I am not an expert on this topic, but I do know there are known issues with DMA and the accurate cycle simulator.  Since ACPY3 API is DMA related, this could explain this behavior, although I would not think this should cause a hang (just not very accurate cycle count data).

    I believe we are testing a solution for DMA and cycle accurate simulator, but this is not available on the update advisor site yet, hence please stay tuned.

    With regards to getting CCS software updates, again this is not my area of expertise so perhaps someone else can explain why you would have problems using update advisor, but you should be able to find these updates by visiting the update advisor website directly using the link below

    https://www-a.ti.com/downloads/sds_support/CCSv3.3ServiceReleases.htm

    CCS cycle accurate simulator update advisor
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • william4015
    Posted by william4015
    on Sep 12 2008 04:05 AM
    Prodigy220 points

    Hi Sandeep,

    I am currently working on TMS320DM6446 using Code Composer Studio 3.3.38.2.
     

    Also I'm doing optimization, I tried to use ACPY3 modules, it's regret I havn't succeeded all the time.

    The error is follow:

    [Linking...] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -@"Debug.lkf"
    <Linking>

     undefined                        first referenced
     symbol                              in file
    ---------                        ----------------
    _ACPY3_start                      E:\\dma\\Debug\\dma.obj

    it has included <acpy3.h>,<idma3.h> header file In source file, how can I solve this problem ?

    could you tell me that using ACPY3 modules needs include which header files? or other files and needs attentive things.

    Thank you a lot

    William

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Bernie Thompson TI
    Posted by Bernie Thompson TI
    on Sep 12 2008 18:28 PM
    Mastermind41680 points

    Sandeep may have additional feedback as to specifically how to include the ACPY3 library, but I can say that this is a library and not a header file you need, since this is the linker complaining and not the compiler (linker dereferences all objects to their actual files, and it could not find the ACPY3_start function's binary). It is probably in some binary within framework_components_x_xx_xx\packages\ti\sdo\fc\acpy3 as mentioned in my prior post.

    ACPY3
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • sandeep3378
    Posted by sandeep3378
    on Sep 13 2008 02:56 AM
    Prodigy140 points

    Hi william,

     

    It looks like u havent included the ACPY3 library.

    It can be found at

    C:\dvsdk_1_01_00_15\framework_components_2_10_01\packages\ti\sdo\fc\acpy3\acpy3.a64P

    you can download the latest framework component from TI website.

    hope this would resolve your problem, if not do let me know.

     

    regards,

    Sandeep

     

     

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • william4015
    Posted by william4015
    on Sep 16 2008 01:14 AM
    Prodigy220 points

    Hi Bernie and Sandeep,

    Thanks for your help, when I include the ACPY3 library in my project, it can be compiled successfully.

    Thanks a lot!

    William 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • william4015
    Posted by william4015
    on Sep 16 2008 05:19 AM
    Prodigy220 points

    Hi Sandeep,

    I want to transfer CIF video data from Encbuf[] to Decbuf[]; follow is the codes of Y componet I adopt:

        ACPY3_activate(h);
        ACPY3_wait(h);

        p.transferType          = ACPY3_1D2D;
        p.srcAddr                 = Encbuf;        // char  //the first Y line of plane YUV420
        p.dstAddr                 = Decbuf;            

        p.elementSize           = 1;
        p.numElements          = 352;
        p.numFrames            =1;

        p.dstElementIndex     = 2;
        p.srcFrameIndex        = 1;
        p.dstFrameIndex         = 1;
        p.waitId = 0;

        ACPY3_configure(h,&p,0);
        ACPY3_start( h );
        ACPY3_wait( h );

    all the code above loop to 288 times and finish one frame .

    when run above codes, the value of Decbuf[] is not change, I can't find where I configure error, or I miss to set some parameters !

    Please help me! Thanks a lot!

    William

    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