This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

printf problem

Other Parts Discussed in Thread: CCSTUDIO

hi,

  when am using printf statement in ccs3.3, am getting the following error:::

--------------------------  LED_1S_DELAY.pjt - Debug  --------------------------
[DSP281x_GlobalVariableDefs.c] "C:\CCStudio_v3.3\C2000\cgtools\bin\cl2000" -g -pdsw225 -fr"D:/TEMP/F2812 TEMP/LED_1S_DELAY/LED_1S_DELAY/Debug" -i"C:/tidcs/c28/DSP281x/v120/DSP281x_headers/include" -d"_DEBUG" -d"LARGE_MODEL" -ml -v28 -@"Debug.lkf" "DSP281x_GlobalVariableDefs.c"

[LED_1S_DELAY.C] "C:\CCStudio_v3.3\C2000\cgtools\bin\cl2000" -g -pdsw225 -fr"D:/TEMP/F2812 TEMP/LED_1S_DELAY/LED_1S_DELAY/Debug" -i"C:/tidcs/c28/DSP281x/v120/DSP281x_headers/include" -d"_DEBUG" -d"LARGE_MODEL" -ml -v28 -@"Debug.lkf" "LED_1S_DELAY.C"

[Linking...] "C:\CCStudio_v3.3\C2000\cgtools\bin\cl2000" -@"Debug.lkf"
<Linking>
>> warning: creating output section .cio without SECTIONS specification
>> warning: creating .sysmem section with default size of 400 (hex) words.
 
            Use -heap option to change the default size.
>>   error: can't allocate .text, size 00001a0b (page 0) in PRAMH0 (avail:
            00000ffe)
>>   error: can't allocate .cio, size 00000120 (page 1) in RAMM1 (avail:
            00000000), DEV_EMU (avail: 000000b0), FLASH_REGS (avail: 00000058),
            CSM (avail: 00000000), XINTF (avail: 00000000), CPU_TIMER0 (avail:
            00000000), CPU_TIMER1 (avail: 00000000), CPU_TIMER2 (avail:
            00000000), PIE_CTRL (avail: 00000006), PIE_VECT (avail: 00000000),
            ECANA (avail: 0000000c), ECANA_LAM (avail: 00000000), ECANA_MOTS
            (avail: 00000000), ECANA_MOTO (avail: 00000000), ECANA_MBOX (avail:
            00000000), SYSTEM (avail: 00000000), SPIA (avail: 00000000), SCIA
            (avail: 00000000), XINTRUPT (avail: 00000000), GPIOMUX (avail:
            00000000), GPIODAT (avail: 00000000), ADC (avail: 00000006), EVA
            (avail: 0000000e), EVB (avail: 0000000e), SCIB (avail: 00000000),
            MCBSPA (avail: 0000001b), CSM_PWL (avail: 00000000), DRAMH0 (avail:
            00000127)
>>   error: errors in input - ./Debug/LED_1S_DELAY.out not built

>> Compilation failure

Build Complete,
  4 Errors, 2 Warnings, 0 Remarks.
.......................................................................

but without printf the same code is working and i got a output........

WHAT IS THE PROBLEM ?. , PROVIDE A SOLUTION A SOON