Sign in

username:

password:



Not a member?

Search c54x



Search tips

Subscribe to c54x



c54x by Keywords

5409 | 5416 | AD5 | ADC | BIOS | Boot | Booting | Bootloader | C540 | C5402 | C5409 | C5416 | CCS | Codec | DMA | Dmad | DSK | DSKPlus | Dsplib | EVM | FFT | FIR | Flash | GPIO | HPI | Initialization | Interrupt | JTAG | LOG_printf | MCBSP | RFFT | RTDX | Sampling | STLM | UART | VC540

Ads

Discussion Groups

Discussion Groups | TMS320C54x | C54CST Board

Technical discussions about the TI C54x DSPs (including the c5401, c5402, c5402a, c5404, c5407, c5409, c5409a, c5410, c5410a, c5416, c5420, c5421, c5441, c549, c5470 and c5471).

  

Post a new Thread

C54CST Board - dang...@yahoo.com - Jan 15 7:38:38 2007



Hi all !
I am working with C54CST Board. I use Code Composer Studio 3.1 to make .out file from file .pjt
(some available examples of board). And then I use some utilities of CSTHost to make file .hex
from file .out. But when I load file .hex onto board, it does not work. If I use some available
.out files of examples, it works properly. I think this may be the error of the .out file.
Please tell me how to correct this error.
Thanks.
Nguyen Dang Tu

______________________________
New Year Gift for Members of DSPRelated.com.  Details here.


(You need to be a member of c54x -- send a blank email to c54x-subscribe@yahoogroups.com )

Re: C54CST Board - Jeff Brower - Jan 15 21:41:20 2007

Nguyen Dang Tu-

> I am working with C54CST Board. I use Code Composer Studio 3.1 to make .out
> file from file .pjt (some available examples of board). And then I use some
> utilities of CSTHost to make file .hex from file .out. But when I load file
> .hex onto board, it does not work. If I use some available .out files of
> examples, it works properly. I think this may be the error of the .out file.

Suggest to verify with Spirit DSP that their CSTHost utility works with CCS v3.1. 
v3.1 has changes from v2.2 related to format of .out file; possibly Spirit's utility
does not handle these (yet).

One thing you might try is to set compiler option:

  --symdebug:coff

and rebuild All.  This will force .out file debug/symbol format to COFF.  But even so
Spirit may need to update your utility.

If you search the CCS v3.1 Help file you can find the info below (which is not
present in the Build Options dialog!).  DWARF format is also known as ELF format. 
Note TI's comment about "older debuggers or customer tools" :-)

-Jeff
  -g or --symdebug:dwarf  Generates DWARF symbolic debugging directives
                          used by the debugger and enables assembly
                          source debugging in the assembler. Use this
                          option to generate debug information when your
                          application contains C++ files. For information
                          on the DWARF debug format, see the "DWARF
                          Debugging Information Format Specification",
                          1992-1993, UNIX International, Inc.

  --profile:breakpt       Disables optimizations that would cause incorrect
                          behavior when using a breakpoint-based profiler.

  --profile:power         Enables power profiling which produces instrument
                          code for the power profiler.

  --symdebug:coff         Enables symbolic debugging using the alternate
                          STABS debugging format. This may be necessary to
                          allow debugging with older debuggers or custom
                          tools, which do not read the DWARF format.

  --symdebug:none         Disbles all symbolic debugging output. This option
                          is not recommended; it prevents debugging and most
                          performance analysis capabilities.

  --symdebug:skeletal     Generates as much symbolic debugging information
                          as possible without hindering optimization.
                          Generally, this consists of global-scope
                          information only. This option reflects the
                          default behavior of the compiler.

______________________________
New Year Gift for Members of DSPRelated.com.  Details here.


(You need to be a member of c54x -- send a blank email to c54x-subscribe@yahoogroups.com )