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.

CCS5.5 BIOS5.14 NDK 2.20 missing library :- BCACHE ?

Other Parts Discussed in Thread: TMS320DM642

I am attemting to migrate an old CCS3 project on DM642 to CCS5.5

The original project used bios 5 and NDK 1 and I have changed these to BIOS 5.41.11.38 and NDK 2.20.06.35 which are, I believe, the latest NDK and DSP/BIOS combination that have support for the DM642.

I am using the HAL drivers for the DM642 from the NDK 2.0.0 kit.

I am using the C64plus libs from NDK 2.20

When building the project I get the following unresolved references:-

undefined           first referenced                                                      

symbol in file

---------           ----------------                                                      

_BCACHE_wait        C:/ti/ndk_2_20_06_35/packages/ti/ndk/lib/C64plus/os_bios5.lib<oem.o64P>

_BCACHE_wbInv       C:/ti/ndk_2_20_06_35/packages/ti/ndk/lib/C64plus/os_bios5.lib<oem.o64P>

_OEMCacheCleanSynch ./Ethernet_HAL/dm642.obj     

 The platform load lines from the tcf file are:-

/* loading the generic platform */

var params = {};

params.clockRate = 600.000000;

params.deviceName = "DM642";

params.catalogName = "ti.catalog.c6000";

params.regs = {};

params.regs.l2Mode = "4-way cache (0k)";

utils.loadPlatform("ti.platforms.generic", params);

What libs am I missing, or what do I need to rebuild ?

Thanks in advance for any suggestions

 

MIG

 

   

  • Hi MIG,

    The BCACHE APIs are not supported on the C64 processor, which is what the DM642 has.  Your configuration (with platform for DM642) is telling BIOS to link in the C64x libraries, which do not have these cache APIs.

    Furthermore, NDK 2.20x does not support C64, it does support C64x+, which has cache, and that's why the NDK OS libraries reference them.

    Your best bet may be to try moving to NDK 2.0.0 which still has support for DM642.

    Steve

  • Steve

    Just got around to trying and testing this and NDK2.0.0 does indeed compile and give good results on the DM642 target.

     

    Thanks for the guidance

    mig

     

  • Hi:

         Malcolm Gillott ! I am also migrate an old CCS3.3 project about network on TMS320DM642 to CCS5.5 ,  When I finished the work and completed project without errors, but had some warning 

    And I ignored them, then debug on DM642 , The program can run a litter time, and it will appear a error.

    I have no idea how to do it, Can you tell me something about migrating an old CCS3.3 project to CCS5.5. and somethig I should notice.

     Thank you very much if you can give me some suggetions.

  • Hi Maleon,
    We generally discourage posting a new question to an old closed thread because the person who answered before may no longer be available, and also it will allow whomever is currently assigned to monitor the forum to respond to you more quickly. For these reasons, I suggest you start a new thread with your question and reference this thread.

    Thank you