TI E2E Community (Beta)
Welcome to the TI E2E (Engineer-to-Engineer) Community! We invite you to freely and openly interact with your peer Engineers, TI Engineers, and other experts in order to ask questions, share knowledge, explore ideas, and help solve problems.
More Search Options

XDAIS on C672x

rated by 0 users
Answered (Verified) This post has 4 verified answers | 18 Replies | 3 Followers

Top 500 Contributor
20 Posts
Community Member
MeghaDaga posted on 7 Oct 2009 7:48 PM

Hi,

I am a beginner to XDAIS and need some help in running an XDAIS example projects on C672x platform.

For XDAIS Developer's Kit, I downloaded v5.21 from location mentioned on "http://focus.ti.com/docs/toolsw/folders/print/tmdxdaisxdm.html". For testing, I opened one of the example projects, "auddec1_copy.pjt" under "..\xdais_5_21\examples\ti\xdais\dm\examples\auddec1_copy\pjt" in CCS. When i try to build this project, it gives me below error:

"auddec1_copy.c", line 17: fatal error: could not open source file "xdc/std.h"

But when I download XDAIS v5.21, I dont see any XDC folder. Please let me know if I need to install something additional for XDC. One of the documents mention to follow sprued6.pdf for XDC insatllation. I did go through that document and it talks about altering the mak file. But I dont see any mak file inside the downloaded example proejct. Please let me know what am I missing here.

Thanks,

Megha

 

 

Answered (Verified) Verified Answers

Top 10 Contributor
845 Posts
Texas Instruments Employee

I think you need to add a couple -D options to your compiler options to look like this:

cl6x -Dxdc_target_types__=ti/targets/std.h -Dxdc_target_name__=C64

FYI, I got that info from here.
Top 10 Contributor
845 Posts
Texas Instruments Employee

Perhaps you should update to the latest version of XDAIS.  The version you're using is almost 2.5 years old.  I believe you need to download the XDC tools as well to get the std.h file.

Top 10 Contributor
845 Posts
Texas Instruments Employee
Verified by MeghaDaga

The latest version of the eXpress DSP Component Wizard is bundled with version 4 of xDAIS.

You can find it at: https://www-a.ti.com/downloads/sds_support/targetcontent/XDAIS/xdais_4_0/index.html

Having a solid reference/example is often sufficient. In this case you can see http://tiexpressdsp.com/wiki/index.php?title=XDAIS_sample_algorithm 

Sample code is attached to that article.

Reference Frameworks can be found here: https://www-a.ti.com/downloads/sds_support/applications_packages/index.htm

The "xDAIS Framework Components "can be found here: http://software-dl.ti.com/dsps/dsps_registered_sw/sdo_sb/targetcontent/index.html

Top 10 Contributor
845 Posts
Texas Instruments Employee
Verified by MeghaDaga

You must have missed the startqti.bat file in the root directory of the xdais installation.  Open that file for editing and it describes where more info can be found.  I think it only depends on having a XDC_INSTALL_DIR variable defined.

All Replies

Top 10 Contributor
845 Posts
Texas Instruments Employee

I think you need to add a couple -D options to your compiler options to look like this:

cl6x -Dxdc_target_types__=ti/targets/std.h -Dxdc_target_name__=C64

FYI, I got that info from here.
Top 500 Contributor
20 Posts
Community Member

Hi Brad,

Thanks for the reply. I did try to add that to command line, but it gave me below command line error:

Command-line error: invalid macro definition: c16x -Dxdc_target_types__=ti/targets/std.h

Also as I am using C672x should i define

-Dxdc_target_name__=C64
as
-Dxdc_target_name__=C67

I think the issue is that there is no std.h file in the installed v5.21 of xdais.
Please let me know if I am missing anything.

Thanks
Megha

 

Top 10 Contributor
845 Posts
Texas Instruments Employee

Perhaps you should update to the latest version of XDAIS.  The version you're using is almost 2.5 years old.  I believe you need to download the XDC tools as well to get the std.h file.

Top 500 Contributor
20 Posts
Community Member

Thanks Brad,

Finally after installing the latest versions of XDAIS and XDC tools, I was able to compile the examples provided in XDAIS.

I have another question regarding development platform to be used for XDAIS. I need to develope my algorithm to meet XDAIS requirements and on a C672x platform. For that do I need to use PADK? Is it possible to use SDK on a DA710/708 EVM?

Thanks,

Megha Daga

 

Top 10 Contributor
845 Posts
Texas Instruments Employee

I'm not sure I fully understand what you're asking.  Since a XDAIS algorithm is a "pure" algorithm (i.e. doesn't touch peripherals) then it shouldn't matter what you use to develop it.  It could be PADK, DA710 EVM, simulator, etc.  The core is the main thing you need to have correct.

Brad

Top 500 Contributor
20 Posts
Community Member

Hi Brad,

If I understand right, XDAIS algorithms are generally library projects and I will be getting a library as output. For real time testing of that library is it fine to test it with any platform: PADK or SDK? Is there any document which talks about real time testing of XDAIS algorithms?

Thanks

Megha Daga

 

Top 500 Contributor
20 Posts
Community Member

Hi Brad,

Is there any document which talks about how to integrate a XDAIS algorithm into PADK? I trying to design a XDAIS compliant algorithm and want to run the real time test on PADK. I have been looking for documents on this, but have been unable to find any yet.

Thanks

Megha

 

Top 10 Contributor
845 Posts
Texas Instruments Employee

Megha,

To be honest, I think there is a bit of a gap in terms of XDAIS support with c672x.  Back when we had the c6713 we used something called "the Reference Frameworks" as the run-time environment into which you plug your XDAIS algorithm.  That software has been superseded by "Framework Components" and "Codec Engine" which still support your XDAIS algorithms from the past, but in a revised run-time environment.  As I look at the release notes for Framework Components and Codec Engine it looks like they have been tested on newer devices like OMAP-L137 (which is same as c6747 + ARM9), but they were not tested on c672x.  So I think you would either need to get the older "Reference Frameworks" and forward port to 672x or else you can get the newer Framework Components and backport to 672x.

Perhaps the best option (if it's possible for you) would be to move your development to c674x.  That way you can use the newer software and it will be easier to get supported.

Brad

Top 500 Contributor
20 Posts
Community Member

Hi Brad,

XDAIS documents suggest to use a tool "Component Wizard" to create a XDAIS compliant algorithm. This tool should be present in CCS but I dont see it either in CCS v3.1 or v3.3. Is it suppose to be bought seperately?

Also can you please point me to the Reference Frameworks and the newer Framework Components you talked about in your previous e-mail.

Thanks

Megha

 

Top 10 Contributor
845 Posts
Texas Instruments Employee
Verified by MeghaDaga

The latest version of the eXpress DSP Component Wizard is bundled with version 4 of xDAIS.

You can find it at: https://www-a.ti.com/downloads/sds_support/targetcontent/XDAIS/xdais_4_0/index.html

Having a solid reference/example is often sufficient. In this case you can see http://tiexpressdsp.com/wiki/index.php?title=XDAIS_sample_algorithm 

Sample code is attached to that article.

Reference Frameworks can be found here: https://www-a.ti.com/downloads/sds_support/applications_packages/index.htm

The "xDAIS Framework Components "can be found here: http://software-dl.ti.com/dsps/dsps_registered_sw/sdo_sb/targetcontent/index.html

Top 500 Contributor
20 Posts
Community Member

Hi Brad,

I am now able to create XDAIS compliant algorithm using Component Wizard. Now I am trying to test the code using QualiTI.

QualiTI is suppose to be present in the xdais_4_0 link you provided. I am going through qualiti_ug.doc present in the qualtiti folder inside this xdais release. As per the XDAIS link this QualiTI release works outside CCS and uses Perl Scripting. For that I downlaoded the latest versionof ActivePerl. The qualiti_ug.doc talks about some qualiti.ini file and systest (under the section Configuring QualiTI on Windows), whichI am unable to find inside the xdais released folder.

Is there something else I need to download for QualiTI? I believe there is a version of QualiTI which I can use with CCS. Can you please let me know where can I find that and if thsts copatible with xdais 4.0.

Thanks

Megha

Top 10 Contributor
845 Posts
Texas Instruments Employee

Megha,

The only thing you should use from 4.0 is the utility to generate your XDAIS algorithm.  Once you've gotten that far I would switch everything to the latest XDAIS version.  The latest XDAIS will have a much better version of the QualiTI tool.  Many enhancements/fixes have been made.

Brad

Top 500 Contributor
20 Posts
Community Member

Hi Brad,

I did download latest version of XDAIS from "http://software-dl.ti.com/dsps/dsps_registered_sw/sdo_sb/targetcontent/XDAIS/xdais_6_00/index.html", but again this folder is quite different from the one in XDAIS 4.0 release and I still dont see QualiTI listed on CCS tool.

Please let me know if I am missing anything here.

Thanks

Megha

 

 

Top 10 Contributor
845 Posts
Texas Instruments Employee
Verified by MeghaDaga

You must have missed the startqti.bat file in the root directory of the xdais installation.  Open that file for editing and it describes where more info can be found.  I think it only depends on having a XDC_INSTALL_DIR variable defined.

Page 1 of 2 (19 items) 1 2 Next > |

ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". TI AND ITS RESPECTIVE SUPPLIERS 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. 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 and its suppliers 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.