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.

How to build this Viterbi example?

Hi,

There are two threads discussing Viterbi example SPRA776A. 

http://e2e.ti.com/support/dsp/tms320c5000_power-efficient_dsps/f/109/t/142759.aspx

http://e2e.ti.com/support/dsp/tms320c5000_power-efficient_dsps/f/109/t/104625.aspx

It seems that it CAN build and run. Unfortunately, my build generates some severe warnings. I am using CCS v5. Could you tell me what is wrong with the project?


**** Build of configuration Debug for project viterbi_C55 ****

C:\ti\ccsv5\utils\bin\gmake -k all
'Building file: J:/C55_Viterbi/Viterbi_t.c'
'Invoking: C5500 Compiler'
"C:/ti/ccsv5/tools/compiler/c5500/bin/cl55" --memory_model=small -g --include_path="C:/ti/ccsv5/tools/compiler/c5500/include" --include_path="C:/ti/xdais_7_21_01_07/packages/ti/xdais" --include_path="C:/CCSTUD~1.1/C5500/csl/include" --define="_DEBUG" --quiet --display_error_number --ptrdiff_size=16 --obj_directory="C:/temp_XP/C55_Viterbi/viterbi_C55/Debug" --preproc_with_compile --preproc_dependency="Viterbi_t.pp" "J:/C55_Viterbi/Viterbi_t.c"
'Finished building: J:/C55_Viterbi/Viterbi_t.c'
' '
'Building file: J:/C55_Viterbi/viterbi_dec.asm'
'Invoking: C5500 Compiler'
"C:/ti/ccsv5/tools/compiler/c5500/bin/cl55" --memory_model=small -g --include_path="C:/ti/ccsv5/tools/compiler/c5500/include" --include_path="C:/ti/xdais_7_21_01_07/packages/ti/xdais" --include_path="C:/CCSTUD~1.1/C5500/csl/include" --define="_DEBUG" --quiet --display_error_number --ptrdiff_size=16 --obj_directory="C:/temp_XP/C55_Viterbi/viterbi_C55/Debug" --preproc_with_compile --preproc_dependency="viterbi_dec.pp" "J:/C55_Viterbi/viterbi_dec.asm"
"J:\C55_Viterbi\viterbi_dec.asm", REMARK at line 118: [R5601] MMR writes to
ST0 and ST2 are
not pipeline
protected
against
interrupts (see
the C55x
silicon
exceptions
errata;
Advisory
CPU_75)
MOV #0, mmap(ST0_55) ;All fields cleared (OVx, C, TCx).

.........

  • 0647.55x.zip

    Hi,

    There is a definition in the attached .cmd file:

    -stack 0x200

    On the other hand, there is a stack size option in the project property:

    The first stack option (in .cmd file) seems for system stack, but there is no DSP/BIOS content in the project.

    The second stack option is useful or not?

    Thanks.

  • Hi,

    I notice that there are two exceptions in the .asm file. The two lines (118, 155) have the same type as shown in the picture. Why are there such exceptions? 

    I do not see any selection requirement. SPRA776 only says TMS320C55x. 

    The project property setting is:

    I am especially new to C55. Do you see anything wrong in the above settings, such as endianness, lib etc.? 

    Thanks.