This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

XDAIS in CCS



Hi all

     I am new to XDAIS algorithm complaint in windows, i am having following quaris

1. How to create a   "*.l64* "   library in ccs

Running test 'XDAIS Rule 15'
Verifying that the extension for library ".\Debug\Addition_lib.lib" is ".l64P"
Error: it isn't. The extension is .lib

2 I wanted to run a simple addition program(.lib) in  xdias complaint. i wrote a program as follows

#include<stdio.h>
#pragma CODE_SECTION (ADD_TI_add_test , ".test:ADD_TI_add_test _BUF")

int ADD_TI_add_test(void)
{
  int a=10,b=20;
  int c;
  c=a+b;
  return c;
 
}

so please help me to run the programe under xdais complaint

Thanks&regards

sureshkumar

  • Have you downloaded the eXpressDSP Algorithm Standard - xDAIS Developer's Kit and xDM?

    This is a good resource with documentation on the development of xDAIS compliant algorithms.

  • Hi all,

       Thank you Brandon Azbell  .Today i downlodded the XDC and XDIAS compnents and run the sample pjts(VEDDEC1) but i got below errors :

    Rule 20:Performance test failed. Unable to extract the 'worst case stack' information.
    Rule 12:Test failed. The module does not define data objects 'VIDDEC_TI_IALG' and 'VIDDEC_TI_IVIDDEC'.
    Error: data object 'VIDDEC_TI_IALG' not found.
    Error: data object 'VIDDEC_TI_IVIDDEC' not found.

    what should i do for this?

    I didnt get the wher the library calling application and wher the cmd file created for ".text:algControl".

    Thanks & regards

    suresh 

  • You should find this with the DVSDK for OMAP3 found at http://www.ti.com/omapsoftwareupdates.

     

  •     Thank you  BrandonAzbell.

    But i faced some problems in that example code  and   mentioned in "omap examplels in  dvsdk"  scarp.

    and also i am havaing follwing queris

    1.In example omap h264 dec project in dvsdk  .a64P and  Idma3.lib are used, how create this type of libraries  and how to make it xdais complaint , for that i need a simple program(that would really help me   a     lot)

    2. If I run the same project in dsp/bios config how to include different(multiple) libraries(i know how to add single lib).

    3 My colleague is asking  "create a simple library  and make it xdais compliance" till now i am not able to make xdais compliance (If i pass all the rules in xdais ,they checck it in linux ) 

    Please Help me. I am waiting for your valuable reply, so that i my all doubts  get cleared

    Thanks

    sureshkumar

  • So I see a few steps towards creating a sample application in OMAP

    1) you need to create your xdais/xdm compliant algorithms (produces lib file)

    2) you need to pull in several lib files and a64P files into algorithm server (produces x64P file assuming DSP side server)

    3) you can write application which provides user interface and uses algorithm server to process data (and peripheral drivers too exercise other hw as required).

    Step 1 above can be done in CCS Windows environment (or Linux), but the other two steps are normally done in Linux enviroment (non-CCS).  Also, please note that codec engine directory in DVSDK should have linux-based source code examples of codecs, servers, and applications and often provides a good starting point for developers wishing to write their own algorithm.

  • Hi, Juan,

    Could you please tell me whether we could use below method to build DSP side server?

    1) Build some lib on ccs.

    2) Use the example of codec_engine such as the example of dvsdk_2_00_00_22\codec_engine_2_23_01\examples\ti\sdo\ce\examples\codecs\videnc1_copy to build the codec lib in Linux. And we have encapsulated the lib's function built in CCS to the codec lib. 

    3) Build the DSP side server based on the example.

    We based on below build envionment.

    CCS:

    a) BIOS: V5.33.03
    b) CTG: V6.0.21

    Linux:

    a) BIOS: bios_5_33_03
    b) CTG: cg6x_6_0_21
    c) DVSDK: dvsdk_2_00_00_22
    d) XDC: xdctools_3_10_03

    Thanks,

    Robin

  • Hi, Juan,

    I have tested this method with one project, and found it can work. Thank you any way.

    Robin