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.

Migrating project from DSP/BIOS to SYS/BIOS(Issues while testing mp3 decoder(C64x+ CPU) using BIOS 6/ Done on BIOS 5.)

Other Parts Discussed in Thread: OMAP3530, SYSBIOS

Hi, everyone 

Let me tell you guys what i am using first,

CCSv5.0.2.00006

OMAP3530 beagleboard.

xds100v2 emulator 

Windows xp/windows 7

Note: i am not using any of the linux based applications.

I had mp3 decoder code for c64x+ CPU which i had successfully debugged and tested usng the CCSv5 and  DSP/BIOS 5 okay.

Now my next task is that i want to move to the CCSv5 and SYS/BIOS (BIOS 6), where i know that there is difference between SYS/BIOS and DSP/BIOS. I tried somewhat for it, but seems that i am lost somewhere while modifying the codes and changing the paths defined. I had gone trough the migration guide form BIOS 5 to BIOS 6, but there isn't much data available. There are some files which are not available in the BIOS6 with respect to the BIOS 5. I tried contact some person and i came to know that PSP packages and some drivers are still in  development level for Linux based and BIOS based driver.

Can any one over here tried project like this. I mean changing the some project to BIOS 6 from BIOS 5 based. If any one interested then i am attaching my current project. someone can have look and suggest me what to do next. 

I knew, it will be great learning platform while working on this project since we need to have complete understanding of the BIOS 5 as well as BIOS 6 up to each file level.

0876.mp3decoder.zip

With Regards

Nitin Mewada

  • Nitin,

    Can you be more explicit in describing the issues that you are are seeing?  Are you getting build errors?

  • Hi Nitin,

    Have you seen the application note which describes the DSP/BIOS 5 -> SYS/BIOS 6 migration process?  You can find this document in your SYS/BIOS installation.  For example, on my machine, it's located here:

    C:\Program Files\Texas Instruments\bios_6_32_00_28\docs\Bios_Legacy_App_Note.pdf

     

    Thanks,

    Steve

  • Hi, David 

    ya, i am getting building errors. 

    I know that this are all due to some changed files, some changed declarations, changes in API's used like bcahe.h is replaced by cache.h.

    Basically i am little bit aware of such things. But i am some what lost in the case of the how to start solving this problems. I mean how do i start. i Had gone trough the migration guide from BIOS 5 to BIOS 6. Bit that's seems not enough. Is there something with you or someone a detailed example of one code.

    i know that depending upon the code, modules, API's, and headers will changes(those which are used in the code.). There are many changes in the SYSBIOS than the DSPBIOS. So fundamentally which things are replacement of which ones, is that kind of information is available or not. 

    I started reading the online material that is there on the RTSC-pedi, will it be helpful for my current work.

    With Regards,

    Nitin Mewada.

  • Nitin,

    Would you care to share the details of the errors that you're seeing?

  • Hi, David

    Here i am sending you the error's log, probably most of them are simple ones.

    It is showing one skel file missing never mind it, and there are some int, void errors, is that because of the i have included  CSL library and other are conflicting with it?

     

    Description Resource Path Location Type

     could not open source file "ti/sdo/ce/skel.h" auddec1_skel.c /mp3decoder line 19 C/C++ Problem

     expected a type specifier mp3decoder line 1217 C/C++ Problem

     function returning function is not allowed mp3decoder line 1217 C/C++ Problem

     identifier "Int" is undefined mp3decoder line 138 C/C++ Problem

     identifier "Int" is undefined mp3decoder line 171 C/C++ Problem

     identifier "Int" is undefined mp3decoder line 182 C/C++ Problem

     identifier "Int" is undefined mp3decoder line 355 C/C++ Problem

     identifier "Int" is undefined mp3decoder line 398 C/C++ Problem

     identifier "Int" is undefined mp3decoder line 496 C/C++ Problem

     identifier "Int" is undefined mp3decoder line 671 C/C++ Problem

     identifier "Int" is undefined mp3decoder line 753 C/C++ Problem

     identifier "Int16" is undefined mp3decoder line 66 C/C++ Problem

     identifier "Int32" is undefined mp3decoder line 68 C/C++ Problem

     identifier "Int8" is undefined mp3decoder line 64 C/C++ Problem

     identifier "Uint16" is undefined mp3decoder line 67 C/C++ Problem

     identifier "Uint32" is undefined mp3decoder line 69 C/C++ Problem

     identifier "Uint8" is undefined mp3decoder line 61 C/C++ Problem

     identifier "Uint8" is undefined mp3decoder line 65 C/C++ Problem

     identifier "Uns" is undefined mp3decoder line 137 C/C++ Problem

     identifier "Void" is undefined mp3decoder line 60 C/C++ Problem

     identifier "Void" is undefined mp3decoder line 141 C/C++ Problem

     identifier "Void" is undefined mp3decoder line 224 C/C++ Problem

     identifier "Void" is undefined mp3decoder line 275 C/C++ Problem

     identifier "Void" is undefined mp3decoder line 454 C/C++ Problem

     identifier "Void" is undefined mp3decoder line 694 C/C++ Problem

     identifier "Void" is undefined mp3decoder line 1198 C/C++ Problem

     identifier-list parameters may only be used in a function definition mp3decoder line 753 C/C++ Problem

     function declared implicitly TestAppDecoder.c /mp3decoder line 118 C/C++ Problem

     function declared implicitly TestAppDecoder.c /mp3decoder line 217 C/C++ Problem

     returning pointer to local variable TestAppDecoder.c /mp3decoder line 353 C/C++ Problem

     variable "c1" was set but never used TestAppDecoder.c /mp3decoder line 233 C/C++ Problem

     variable "c1" was set but never used TestAppDecoder.c /mp3decoder line 271 C/C++ Problem

     variable "c2" was set but never used TestAppDecoder.c /mp3decoder line 233 C/C++ Problem

     variable "c2" was set but never used TestAppDecoder.c /mp3decoder line 271 C/C++ Problem

     variable "nch" was set but never used TestAppDecoder.c /mp3decoder line 45 C/C++ Problem

     variable "retVal" was set but never used TestAppDecoder.c /mp3decoder line 308 C/C++ Problem

    Earlier i had attache my project folder of ccsv5, you can just change the paths where i am calling the some files in build properties.

     

    With Regards 

    Nitin Mewada

  • Hi, David

    This is my first try to do so, i am trying to make some changes with the  main code files and other, slowly i am trying with TestAppDecoder.c file(only with cache, because earlier they had used bache.h), then next i will go by some trials.

    If you can guide me about how i should i proceed, then i will be thankful to you.

    Regards,

    Nitin Mewada

  • I think the Int and Void types should be defined in std.h.  The migration app note that was mentioned earlier in this thread makes several references to std.h.  Make sure that your C file does a #define std.h.

    Dave

  • Hi, David 

    Thanx for your help, now i am getting only those error, which are related to the missing files. I think i need to replace those files, while using XDM format, a kind of algorithm supported files.

    Here  i am attaching the recent updated project to you, can you just look into the following files.

    In these files some lines are there like,

    In _auddec1.h file

    ................

     

    #include <ti/sdo/ce/visa.h>

    #include <ti/xdais/dm/iauddec1.h>

    #include <std.h>

    where can i find the visa.h (these declarations are default from the original files).

     

    in auddec1.h file,

     

    #include <ti/sdo/ce/Engine.h>

    #include <ti/sdo/ce/visa.h>

    #include <ti/sdo/ce/skel.h>

    where are these files ?

     


    in auddec1_skel.h file,

     

    #include <ti/sdo/ce/skel.h>

    #include <ti/sdo/ce/osal/Memory.h>

     

    where are these files too?

     

    Note: Except these ones i had only one thing to ask, which is to replace bcache.h files API to the cache.h API's, that i will do it by reading the info available at RTSC-pedia.

     

    Regards,

    Nitin Mewada1602.MP3 DEMO.zip

     

  • Hi, David

    i found out somehow that, these files are the part of the codec engine stuff, so my next question is that can i use codec engine with SYSBIOS, is it compatible with windows xp or not?

    regards,

    Nitin Mewada