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.

TMS320F28335 Experimenter's Kit and DSP/BIOS

Other Parts Discussed in Thread: CCSTUDIO, TMS320F28335

I have the 28335 Experimenter's Kit and am having trouble figuring out how to configure a project for the '335 using DSP/BIOS.  Is there an app note somewhere detailing how to create and build a DSP/BIOS project for the '335 with hardware floating point support?  I am having a lot of trouble figuring which libraries to include, etc.  I am just not finding much documentation on getting the floating point 283xx parts up and going.   Here's the result of my latest attempt:

<Linking>

fatal error: file

   "C:/CCStudio_v3.3/bios_5_33_03/packages/ti/bios/lib/lnkrtdx.a28FP<rtdx.o28FP

   >" specifies ISA revision "C28FPU32", which is not compatible with ISA

   revision "C2800" specified in a previous file or on the command line

 

>> Compilation failure

 

Any help would be greatly appreciated!

John

 

 

  • There are some examples in the BIOS v5.33.03 package that should provide some guidance.  They target the ezdsp28335, but should be applicable to the Experimenter's board for the TMS320F28335.

    <YOUR_TI_BIOS_INSTALLDIR>\bios_5_33_03\packages\ti\bios\examples

     

  • Hi john, if you try to use a simple proyect using dsp/bios you should try downloading this #SPRA958, this bring some proyect using dsp/bios for RAM and Flash memory. Is very difficult to see what library add but that pdf is easy to read and tell you what library use.  See also dsp2833xquickstart that says what you need to make a proyect work. This pdf came with the kit.

    If you have some problems post here.

    Hope this help.

    Gaston.

  • Thanks for the help everyone - I will give it a try this week.

     

    John

     

  • I have attempted to get the ezdsp28335 BIOS 5.33.03 tutorial examples to run on the experimenter kit (clk and mutex).

    However, I've experienced the following problems:

    1). -i"C:\Program Files\C2000 Code Generation Tools 5.1.0\lib" must be added to library search path (not pointed out in tutorial).

    2). Warning thrown by linker (not sure if this is a problem)

    >> warning: creating output section $build.attributes without SECTIONS
                specification

    3). BIOS apears to be running in the background however, main() and tasks (taskFxn in clk.c and mutex1/mutex2 in mutex.c are never executed) evidenced by breakpoints at the start of these functions never being reached.

    Can anyone help ??

  • I am curious to know the procedure you used to work with one of the BIOS examples targeting the ezdsp28335.  Below is the process I used and did not face the first 2 items you did when building the project.

    1) Installed DSP/BIOS 5.33.03 into C:\ti\bios_5_33_03
         - This should not matter in terms of the exact location, but I provided it as an example.  You will need to configure the CCS Component Manager to use this new installation.  CCS->Help->About->Component Manager.

    2) Installed C2000 Code Generation Tools v5.1.1 into c:\ti\c2000\cgtools_v5.1.1
         - Again, this should not matter in terms of the exact location.  You will need to configure the CCS Component Manager to use this new installation.  CCS->Help->About->Component Manager.

    3) Created C:\Projects\CCSProjects\ezdsp28335_clk directory

    4) Copied C:\ti\bios_5_33_03\packages\ti\bios\examples\basic\clk\ezdsp28335\* into C:\Projects\CCSProjects\ezdsp28335_clk

    5) Copied C:\ti\bios_5_33_03\packages\ti\bios\examples\basic\clk\clk.c and clk.tci into C:\Projects\CCSProjects\ezdsp28335_clk

    6) Edited C:\Projects\CCSProjects\ezdsp28335_clk\clk.pjt
    ProjectDir="C:\Projects\CCSProjects\ezdsp28335_clk\"

    [Source Files]
    Source="clk.c"

    ["DspBiosBuilder" Settings: "Debug"]
    Options=-Dconfig.importPath=.;%BIOS_INSTALL_DIR%/packages/ti/bios/examples/common;

    ["DspBiosBuilder" Settings: "Release"]
    Options=-Dconfig.importPath=.;%BIOS_INSTALL_DIR%/packages/ti/bios/examples/common;

    7) Build Project

     

    This did not result in any errors or warnings.  The edits to the clk.pjt file where to point to the correct clk.c file and remove ..\ from the DspBiosBuilder options.  The structure in the BIOS examples directory has clk.c and clk.tci up one level in directory structure.

     

    I have not run this on an actual ezdsp28335 as I don't have one with me.  But I would make sure that the project builds cleanly before debugging why it is not hitting your breakpoints.

  • Brandon,

    Your steps worked perfectly, thanks for the help.

    John

  • Brandon, thanks for the pointers, I did not have the code generation tools v5.1.1 set up in the component manager. Works fine if I follow your steps.

  • Brandon, if I try and create my own project from scratch the linker throws the following error:

    <Linking>
    fatal error: file
       "C:/CCStudio_v3.3/bios_5_33_03/packages/ti/bios/lib/lnkrtdx.a28FP<rtdx.o28FP
       >" specifies ISA revision "C28FPU32", which is not compatible with ISA
       revision "C2800" specified in a previous file or on the command line

    Perhaps there is a search path I have missed ? (I've set up the Dconfig.importPath as suggested and added C:\CCStudio_v3.3\bios_5_33_03\packages\ti\rtdx\lib to the library search path).

    Andrew

  • solved my own problem floating support needs to be set to fpu32 in build options>compiler>advanced [*-)]