Hello.
1)
I can't get printf to work in CCS running TMS320F28335.
Even a simple line of code
printf("hello\n");
causes what appears to be an incomplete compilation, giving the error messages:
+++++++++++++++++++++++++++++++++++
remark: automatic RTS selection: linking in "rts2800_fpu32.lib" in place of
index library "libc.a"
warning: creating output section ".cio" without a SECTIONS specification
warning: creating output section ".sysmem" without a SECTIONS specification
warning: creating ".sysmem" section with default size of 0x400; use the -heap
option to change the default size
"C:/ti/controlSUITE/device_support/f2833x/v141/DSP2833x_common/cmd/28335_RAM_lnk.cmd", line 125: error:
>> Compilation failure
program will not fit into available memory. placement with
alignment/blocking fails for section ".text" size 0x20d1 page 0. Available
memory ranges:
RAML1 size: 0x1000 unused: 0x1000 max hole: 0x1000
.text : > RAML1, PAGE = 0
error: errors encountered during linking; "Example_2823xAdcSeq_ovdTest.out" not
built
gmake: *** [Example_2823xAdcSeq_ovdTest.out] Error 1
gmake: Target `all' not remade because of errors.
+++++++++++++++++++++++++++++++++
2)
I want to use the printf function for debugging; so, in fact, I have other arguments for the printf function, but seeing how it did not work with several different attemps for those arguments, I resorted to the simple case of the test code above, and still, no luck.
3)
When I take that one line of code out, program compiles, and target is running.
4)
The printf support level is at full under the C2000 compiler advanced options. <stdio.h> is included. And I have looked at 5 other postings related to "printf not working" on this forum, but I can't find the source of the problem in my system.
Any help is appreciated.
Michael S.