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.

CODECOMPOSER: migrating from CCS 6 to CCS 12 and DSP/BIOS to SYS/BIOS

Part Number: CODECOMPOSER
Other Parts Discussed in Thread: OMAP-L138, SYSBIOS

Tool/software:

I'm trying to migrate a legacy OMAP-L138 project from CCS6 on Ubuntu14 to CCS12 on Ubuntu22
I was able to port and build the ARM portion, but having issues with the DSP code (C674x)

CCS12 complains the project expects DSP/BIOS 5.x which I don't have nor see a way to get / install.
Looking at the forums and app notes, I see I should migrate to SYS/BIOS 6 which I have.

SPRAAS7G gives instructions on converting a project, but it was written in 2011 and the instructions are wrong. Some like changing -xp to --xdcpath are obvious, but I get an error about ti.bios.conversion

~/ti/ccs1270/xdctools_3_62_01_16_core/xs --xdcpath=~/ti/ccs1270/xdctools_3_62_01_16_core/packages/ ti.bios.conversion DFDIR_DSP.tcf

OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.

js: "/home/jboike/ti/ccs1270/xdctools_3_62_01_16_core/packages/xdc/xdc.tci", line 354: xdc.services.global.XDCException: xdc.PACKAGE_NOT_FOUND: can't locate the package 'ti.bios.conversion' along the path: '~/ti/ccs1270/xdctools_3_62_01_16_core/packages/;/home/jboike/ti/ccs1270/xdctools_3_62_01_16_core/packages;'. Ensure that the package path is set correctly.

What do I need to do to convert / compile this project?

Thanks,

  • Hello,

    CCS12 complains the project expects DSP/BIOS 5.x which I don't have nor see a way to get / install.

    you can get it from:

    https://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/bios/dspbios/index.html

    Make sure you get at least DSP/BIOS 5.4x. 

    As for your effort to migrate to BIOS 6.x, I will bring this thread to the attention of the device experts who support SYS/BIOS.

    Thanks

    ki

  • Ki,

    Thanks.

    I installed DSP/BIOS 5.4 and can get thru the link process, but a couple issues
    1. Under Properties > Resource > Linked Resources (Path Variable tab, the BIOS_CG_ROOT variable does not persist thru closing and starting CCS 12. I have to select Window > Preferences and "install" DSP/BIOS each time.

    2. I get gmake errors without any details

    Description    Resource    Path    Location    Type
    gmake: *** [build-1300023023] Error 2    My_DSP_proj             C/C++ Problem

    Regards,

  • Ki,

    It appears at least 1 of the gmake errors is from building the DSP/BIOS 5.42.01.09 example files:

    Building file: "../y/bios_5_42_01_09/packages/ti/bios/examples/control28069/msgq_tsk2tsk.tcf"
    Invoking: TConf
    "/home/user/ti/bios_5_42_01_09/xdctools/tconf" -b -Dconfig.importPath="/home/user/ti/bios_5_42_01_09/packages;/home/user/MityDSP-MDK/sw/DSP/templates;" "../y/bios_5_42_01_09/packages/ti/bios/examples/control28069/msgq_tsk2tsk.tcf"
    y/bios_5_42_01_09/packages/ti/bios/examples/control28069/subdir_rules.mk:129: recipe for target 'build-1300023023-inproc' failed
    js: Reference constraint violation: L78DPSARAM is an illegal value for TSK.STACKSEG
    gmake[1]: *** [build-1300023023-inproc] Error 1
    gmake: *** [build-1300023023] Error 2
    y/bios_5_42_01_09/packages/ti/bios/examples/control28069/subdir_rules.mk:126: recipe for target 'build-1300023023' failed
    Building file: "../y/bios_5_42_01_09/packages/ti/bios/examples/dsk5510/msgq_tsk2tsk.tcf"
    Invoking: TConf
    "/home/user/ti/bios_5_42_01_09/xdctools/tconf" -b -Dconfig.importPath="/home/user/ti/bios_5_42_01_09/packages;/home/user/MityDSP-MDK/sw/DSP/templates;" "../y/bios_5_42_01_09/packages/ti/bios/examples/dsk5510/msgq_tsk2tsk.tcf"
    Finished building: "../y/bios_5_42_01_09/packages/ti/bios/examples/dsk5510/msgq_tsk2tsk.tcf"
     

    Are these examples files needed? can I move / delete them?

    I also tried re-installing CCS 12 and rolling back to CCS 10 with no change.

  • The reference to the dsk5510 file looks indeed suspicious.

    I've brought this thread to the attention of the device experts. They support DSP/BIOS and SYS/BIOS for your device. They can assist further. 

  • compared my CCS 10 / 12 project to the original CCS 6 and saw that something had placed a copy of the DSP/BIOS files in a sub-folder of my project. I deleted those and am now seeing a number of warnings and errors with the ..cfg.s62 file generated from the DFDIR_DSP.cdb file.

    a sample of the errors:
    "DFDIR_DSPcfg.s62", WARNING! at line 386: [W1500] warning:  relocation template 262 not found; returning OFR_INVALID
                .word ( (GBL_stackend-GBL_stackbeg+1) / STD_TARGWORDMAUS ) - 16 ; nwords
     
    "DFDIR_DSPcfg.s62", WARNING! at line 386: [W1500] warning:  relocation template 277 not found; returning OFR_INVALID
                .word ( (GBL_stackend-GBL_stackbeg+1) / STD_TARGWORDMAUS ) - 16 ; nwords
     
    "DFDIR_DSPcfg.s62", WARNING! at line 386: [W1500] warning:  relocation template 259 not found; returning OFR_INVALID
                .word ( (GBL_stackend-GBL_stackbeg+1) / STD_TARGWORDMAUS ) - 16 ; nwords
     
    "DFDIR_DSPcfg.s62", ERROR!   at line 386: [E0200] Unable to resolve this relocatable expression; relocation support for arbitrary expressions is not available in the C6000 EABI
                .word ( (GBL_stackend-GBL_stackbeg+1) / STD_TARGWORDMAUS ) - 16 ; nwords

    Could this be related to changing from COFF to EABI output? (old version used COFF, but new compiler doesn't support it)

  • Ki,

    Tried CCS 12.7.1 also. Both w/ variant set for Generic C674x and OMAPL128 and I get the same errors and warnings. Also tried w/ compiler TI v8.3.12 & 8.3.2. It appears the .cdb file is generated directly by CCS from the configuration. What do I need to get this to work? Do you need files or additional info from me?

    Regards,

  • Ki,

    Can I get the TI v7.4.4 [TI v7.4.18] compiler that compiles this project successfully on CCS 6.2?
    Will it work w/ CCS 12?

  • Can I get the TI v7.4.4 [TI v7.4.18] compiler that compiles this project successfully on CCS 6.2?
    Will it work w/ CCS 12?

    Yes. You can use the CCS update manager:

    https://dev.ti.com/tirex/explore/node?node=A__AJRfIGmBSkp9naUDysxAFg__ccs_devtools__FUz-xrs__LATEST

  • Outside of CCS migration, DSP/BIOS and SYSBIOS products for these devices are no longer supported by TI.  Please check the support guidance here:

    (99) Notice regarding Processor SDK TI-RTOS for AM335x, AM437x, OMAP-L13x, C674x, K2G devices - Processors forum - Processors - TI E2E support forums