• 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 Single Core DSP » C67x Single Core DSP Forum » C6713 and daughtercard
Share
C6000 Single Core DSP
  • Forums
  • Announcements
Options
  • Subscribe via RSS

C6713 and daughtercard

C6713 and daughtercard

This question is not answered
Heiko Luckhardt
Posted by Heiko Luckhardt
on Mar 16 2012 04:50 AM
Prodigy10 points

Hi all,

I have to use the TMS320C6713 and the daughtercard (educational DSP) for my Bachelor Thesis. Now my problem is to load the

CCS .out file from matlab over the daughtercard. I initialize the EMIF but it doesn't works. If I load and debug

the program with CCS it will run. What's the problem with the matlab?

Matlab Code:

NET.addAssembly('D:\xxxxxxxxx.dll');
import C6XCONTROL_NetWrapper.*;

control = C6XCONTROL();

control.StartUp();
control.setDSP(WRAPPER_DSP_VERSION.C6713_COM);
control.setComPort(WRAPPER_ComPortNumbers.COM3, WRAPPER_ComSpeeds.COM_USB2);

control.ResetDsk();

control.ResetAndOpenHPI_Only();

CACHE          = uint32(hex2dec('01845004'));
EMIF_GCTL      = uint32(hex2dec('01800000'));
EMIF_CE0       = uint32(hex2dec('01800008'));
EMIF_CE1       = uint32(hex2dec('01800004'));           
EMIF_CE2       = uint32(hex2dec('01800010'));
EMIF_CE3       = uint32(hex2dec('01800014'));
EMIF_SDRAMCTL  = uint32(hex2dec('01800018'));
EMIF_SDRAMTIM  = uint32(hex2dec('0180001C'));
EMIF_SDRAMEXT  = uint32(hex2dec('01800020'));
EMIF_CCFG      = uint32(hex2dec('01840000'));

% FLUSH_CACHE_VAL   = uint32(hex2dec('1 '));
EMIF_GCTL_VAL     = uint32(hex2dec('00000068')) ;
EMIF_CE0_VAL      = uint32(hex2dec('ffffbf33')) ;
EMIF_CE1_VAL      = uint32(hex2dec('02208802')) ;
EMIF_CE2_VAL      = uint32(hex2dec('22a28a22')) ;
EMIF_CE3_VAL      = uint32(hex2dec('22a28a22')) ;
EMIF_SDRAMCTL_VAL = uint32(hex2dec('56115000')) ;
EMIF_SDRAMTIM_VAL = uint32(hex2dec('00000578')) ;
EMIF_SDRAMEXT_VAL = uint32(hex2dec('000a8529')) ;

control.Write(EMIF_GCTL, 1, [EMIF_GCTL_VAL 0]);
control.Write(EMIF_CE0, 1, [EMIF_CE0_VAL 0]);
control.Write(EMIF_CE1, 1, [EMIF_CE1_VAL 0]);
control.Write(EMIF_CE2, 1, [EMIF_GCTL_VAL 0]);
control.Write(EMIF_CE3, 1, [EMIF_GCTL_VAL 0]);
control.Write(EMIF_SDRAMCTL, 1, [EMIF_SDRAMCTL_VAL 0]);
control.Write(EMIF_SDRAMTIM, 1, [EMIF_SDRAMTIM_VAL 0]);
control.Write(EMIF_SDRAMEXT, 1, [EMIF_SDRAMEXT_VAL 0]);       


load_ans=control.LoadCOFF('FFT_Filter.out')
control.Run();


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 Mar 16 2012 18:56 PM
    Guru60360 points

    Heiko,

    Welcome to the TI E2E forum. I hope you will find many good answers here and in the TI.com documents and in the TI Wiki Pages. Be sure to search those for helpful information and to browse for the questions others may have asked on similar topics.

    In your case, there may be some community members who have experience with MatLab. It has been used for many years and is an awesome tool with features and capabilities to transform your ideas into great DSP code.

    My recommendation is to contact MathWorks for help with MatLab problems, though. Since you know that your C6713 board is working well, the problem must be something simple in the hardware connection between the PC running MatLab and the DSK, or else with the software that needs to be running on the DSK to allow it to interface to the MatLab PC connection.

    We can hope for an answer or two here, but MathWorks is a good place to try.

    When you do get this figured out, please post a reply here to explain what the problem was and what the solution was. Even if it is as simple and turning on the power or connecting the right cable.

    Regards,
    RandyP

    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.
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