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.

TDA2: EVE Kernel C code in vision SDK

Part Number: TDA2

Hi, 

I try understand how to use VCOP and ARP32 in vision sdk. I read guides for EVE and found next steps:

1. Write kernel .k file

2. Get .obj file  by cl-arp32

3. Compile ELF file

I have some questions:

1. I have .k file. I have simple algorith in Vision SDK, that works on ARP32. What should I do to connect .k file with vision SDK algorithm plugin?

2. What is AlgIvision? It is used in EVE algPlugins run precompiled EVE library, it's right? Where I can read about it? 

3. Also I met *.eve.lib in SDK, how can I get if i have .k file?

Thank you for answers.

  • I have found answer on first question:
    1. Add *.k file in SRC_FILES.MK like " SRCS_K_arp32_1 += <filename>.k " and define function prototype in .c file where it is called.
  • Hi Danil,
    Please find my answer's inline

    1. I have .k file. I have simple algorith in Vision SDK, that works on ARP32. What should I do to connect .k file with vision SDK algorithm plugin?
    >>> refer answe for point 3.

    2. What is AlgIvision? It is used in EVE algPlugins run precompiled EVE library, it's right? Where I can read about it?
    >>> Can you point to the file or folder which you are referring here?

    3. Also I met *.eve.lib in SDK, how can I get if i have .k file?
    >>> These are the library generated when you build eve sw library. The same is located at <VSDK_PATH>ti_components\algorithms\eve_sw_01_xx_xx_xx. You can refer evesw_getting_started.pdf to see how to build these. If you add your kernel to the kernels\kernels_list.txt file it will get build and be part of libevekernels.eve.lib. This procedure can also be used for your first question

    Regards,
    Anshu

  • Hi,
    I found reference on AlgIvision in censusLink_algPlugin.c, functions AlgIvision_create(), AlgIvision_process()
  • Hi,
    You can refer <VSDK_PATH>ti_components\algorithms\eve_sw_01_xx_xx_xx\apps\docs\EVE_Applets_UserGuide.pdf chapter 2 to understand the ivision API's used in these functions.

    Regards,
    anshu