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.

Legacy TMS320VC5502 project with updated C5500 compiler version 4.4.1

Other Parts Discussed in Thread: TMS320VC5502

Targets: two TMS320VC5502 DSPs

The source code comes from a couple of legacy projects developed under CCSv2.21.00 before I started working here.

The code is routinely compiled from the command line in a Red Hat Linux environment using Makefiles and the executable files like cl55, ar55, lnk55, hex55 from version 2.56 of the code generation tools.

They are DSP BIOS projects that appear to be using DSP BIOS version 4.90.270.

 

So, I pointed my Makefiles to the updated executable files like cl55, ar55, lnk55, hex55 from compiler version 4.4.1 from my CCSv5.2 installation on my Ubuntu 10.04 Linux box.

When I try to build the two DSP applications, I get lots of errors like:

Compiling ecgcfg.s55 ...
"ecgcfg.h55", WARNING! at line 139: [E0300] Cannot define an absolute symbol
                                            with a floating-point value;
                                            symbol's value will be encoded in
                                            floating-point format
        CLK_MICROSECONDS    .set 499.993218

"ecgcfg.h55", WARNING! at line 206: [E0300] Cannot define an absolute symbol
                                            with a floating-point value;
                                            symbol's value will be encoded in
                                            floating-point format
        PWRM_PWRM_INITVOLTS .set 1.600000

"/general/tools/ti/TMS320VC55x/c5500/bios/include/swi.h55", ERROR!   at line 33:
 [E0800]
         Instructions not permitted in structure/union definitions
        lock            Int             1       ; not posted: -1, posted: 0

"/general/tools/ti/TMS320VC55x/c5500/bios/include/swi.h55", ERROR!   at line 49:
 [E0300]
         Structure/union member not found
        SWI_BASE        .set    SWI_Obj.lock

"/general/tools/ti/TMS320VC55x/c5500/bios/include/swi.h55", ERROR!   at line 51:
 [E0300]
         Structure/union member not found
        SWI_O_LOCK      .set    SWI_Obj.lock-SWI_BASE

"ecgcfg.s55", REMARK   at line 584: [R5110] Instructions encoded in an interrupt
                                            vector slot may not be executed as
                                            part of the interrupt routine
                                    MOV #1, mmap(@bios) ; write the interrupt number in

 

It is too late for me to troubleshoot this tonight.

But I will ask this question: Is it possible to build a project using DSP/BIOS 4.90 with C5500 compiler version 4.4.1?

Should I also be looking at updating DSP/BIOS at the same time?

Thanks for any guidance.

Best regards,

PJ