
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).
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
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
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
__________________________________________________
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