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.

Problem Building Codec Engine App Example on OMAP-L137

Other Parts Discussed in Thread: OMAP-L137

Hi, I’m new to codec engine, RTSC, and XDCTools. I have an OMAP-L137 EVM and I simply want to build and run the codec engine speech application example (i.e. codec_engine_2_23_01\examples\ti\sdo\ce\examples\apps\speech). My Problem: When I compile, I get the following error, and I cannot figure out how to fix it: js: "C:/OMAPL137_dsp_1_00_00_11/codec_engine_2_23_01/packages/ti/sdo/ce/osal/bios/package.xs", line 53: TypeError: Cannot call method "instances" of undefined (C:/OMAPL137_dsp_1_00_00_11/codec_engine_2_23_01/packages/ti/sdo/ce/osal/bios/package.xs#53) The error references the following line of C:/OMAPL137_dsp_1_00_00_11/codec_engine_2_23_01/packages/ti/sdo/ce/osal/bios/package.xs: var memInsts = $$legacy.prog.module("MEM").instances(); Can you help me figure out how to fix this error? I don’t understand what it is, or how to fix it. Here’s what I have done: 1- I have installed xdctools_3_20_08_88. 2- I have installed the OMAPL137_dsp_1_00_00_11, which includes codec_engine_2_23_01. 3- I have setup my XDCPATH to link to all packages of OMAPL137_dsp_1_00_00_11. I’m pretty sure I got my XDCPATH setup correctly. 4- I am using DSP bios_5_33_01 and I want to run codec engine on this os (i.e. not Linux or Windows CE). 5- I am using CCS V3.3. I have copied file local.cfg from the codec engine speech example into my project folder and included local.cfg into my CCS project. 6- When I compile my CCS project, I get the above stated error and can’t figure out what it is or how to gt ride of it. Any help you can give me will be greatly appreciated!! Thanks in advance, Jean
  • Jean, RTSC (Real Time Software Components) is used to build the DSP/BIOS6 later renamed SYS/BIOS6 (post version 6.2 I think). It has a backward compatibility layer that will work with BIOS5, however fundamentally it breaks up the kernel into different configurable packages. I'm certainly not an expert, but the following error may because the method 'instances' may not be defined -or- supported when migrating in SYS/BIOS6. You can read the following application note which may give you further insight into the error http://focus.ti.com/mcu/docs/litabsmultiplefilelist.tsp?sectionId=96&tabId=1502&literatureNumber=spraas7e&docCategoryId=1&familyId=912 Additionally, you may want to post your error questions into the Embedded Tools Forum as they will be able to provide further insight into specifics of SYS/BIOS.