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.

error while using DSP/BIOS

Other Parts Discussed in Thread: CCSTUDIO

hello,

i am using CCS v. 3.3 for DM6446 processor.while adding new configuration file for DSP/BIOS i came across error metioned below:

js: "./Configuration1.tcf", line 14: Heaps are enabled, but the segment for DSP/BIOS Objects (MEM.BIOSOBJSEG) is not set correctly. Please create a heap in one of your data segments and set MEM.BIOSOBJSEG to it.
     "./<stdin>", line 3


Correct any script errors in C:/CCStudio_v3.3/boards/davincievm/csl/dsp/example/CVSD_int_stored_spch/Configuration1.tcf
using the Configuration Tool or a text editor, if necessary.


TConf initialization arguments:
-e environment['config.importPath']='C:/CCStudio_v3.3/bios_5_31_02/packages;C:/CCStudio_v3.3/bios_5_31_02/packages;' -e environment['config.scriptName']='79D2.tcf'

how should i short out problem?

Also is there any other mechanism to generate software interrupt except DSP/BIOS

  • You need to create a heap in one of your memory segments and then set the BIOS sections that require a heap to that memory segment.  Something like the following in the *.tcf:

    bios.MEM.NOMEMORYHEAPS = 0;

    bios.MEM.instance("DDR2").createHeap = 1;

    bios.MEM.BIOSOBJSEG = prog.get("DDR2");

    bios.MEM.MALLOCSEG = prog.get("DDR2");

    In my example I have a MEM segment called "DDR2".

    Don't quite understand what you mean by "generate software interrupt".  Software interrupts are posted to exectue with SWI_post().  There isn't any other way.

    Judah

  • i've  added lines recommended by you to .tcf (is there any other method(GUI) for setting? )

    and new error is

    [SWI_tst.tcf] "C:\CCStudio_v3.3\bios_5_31_02\xdctools\tconf" -b -Dconfig.importPath="C:/CCStudio_v3.3/bios_5_31_02/packages;" SWI_tst.tcf

     

    [SWI_tstcfg.s62] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -g -fr"C:/CCStudio_v3.3/bios_5_31_02/packages/ti/bios/examples/basic/swi/SWI_test/Debug" -d"_DEBUG" -mv6400 -@"Debug.lkf" "SWI_tstcfg.s62"

    "SWI_tstcfg.s62", ERROR!   at line 365: [ ***** USER ERROR ***** - ]

             Project build options do not match Global configuration settings. 

               Compiler options do not specify -mv64+, but configuration is for

               C64x+

               .emsg "Project build options do not match Global configuration settings.  Compiler options do not specify -mv64+, but configuration is for C64x+"

     

    "SWI_tstcfg.s62", ERROR!   at EOF: [E0300] The following symbols are undefined:

    2 Assembly Errors, No Assembly Warnings

      HWI_INTRMULTLOW

      HWI_INTRMULTHIGH

      GBL_L2MARMASK1

      GBL_L2MARMASK2

      GBL_L2MARMASK3

      GBL_L2MARMASK4

      GBL_L2MARMASK5

      GBL_L2CONFIGALLOC

      GBL_L2ALLOC

      GBL_C641XL2PRIORITY

     

    Errors in Source - Assembler Aborted

     

    >> Compilation failure

     

    [SWI_tstcfg_c.c] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -g -fr"C:/CCStudio_v3.3/bios_5_31_02/packages/ti/bios/examples/basic/swi/SWI_test/Debug" -d"_DEBUG" -mv6400 -@"Debug.lkf" "SWI_tstcfg_c.c"

     

    Build Complete,

      2 Errors, 0 Warnings, 0 Remarks.

  • Can you check your build settings?   It looks like you are not using the -mv64+ option in your build options.  Your configuration is for 64x+ so you need to set this compiler flag.  Looks like you have -mv6400 in your options.

    -Karl-

  • ya i am able to build project now with setting of project and adding rtdx lib path in build options.

    now i have query regarding use of CSL API of EDMA. how can we use it in CCS v3.3?

  • Can you please open a new thread for this question in the single-core C6x area of the forums?  

    Thanks,
    -Karl-