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.

BCACHE APIs in BIOS 6.30

Other Parts Discussed in Thread: SYSBIOS

Hi,

I have an application running on TCIC6472 EVM, which uses two of its six cores, on CCSv4. I have implemented the Cache functions using BCACHE APIs from BIOS5.31 (biosTCI6486.a64P)

Now, I am migrating to BIOS6.30, where BCACHE module is no longer supported, but legacy BCACHE APIs are supported.

I have tried to link with various BIOS libraries available in the package, but nothing actually resolved the BCACHE APIs.

Can anyone help me identifying the correct BIOS library supporting legacy BCACHE APIs? Or Which BIOS library actually supports CACHE module?

Thanks in Advance,

Venkat

  • You have 2 options:

    (1)  update your code to use the BIOS 6.x version of cache support.  We have basically same APIs.  Use ti/sysbios/hal/Cache (for portable APIs supported across 6x and Arm) or ti/sysbios/family/c64p/Cache if you need 6x-specific support like MAR bits.

    (2)  read the "Migration App Note" that summarizes how to use legacy BIOS 5.x APIs with BIOS 6.x.   The migration app note is available via a link the "Documentation" area of the release notes.

    Regards,
    -Karl-

  • Hi Karl,

    I have tried both the options, but nothing worked out.

    (1) I updated my code to use the APIs declared in ti/sysbios/family/c64p/Cache.h (like ti_sysbios_family_c64p_Cache_wbInv), and linked with the library  ti/sysbios/family/c64p/lib/whole_program_debug/ti.sysbios.family.c64p.a64P. I got the linking errors saying "undefined symbol ti_sysbios_family_c64p_Cache_wbInv__E"

    Can you help me linking the correct library? Do I need to link with any other libs?

    Thanks, Venkat

  • Hi Venkat,

    You should add the following line to your .cfg file to link in the needed library:

    var Cache = xdc.useModule('ti.sysbios.family.c64p.Cache');

    Regards,

    Shreyas