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.

.bios section warning, again

Other Parts Discussed in Thread: CCSTUDIO, CODECOMPOSER

I'm trying to port some code from code composer 3.1. I got now (as reported by the Component Manager)

BIOS 5.41.10.36

Code generation tools 4.3.8

Code composer 3.3.82.13

This is working so far, but I got this funny warning when I compile:

warning: Section ".bios" is found in   "C:/CCStudio_v3.3/bios_5_41_10_36/packages/ti/bios/lib/bios.a55L<fxn_c.o55L> ", this could cause potential compatibility problem. Please use 4.1.x tools  or update your DSP BIOS

But I'm using the latest BIOS and code generation tools already, so I'm not sure why it's complaining. I found a similar issue reported on this forum, but in that case the BIOS was indeed older.

So my question is, is there a chance that I have some leftover code in my project that makes the compiler think that I have an older version?

 

Thanks

  • Hi Luis --

    Can you please double-check your .map file to make sure that you are really using 4.3.8?  See the top of the .map file below for a simple app which has .bios sections.   I don't see this problem in my setup.

    -Karl-

    ******************************************************************************
                  TMS320C55x Linker PC v4.3.8                     
    ******************************************************************************
    >> Linked Thu Apr 07 12:48:31 2011

    OUTPUT FILE NAME:   <bios5_55x_hello.out>
    ENTRY POINT SYMBOL: "_c_int00"  address: 00022c15

  • Hi karl,

     

    Thanks for your answer, but it looks like I am using them (the code generation tools 4.3.8):

     

    ******************************************************************************
                  TMS320C55x Linker PC v4.3.8                     
    ******************************************************************************
    >> Linked Thu Apr 07 10:48:21 2011

    OUTPUT FILE NAME:   <./Debug/DspSquidAc.out>
    ENTRY POINT SYMBOL: "_c_int00"  address: 000240d5


    I upgraded both the code generation tools and the BIOS (since I was still using what came with Code Composer 3.1). That meant upgrading from cdb to tcf format using the cdb2tcf.exe tool. What I'm thinking is that the tool left something that is confusing the compiler.

     

    Luis

  • Can you try building one of the provided examples and see if those work?   Use the New->Project wizard and follow the dialog boxes thru selecting hello example for one of the 55xx platforms.   The DSP/BIOS installation should include a "Getting Started Guide" which should help if you need it.

    See this similar post.

    http://e2e.ti.com/support/embedded/f/355/t/58227.aspx#207295

  • Thanks, I'll try that. Porting is always tricky, so I might just get the example to work and then add my source code files.

    The post you pointed me to was the one I had seen before, and of course in that case he was using BIOS 5.31.02, that's why I'm confused.

    Anyway, thanks, I'll let you know how it works.

  • I'm trying to use Code Composer 3.3 (3.3.82.13 if it matters). There is file->new->source file or Project->new, but no wizard gets invoked. So I tried opening one of the example projects under the code composer 3.3 (C:\CCStudio_v3.3\examples\evm5510\csl\dma\dma1_useBios), because it's closest to what I have and want to do. It is a cdb-based project so it goes through the conversion, but it still complains about finding the .bios section. And as is, it does not compile, exits with linker errors.

    Next I tried the latency example from the bios directory (C:\CCStudio_v3.3\bios_5_41_10_36\packages\ti\bios\examples\advanced\latency\dsk5510). It still gives me the same warning:

    warning: Section ".bios" is found in
       "C:/CCStudio_v3.3/bios_5_41_10_36/packages/ti/bios/lib/bios.a55L<fxn_c.o55L>
       ", this could cause potential compatibility problem. Please use 4.1.x tools
       or update your DSP BIOS

    but it compiles and runs fine in the debugger. Unfortunately I don't see examples that include dma/external interrupt usage, that's what I'm interested. Perhaps I should just ignore the warning ...

  • I think I'll just drop the DSP/BIOS. I don't really need tasks or other BIOS goodies, I think. Just a main and ISR's, so the CSL should be enough. Is there something that I can't really do without the BIOS? It really seems a lot simpler to just use the CSL.

    Thanks

  • If you have a simple project, then you may not need BIOS and we can drop this thread.  

    It seems like you still have a problem with pointing to an old c55xx.cdb file or having some other setup problem.  The generated .cmd file should have a --diag_suppress=10286 option which would suppress this warning.   This --diag_suppress is added to the .cmd file from c55xx.cdb file.  The fact that you are getting this warning tells me that you don't have the right c55xx.cdb file.

    -Karl-

  • Karl,

    Thanks, I'll try uninstalling and reinstalling CodeComposer and the updates later. For now it seems that I'm doing better with the no-BIOS option. Things are already working, and I'm making progress.

    Thanks and sorry for all the noise,

    Luis