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.

TMDX5535EZDSP: Audio Pre-Processing using C5535 EZDSP

Part Number: TMDX5535EZDSP

Hi,

I am trying to run Audio Pre-processing example code on c5535 ezdsp. I know by default its supported for C5517.

Can you guide me through the steps to make it work on c5535? Especially the MIPS in the .tcf file. Cause I am getting these below errors.

Error Log:

"./BF_rt_bios_cfg.cmd", line 155: error: VECT memory range overlaps existing
memory range SARAM31
"./BF_rt_bios_cfg.cmd", line 156: error: NOR memory range overlaps existing
memory range CS2
"./BF_rt_bios_cfg.cmd", line 157: error: NAND memory range overlaps existing
memory range CS4
"./BF_rt_bios_cfg.cmd", line 158: error: SRAM memory range overlaps existing
memory range CS0
"./BF_rt_bios_cfg.cmd", line 159: error: DARAM memory range overlaps existing
memory range DARAM0
"./BF_rt_bios_cfg.cmd", line 159: error: DARAM memory range overlaps existing
memory range DARAM1
"./BF_rt_bios_cfg.cmd", line 159: error: DARAM memory range overlaps existing
memory range DARAM2
.

.

.
memory range DARAM6
"./BF_rt_bios_cfg.cmd", line 159: error: DARAM memory range overlaps existing
memory range DARAM7
"./BF_rt_bios_cfg.cmd", line 160: error: SARAM memory range overlaps existing
memory range SARAM0
"./BF_rt_bios_cfg.cmd", line 160: error: SARAM memory range overlaps existing
memory range SARAM1
"./BF_rt_bios_cfg.cmd", line 160: error: SARAM memory range overlaps existing
memory range SARAM2
"./BF_rt_bios_cfg.cmd", line 160: error: SARAM memory range overlaps existing
memory range SARAM3
"./BF_rt_bios_cfg.cmd", line 160: error: SARAM memory range overlaps existing
memory range SARAM4
.

.

.
"./BF_rt_bios_cfg.cmd", line 160: error: SARAM memory range overlaps existing
memory range SARAM30

Please Help

  • Hi,

    I've notified the sw team. Their feedback will be posted here.

    Best Regards,
    Yordan
  • Abhinandan,

    These errors seem to be linker command file related. Which .cmd file are you using with the project?
    can you try with VC5505_I2S.cmd?

    Also, keep in mind that the C5517 supports 4 mics in the code. Are you using 4 mics with the C5535 as well? how are you connecting the microphone array to the board?

    Lali
  • Hi,

    I was trying with C5505.cmd. With VC5505_I2S.cmd I am getting the below error.

    Log:

    Building file: /home/user/ti/c55_lp/c55_csl_3.07/demos/audio-preprocessing/common/sysbfflt.c

    Invoking: C5500 Compiler

    "/home/user/ti/ccsv6/tools/compiler/c5500_4.4.1/bin/cl55" -v5505 --memory_model=large -O3 -g --include_path="/home/user/ti/ccsv6/tools/compiler/c5500_4.4.1/include" --include_path="/home/user/ti/bios_5_42_01_09/packages/ti/bios/include" --include_path="/home/user/ti/bios_5_42_01_09/packages/ti/rtdx/include/c5500" --include_path="/home/user/ti/c55_lp/c55_csl_3.07/inc" --include_path="/home/user/TI_Workspaces/TMS/BF_rt_bios/Debug" --include_path="/home/user/ti/c55_lp/volib_C55_CPU3_2_1_0_1/packages" --include_path="/home/user/ti/c55_lp/aer_c55l_cpuv3.3_obj_17_0_0_0/packages" --include_path="/home/user/ti/c55_lp/xdais_7_24_00_04/packages" --include_path="/home/user/ti/c55_lp/xdctools_3_24_05_48/packages" --include_path="/home/user/ti/c55_lp/c55_csl_3.07/demos/audio-preprocessing/common" --include_path="/home/user/TI_Workspaces/TMS/BF_rt_bios" --define="_DEBUG" --define=c5505 --define=ti_targets_C55_large --diag_warning=225 --gen_func_subsections=on --ptrdiff_size=16 --algebraic --asm_source=algebraic --preproc_with_compile --preproc_dependency="sysbfflt.d"  "/home/user/ti/c55_lp/c55_csl_3.07/demos/audio-preprocessing/common/sysbfflt.c"

    Finished building: /home/user/ti/c55_lp/c55_csl_3.07/demos/audio-preprocessing/common/sysbfflt.c

    Building target: BF_rt_bios.out

    Invoking: C5500 Linker

    "/home/user/ti/ccsv6/tools/compiler/c5500_4.4.1/bin/cl55" -v5505 --memory_model=large -O3 -g --define="_DEBUG" --define=c5505 --define=ti_targets_C55_large --diag_warning=225 --gen_func_subsections=on --ptrdiff_size=16 --algebraic --asm_source=algebraic -z -m"BF_rt_bios.map" --stack_size=0x200 --heap_size=0x400 -i"/home/user/ti/ccsv6/tools/compiler/c5500_4.4.1/lib" -i"/home/user/ti/c55_lp/c55_csl_3.07/build" -i"/home/user/ti/bios_5_42_01_09/packages/ti/rtdx/lib/c5500" -i"/home/user/ti/bios_5_42_01_09/packages/ti/bios/lib" -i"/home/user/TI_Workspaces/TMS/C55XXCSL_LP" -i"/home/user/TI_Workspaces/TMS/BF_rt_bios" -i"/packages/ti/rtdx/lib/c5000" -i"/home/user/ti/c55_lp/aer_c55l_cpuv3.3_obj_17_0_0_0/packages/ti/mas/aer/lib" -i"/home/user/ti/c55_lp/volib_C55_CPU3_2_1_0_1/packages/ti/mas/vpe/lib" -i"/home/user/ti/c55_lp/volib_C55_CPU3_2_1_0_1/packages/ti/mas/util/lib" --reread_libs --warn_sections --xml_link_info="CSL_I2S_IdleLoop_Out_linkInfo.xml" --rom_model --sys_stacksize=0x200 -o "BF_rt_bios.out" "./AudioCodec_DMA.obj" "./BF_rt_bios_cfg.obj" "./BF_rt_bios_cfg_c.obj" "./bf_asnr_mss_vau.obj" "./codec_aic3254.obj" "./codec_pcm186x.obj" "./csl_i2c_ioExpander.obj" "./mem.obj" "./mhm.obj" "./mss.obj" "./mssproc.obj" "./pll_control.obj" "./sysbfflt.obj" "../VC5505_I2S.cmd" -l"./BF_rt_bios_cfg.cmd" -lDebug/C55XXCSL_LP.lib -lrts55x.lib -lbios.a55 -llibc.a -laer_a.a55L -laer_c.a55L -lvpe_a.a55L -lvpe_c.a55L -lutil_c.a55L -lutil_a.a55L

    <Linking>

    fatal error: file

      "/home/user/TI_Workspaces/TMS/C55XXCSL_LP/Debug/C55XXCSL_LP.lib<csl_dma.obj>

    >> Compilation failure

    makefile:162: recipe for target 'BF_rt_bios.out' failed

      " has a Tag_Memory_Model attribute value of "3" that is different than one

      previously seen ("2"); combining incompatible files

     

    Also I am using a 4 Mic Array setup.

    EDIT: Working after correcting C55XXCSL_LP project memory size to Large

  • Abhinandan,

    This is related to the memory model settings in your CCS project. Please see the memory model section at processors.wiki.ti.com/.../C55x_Common_Errors_and_Fixes

    There's also a memory model section in the FAQ
    processors.wiki.ti.com/.../C5000_DSP_FAQ

    Lali
  • Hi Lali,
    Issue resolved after correcting C55XXCSL_LP project memory size to Large which was set to Huge. Thanks for the help