Hi,
These are warnings and not errors. You can still run the code after loading
the program, as CCS will use the default values for stack & heap.
You can avoid these warnings by including a linker command file. ( you can
start out by using the lnk.cmd provided in TI installation
folder\c5400\cgtools\lib )
Regards,
Namana
Subramanian AL wrote:
do u have proper Linker Command File in place?
A L S
--- Shyam Sundar Prasad
wrote:
>
> I am using ccsv3 with tms320vc5416 and trying to
> run a simple program , which i have sucessfully run
> on TC, but when i am running on CCS following errors
> are coming, please help me to remove these errors. I
> have already included rts.lib
> __________________________________________________________ >
> "c:\new ti\c5400\cgtools\bin\cl500" -@"Debug.lkf"
>
> TMS320C54x COFF Linker Version 3.70
> Copyright (c) 1996-2001 Texas Instruments
> Incorporated
> >> warning: creating output section .cinit without
> SECTIONS specification
> >> warning: creating output section .const without
> SECTIONS specification
> >> warning: creating output section .cio without
> SECTIONS specification
> >> warning: creating .stack section with default
> size of 400 (hex) words.
> Use
> -stack option to change the default
> size.
>
> Build Complete,
> 0 Errors, 4 Warnings, 0 Remarks. __________________________________________________________ > the program is enter few character and wherever
> 'a' is their write in file '1' , else write'0'
> #include void main()
> {
> char x;
> FILE *madh=fopen("sample.txt","w");
> do
> {
> x=getchar();
> if(x=='a')
> fprintf(madh,"%d",1);
> else
> fprintf(madh,"%d",0);
> }
> while(x!='\n');
> fclose(madh);
> }
> ---------------------- >
> shyam
>
Reply by Jeff Brower●January 19, 20072007-01-19
Shyam Sundar Prasad- > I am using ccsv3 with tms320vc5416 and trying to
run a simple program , which i
> have sucessfully run on TC, but when i am running on CCS following errors
are
> coming, please help me to remove these errors. I have already included
rts.lib
One thing that jumps out is that you are using CCS v3.x but your linker is
version
3.7 (2001). For v3.1 CCS, your CG (code gen) Tools linker should be version
v4.1.0
(2005).
-Jeff > "c:\new ti\c5400\cgtools\bin\cl500" -@"Debug.lkf"
>
> TMS320C54x COFF Linker Version 3.70
> Copyright (c) 1996-2001 Texas Instruments Incorporated
> >> warning: creating output section cinit without SECTIONS specification
> >> warning: creating output section const without SECTIONS specification
> >> warning: creating output section .cio without SECTIONS specification
> >> warning: creating .stack section with default size of 400 (hex) words.
> Use
> -stack option to change the default size. Build Complete,
> 0 Errors, 4 Warnings, 0 Remarks.
>
________________________________________________________________________________
> the program is enter few character and wherever'a' is their write in
file '1' ,
> else write'0' #include void main()
> {
> char x;
> FILE *madh=fopen("sample.txt","w");
> do
> {
> x=getchar();
> if(x=='a')
> fprintf(madh,"%d",1);
> else
> fprintf(madh,"%d",0);
> }
> while(x!='\n');
> fclose(madh);
> }
> ------------------------
Reply by Subramanian AL●January 19, 20072007-01-19
do u have proper Linker Command File in place?
A L S
--- Shyam Sundar Prasad
wrote:
>
> I am using ccsv3 with tms320vc5416 and trying to
> run a simple program , which i have sucessfully run
> on TC, but when i am running on CCS following errors
> are coming, please help me to remove these errors. I
> have already included rts.lib
> ___________________________________________________________________________ >
> "c:\new ti\c5400\cgtools\bin\cl500" -@"Debug.lkf"
>
> TMS320C54x COFF Linker Version 3.70
> Copyright (c) 1996-2001 Texas Instruments
> Incorporated
> >> warning: creating output section .cinit without
> SECTIONS specification
> >> warning: creating output section .const without
> SECTIONS specification
> >> warning: creating output section .cio without
> SECTIONS specification
> >> warning: creating .stack section with default
> size of 400 (hex) words.
> Use
> -stack option to change the default
> size.
>
> Build Complete,
> 0 Errors, 4 Warnings, 0 Remarks. ________________________________________________________________________________ > the program is enter few character and wherever
> 'a' is their write in file '1' , else write'0'
> #include void main()
> {
> char x;
> FILE *madh=fopen("sample.txt","w");
> do
> {
> x=getchar();
> if(x=='a')
> fprintf(madh,"%d",1);
> else
> fprintf(madh,"%d",0);
> }
> while(x!='\n');
> fclose(madh);
> }
> ------------------------ >
> shyam
>
____________________________________________________________________________________
Want to start your own business?
Learn how on Yahoo! Small Business. http://smallbusiness.yahoo.com/r-index
Reply by Shyam Sundar Prasad●January 19, 20072007-01-19
I am using ccsv3 with tms320vc5416 and trying to run a simple program , which i
have sucessfully run on TC, but when i am running on CCS following errors are
coming, please help me to remove these errors. I have already included
rts.lib
___________________________________________________________________________
"c:\new ti\c5400\cgtools\bin\cl500" -@"Debug.lkf"
TMS320C54x COFF Linker Version 3.70
Copyright (c) 1996-2001 Texas Instruments Incorporated >> warning: creating output section .cinit without
SECTIONS specification
>> warning: creating output section .const without SECTIONS specification
>> warning: creating output section .cio without SECTIONS specification
>> warning: creating .stack section with default size of 400 (hex) words. Use
-stack option to change the default size.
Build Complete,
0 Errors, 4 Warnings, 0 Remarks.
________________________________________________________________________________
the program is enter few character and wherever
'a' is their write in file '1' , else write'0'
#include