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.

DSP/BIOS on TMS320F2810 Custom Board

Other Parts Discussed in Thread: TMS320F2810

Hi,

I am wondering if it's possible to use DSP/BIOS on a third party board with a F2810 DSP. I managed to configure a quite simple project with CCS 3.1.30 which compiled without errors and warnings.

It is also running on the hardware, but whenever I click on an object in the DSP/BIOS menu (e.g. CPU Load Graph) I get an error "CBD File Error. The associated CBD file may be missing or corrupted. Use the Configuration Tool to verify that the CBD file does not have any invalid records."

Well, I used a seed file called c28xx.cdb and changed nothing except adding a task. (File->New->DPS/BIOS Configuration...) What can I do to use that features?

Thank you in advance,

Lutz Brandt 

  • Hi again,

    I just solved the problem above. Just forgot to include a .h file to the project :/

    Thanks

    Lutz Brandt 

  •  I hope this is the right thread to write to, but since I already wrote the above posts ...

     

    I'm still implementing DSP/BIOS to the TMS320F2810 and at least it is working in Debug mode. Still I experience some strange things, where I wish I had an explaination for:

     

    1) When I use a project with DSP/BIOS (Updated to Vers. 5.20.04 with CodeGeneration Tools 4.1.4 on Code Composer Studio Vers. 3.1.30) as soon as I close CCS and CCS:Parallel Debug Manager I get an error saying: "Unexpected Fatal Error encountered which may have been caused by a stack overflow, out of memory condition or access violation. [...]"

    It tries to save my (already closed) project and user settings, but on restart of CCS I get a message "Warning: Unexpected end of file while loading user options. Some settings may have been lost." several times. Yet I haven't found any problems with this, but it gets annoying ;)  After accepting, sometimes CCS does not even start until another doubleclick on CCS.lnk and again ok-ing the warnings.

     

    2) I followed the tutorial to the point when I was going to debug single threads. Now, on View -> Threads -> all menu items are deactivated (i.e. grey). Did I forget something or is it just impossible to use that feature with F2810?

     

    3) In the (new) version of DSP/BIOS (i.e. 5.20.04) LOG_printf seems to work a bit different than before. e.g.

       I have three tasks with the same priority (just for testing purposes). All of them use below function TSK_Fxn with argument 0 as the tasks number.

     

        void TSK_Fxn(Arg id)
        {
            while(1)    {
            LOG_printf(&trace, "Task %d", (Arg)id );
            TSK_sleep(10);
            }
        }

    I'd expect in the trace log to read:
    Task 0
    Task 1
    Task 2
    Task 0
    and so on...

    The log writes:

    Task 0   (Task 0 is running)
    Task 0   (Task 1 is running)
    Task 0   (Task 2 is running)
    Task 0   (Task 0 is running)
    ...

    What is wrong with my LOG_printf() statement?

     

    Thank you,

    Lutz Brandt