Sign in

username:

password:



Not a member?

Search code-comp



Search tips

Subscribe to code-comp



code-comp by Keywords

ARM7 | BIOS | Bug | EVM | JTAG | Linker | LOG_printf | McBSP | Profiling | Relocation | RTDX | Simulator | Target | Watch

Ads

Discussion Groups

Discussion Groups | Code-Composer | Re: [c6x] Command Line(DOS) Interface to CCS 3.3

Technical discussions about Code Composer Studio.

  

Post a new Thread

Re: [c6x] Command Line(DOS) Interface to CCS 3.3 - Jeff Brower - May 18 20:18:15 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


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

Re: Re: [c6x] Command Line(DOS) Interface to CCS 3.3 - Bhooshan Iyer - May 21 9:23:14 2007

Jeff/Nilesh--

On 5/19/07, Jeff Brower <j...@signalogic.com> 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



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