Sign in

username:

password:



Not a member?

Search c54x



Search tips

Subscribe to c54x



c54x by Keywords

5409 | 5416 | AD5 | ADC | BIOS | Boot | Booting | Bootloader | C540 | C5402 | C5409 | C5416 | CCS | Codec | DMA | Dmad | DSK | DSKPlus | Dsplib | EVM | FFT | FIR | Flash | GPIO | HPI | Initialization | Interrupt | JTAG | LOG_printf | MCBSP | RFFT | RTDX | Sampling | STLM | UART | VC540

Ads

Discussion Groups

Discussion Groups | TMS320C54x | Re: looking for a library which has code for _printf() function

Technical discussions about the TI C54x DSPs (including the c5401, c5402, c5402a, c5404, c5407, c5409, c5409a, c5410, c5410a, c5416, c5420, c5421, c5441, c549, c5470 and c5471).

  

Post a new Thread

looking for a library which has code for _printf() function - hars...@yahoo.com - Jan 7 9:00:49 2007



Hello everybody

I am Harshitkumar.I am working on tms320c54cst.For debuging purpose i am looking for a library
which has code for _printf function.I have tried rts.lib but i didnt get success.I am using CCS
2.0. And my emulator is XDS510.

Any suggestion or help for the library will be appereciated.

Awaiting for reply.

Harshtikumar

______________________________
New Year Gift for Members of DSPRelated.com.  Details here.


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

Re: looking for a library which has code for _printf() function - Jeff Brower - Jan 7 21:32:02 2007

Harshit Kumar-

> I am Harshitkumar.I am working on tms320c54cst.For debuging purpose i am looking for a
library which has code for
> _printf function.I have tried rts.lib but i didnt get success.I am using CCS 2.0. And my
emulator is XDS510.

When you say "didn't get success", what happens?  A linker error?  If so, what
specific error message do you get?

"_printf" should be referenced from asm code, "printf" from C code.  It
sounds like you are trying to call pintf()
from asm code -- is that what you really want?

-Jeff

______________________________
New Year Gift for Members of DSPRelated.com.  Details here.


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

Re: looking for a library which has code for _printf() function - harshit parmar - Jan 8 0:12:15 2007

Hi jeff
   
  Actually i want to print messages in the stdout.And my purpose is only to take judgement
about execution of certain code.
   
  Does rts contains code for printf() function.Is it compitible to c?Means for c code we can
access? or also competible with asm function call?
   
  Harshitkumar

Jeff Brower <j...@signalogic.com> wrote:
          Harshit Kumar-

> I am Harshitkumar.I am working on tms320c54cst.For debuging purpose i am looking for a
library which has code for
> _printf function.I have tried rts.lib but i didnt get success.I am using CCS 2.0. And my
emulator is XDS510.

When you say "didn't get success", what happens? A linker error? If so, what specific
error message do you get?

"_printf" should be referenced from asm code, "printf" from C code. It
sounds like you are trying to call pintf()
from asm code -- is that what you really want?

-Jeff

 __________________________________________________
 
______________________________
New Year Gift for Members of DSPRelated.com.  Details here.


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

Re: looking for a library which has code for _printf() function - Jeff Brower - Jan 8 0:37:55 2007

HarshitKumar-

>   Actually i want to print messages in the stdout.And my purpose is only to take judgement
about execution of certain
> code.
>
>   Does rts contains code for printf() function.Is it compitible to c?Means for c code we
can access? or also
> competible with asm function call?

Suggest to use LOG_printf() function, which is intended for debug and status print-out during
real-time operation. 
Yes it is accessible from C code.

Any function can also be accessed from asm code, but this is more difficult and not recommended
unless you have a
specific reason and you are an advanced, experienced DSP developer.

-Jeff

> Jeff Brower <j...@signalogic.com> wrote:
>           Harshit Kumar-
>
>> I am Harshitkumar.I am working on tms320c54cst.For debuging purpose i am looking for a
library which has code for
>> _printf function.I have tried rts.lib but i didnt get success.I am using CCS 2.0. And
my emulator is XDS510.
>
> When you say "didn't get success", what happens? A linker error? If so, what
specific error message do you get?
>
> "_printf" should be referenced from asm code, "printf" from C code. It
sounds like you are trying to call pintf()
> from asm code -- is that what you really want?
>
> -Jeff

______________________________
New Year Gift for Members of DSPRelated.com.  Details here.


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