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.

Trying to get ARM and DSP to pass enums CCSV5.3.0.00090 & OMAPL-138...

Other Parts Discussed in Thread: SYSBIOS

Seems like the DSP wants to have 32bit enums (and changing to small is not advised) and the ARM wants to pack to small enums (we only have 5 elements in this particulare enum) so when passing a message with this enum from ARM to DSP it doesn't work using the IPC system.

We found the below FORUM discussion but it did not work.

http://e2e.ti.com/support/embedded/bios/f/355/p/227731/800689.aspx#800689

We tracked it down to the BIOS.customeCCOpts setting was crashing the build (something like no rule to build xdc/Types.c).

How do we get the enums to play nice between the two processors?  Don't care which way we go.

BIOS6 6.34.2.18 on both the ARM and DSP

IPC 1.25.0.04

ARM Compiler 5.0.1

DSP Compiler 7.4.1

XDC 3.24.5.48

  • Can you post the error message of the build because I think the forum link is the only way you can get them to be the same size.

    Judah

  • Here is the cfg file for the ARM side.

    4237.ARM_Main.cfg

    Here is the build output with the BIOS stuff uncommented (I build and run with the two lines (50 and 51) commented out).

    **** Build of configuration Debug for project ARM_Main ****

    "C:\\TI\\ccsv5\\utils\\bin\\gmake" -k all

    'Building file: ../ARM_Main.cfg'

    'Invoking: XDCtools'

    "C:/TI/xdctools_3_24_05_48/xs" --xdcpath="C:/TI/bios_6_34_02_18/packages;C:/TI/ipc_1_25_00_04/packages;C:/CCS/platform;C:/TI/ccsv5/ccs_base;C:/TI/uia_1_01_01_14/packages;C:/TI/xdais_7_21_01_07/packages;C:/TI/xdais_7_21_01_07/examples;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.Arm9 -p bh.platform.arm.VSLED -r debug -c "C:/TI/ccsv5/tools/compiler/arm_5.0.1" --compileOptions "-g --optimize_with_debug" "../ARM_Main.cfg"

    making package.mak (because of package.bld) ...

    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...

    configuring ARM_Main.xe9 from package/cfg/ARM_Main_pe9.cfg ...

    remark: No frequency info found for CPU timestamp. See ti.uia.runtime.LogSync module for help on how to provide this info for System Analyzer.

    generating custom ti.sysbios library makefile ...

    generating custom ti.sdo.ipc library makefile ...

    Starting build of library sources ...

    making C:/CCS/VSLED_Source_Code/ARM_Main/src/ipc.ae9 ...

    cle9 C:/TI/ipc_1_25_00_04/packages/ti/sdo/ipc/Ipc.c ...

    are9 Ipc.obj ...

    making C:/CCS/VSLED_Source_Code/ARM_Main/src/sysbios.ae9 ...

    gmake[2]: *** No rule to make target `xdc/runtime/Types.c', needed by `BIOS.obj'. Stop.

    gmake[1]: *** [C:/CCS/VSLED_Source_Code/ARM_Main/src/sysbios.ae9] Error 2

    Build of libraries failed.

    error: xdc.cfg.SourceDir: "C:/TI/xdctools_3_24_05_48/packages/xdc/cfg/SourceDir.xs", line 163: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:

    js: "C:/TI/xdctools_3_24_05_48/packages/xdc/cfg/Main.xs", line 149: Error: Configuration failed!

    gmake.exe: *** [package/cfg/ARM_Main_pe9.xdl] Error 1

    gmake.exe: *** Deleting file `package/cfg/ARM_Main_pe9.xdl'

    gmake.exe: *** [package/cfg/ARM_Main_pe9.xdl] Deleting file `package/cfg/ARM_Main_pe9.h'

    gmake.exe: *** [package/cfg/ARM_Main_pe9.xdl] Deleting file `package/cfg/ARM_Main_pe9.c'

    js: "C:/TI/xdctools_3_24_05_48/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.

    making ../src/ipc.ae9 ...

    gmake[1]: Nothing to be done for `all'.

    making ../src/sysbios.ae9 ...

    gmake[1]: *** No rule to make target `xdc/runtime/Types.c', needed by `BIOS.obj'.

    asme9 C:/TI/bios_6_34_02_18/packages/ti/sysbios/family/arm/IntrinsicsSupport_asm.asm ...

    asme9 C:/TI/bios_6_34_02_18/packages/ti/sysbios/family/arm/TaskSupport_asm.asm ...

    asme9 C:/TI/bios_6_34_02_18/packages/ti/sysbios/family/arm/HwiCommon_asm.asm ...

    asme9 C:/TI/bios_6_34_02_18/packages/ti/sysbios/family/arm/exc/Exception_asm.asm ...

    asme9 C:/TI/bios_6_34_02_18/packages/ti/sysbios/family/arm/da830/Hwi_asm.s470 ...

    asme9 C:/TI/bios_6_34_02_18/packages/ti/sysbios/family/arm/dm6446/Hwi_asm.s470 ...

    asme9 C:/TI/bios_6_34_02_18/packages/ti/sysbios/family/arm/omap1030/Hwi_asm.s470 ...

    asme9 C:/TI/bios_6_34_02_18/packages/ti/sysbios/family/arm/sim1030/Hwi_asm.s470 ...

    asme9 C:/TI/bios_6_34_02_18/packages/ti/sysbios/family/arm/sim1030/Clobber_asm.s470 ...

    asme9 C:/TI/bios_6_34_02_18/packages/ti/sysbios/family/arm/arm9/Mmu_asm.asm ...

    asme9 C:/TI/bios_6_34_02_18/packages/ti/sysbios/family/arm/arm9/Cache_asm.asm ...

    asme9 C:/TI/bios_6_34_02_18/packages/ti/sysbios/timers/timer64/Timer_asm.s470 ...

    asme9 C:/TI/bios_6_34_02_18/packages/ti/sysbios/timers/dmtimer/Timer_asm.s470 ...

    gmake[1]: Target `all' not remade because of errors.

    gmake: *** [../src/sysbios.ae9] Error 2

    gmake: Target `all' not remade because of errors.

    **** Build Finished ****

     

     

  • Mike,

    There was a bug SDOCM00098118 filed for this which is fixed in 6.35.  The workaround is to do the following:If the customer wants to use the BIOS.includeXdcRuntime = true configuration parameter, and they are using 6.34, then they need to update Build.xs with the following bug fix:

    If they are using 6.33, then this array will be in BIOS.xs.
    In Build.xs, change this:

        "xdc.runtime.Main" :
            { cSources: [] },
        "xdc.runtime.Core" :
            { cSources: ["Core-mem.c", "Core-label.c", "Core-params.c"] },
    };
    to this:

        "xdc.runtime.Main" :
            { cSources: [] },
        "xdc.runtime.Types" :
            { cSources: [] },
        "xdc.runtime.Core" :
            { cSources: ["Core-mem.c", "Core-label.c", "Core-params.c"] },
    };

    Judah

  • I think I need more details to implement this...

    I think we are talking about the BIOS version?  We are on 6.34.2.18.  When is 6.35 coming out?

    I do not see a Build.xs file?  Where is it supposed to be?

    Also is there something missing between the "...following bug fix:" and "If they are using 6.33..."?

    Thanks,

  • Mike,

    The Build.xs file is located in the directory <BIOS INSTALL>/packages/ti/sysbios/

    If on version 6.33 make the same change in BIOS.xs instead of Build.xs

    Judah