DSPRelated.com
Forums

Re: [c6x] Command Line(DOS) Interface to CCS 3.3

Started by Jeff Brower May 18, 2007
Nilesh-
> Is there is method to compile my CCS project through command line? I mean to say
> as in ccs we use build command for compiling and load for loading and run for
> running in simulator, there must be some exe file corresponding to this.
>
> Can we use this exe file with appropriate switches to do same from DOS command
> prompt?
>
> I think this can reduce lot of compile and running time of CCS projects.

If you watch the log window in CCS, you can see the command-lines being executed
(compiler, assembler, linker). It might be possible to copy the window contents to
text file and run it outside of CCS.

But I don't know that would save much time. You'd still have to use CCS to
re-generate DSP/BIOS files and other "code generation" files.

-Jeff
Jeff/Nilesh--

On 5/19/07, Jeff Brower wrote:
>
> Nilesh-
>
> Is there is method to compile my CCS project through command line? I mean to say as in ccs we use build command for compiling and load for loading and run for running in simulator, there must be some exe file corresponding to this.
>
> Can we use this exe file with appropriate switches to do same from DOS command prompt?
>
> I think this can reduce lot of compile and running time of CCS projects.
> Is there is method to compile my CCS project through command line? I mean to say as in ccs we use build command for compiling and load for loading and run for running in simulator, there must be some exe file corresponding to this.
>
> Can we use this exe file with appropriate switches to do same from DOS command prompt?
>
> I think this can reduce lot of compile and running time of CCS projects.
> If you watch the log window in CCS, you can see the command-lines being executed (compiler, assembler, linker). It might be possible to copy the window contents to text file and run it outside of CCS.
>
> But I don't know that would save much time. You'd still have to use CCS to re-generate DSP/BIOS files and other "code generation" files.
>

Lot of CODEC developers on TI platforms like to use perl scripting to
come around the "CCS takes too long" issue. Also you can automate much
of the regression testing using this command line method. You need to
install CCS scripting and active per 5.8 though. And there is the
small issue of learning perl as well! :-)

But to be honest, TI's CCS scripting installation has enough examples
for a guy like to get around using it without knowing perl very much.

Alternatively you can do this(command line execution) using TI's
legacy GEL scripting, though its not reccomended by TI any more.

--BHooshan