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.

TMS320C5535: The problem of commissioning Telecomlib (AER) library on TMS320C5535

Part Number: TMS320C5535
Other Parts Discussed in Thread: TELECOMLIB

Tool/software:

Good afternoon,

I've recently started a project of putting a Telecomlib (to be specific, Acoustic Echo Cancellation/Removal). I have installed the library and CCS, also a C5500 compiler from the CCS App Center, but for some reason, when I call any function from the library (file aer.h), the project cannot be build due to different errors. I have started a few CCS projects to try different configurations.

This is the first one. It is called 'new_amit'. I have already fixed some issues, but now I stuck with this one. I tried to change target many times. Could you tell me what target should I choose? I am sure the problem is somewhere in the configuration of the project, but I can't figure out, where exactly.

  

This is the second. I didn't add XDCTools to this one just to see, what will happen.

If anyone could help with this, I would be really grateful.

Thanks beforehand.

Best wishes,

Oleg Borshch

  • Hi Oleg,

    Please download and install the C55XCSL-LOWPOWER CSL 03.08.01 from SPRC133 Driver or library | TI.com, then refer to the CCS project in C:\ti\c55_lp\c55_csl_3.08.01\demos\audio-preprocessing\c5517.

    Keep in mind, you will need to install the following dependent components for building the CSL 03.08.01:

    DSP/BIOS 5.42.00.07 and DSP/BIOS 5.42.02.10
    CCS 7.3 or later
    CGT for C5500 4.4.1
    XDCTools 3.24.05.48
    XDAIS 7.24.00.04
    AERLIB for C55x CPU Rev 3.3 17.00.00.00
    VOLIB for C55x CPU Rev 3.3 2.01.00.01

    Best regards,

    Ming

  • Hi Ming,

    Thank you very much for the reference project, it helped a lot.

    Could you also help me with this problem? There is an error #10234-D, unresolved symbol. I added the path and the file itself to the linker, but the issue persists.

    Maybe there is a problem in my code?

    #include <stdio.h>
    #include "aer.h"

    /**
    * hello.c
    */
    tint aerNew(void **aerInst, tint nbufs, ecomemBuffer_t *bufs, aerNewConfig_t *cfg);
    tint aerOpen(void *aerInst, aerConfig_t *cfg);
    tint aerClose(void *aerInst);
    tint aerDelete(void **aerInst, tint nbufs, ecomemBuffer_t *bufs);


    int main() {
    // Variables
    void *aerInstance = NULL;
    tint numBuffers = 1;
    ecomemBuffer_t buffers[1];
    aerNewConfig_t newConfig;
    aerConfig_t openConfig;

    tint result = aerNew(&aerInstance, numBuffers, buffers, &newConfig);
    if (result != 0) {
    printf("Failed to create AER instance. Error code: %d\n", result);
    return result;
    }

    result = aerOpen(aerInstance, &openConfig);
    if (result != 0) {
    printf("Failed to open AER instance. Error code: %d\n", result);
    return result;
    }

    result = aerClose(aerInstance);
    if (result != 0) {
    printf("Failed to close AER instance. Error code: %d\n", result);
    return result;
    }

    result = aerDelete(&aerInstance, numBuffers, buffers);
    if (result != 0) {
    printf("Failed to delete AER instance. Error code: %d\n", result);
    return result;
    }

    printf("AER instance created, opened, closed, and deleted successfully.\n");
    return 0;
    }

    Best wishes,

    Oleg Borshch



  • Hi Oleg,

    Please add the C:\ti\aer_c55l_cpuv3.3_obj_17_0_0_0\packages\ti\mas\vpe\lib\vpe_c.a55L into your project.

    Best regards,

    Ming

  • Thank you very much. It solved my issues.

    Best regards,

    Oleg Borshch