DSPRelated.com
Forums

printf drama's

Started by andrewpasquale August 8, 2002
hello all,
just a quick question,
do you know why "puts" works in displaying text in the output window
in CCS, but not printf?
im trying to use printf to send/display data from the dsp to the
output window in ccs, it works fine in the rtdx example but i cant
seem to make it work in my project

any help would be greatly appreciated
Andrew Pasquale




hi,

no garantee, but take car of some points:
1. #include strio.h
2. stack atleast 0x400
3. define heap 0x400 is ok

if no help, let me know.
take also in account this sometimes happesn without any raison.
derk > -----Original Message-----
> From: andrewpasquale [mailto:]
> Sent: Thursday, August 08, 2002 9:00
> To:
> Subject: [c54x] printf drama's > hello all,
> just a quick question,
> do you know why "puts" works in displaying text in the output window
> in CCS, but not printf?
> im trying to use printf to send/display data from the dsp to the
> output window in ccs, it works fine in the rtdx example but i cant
> seem to make it work in my project
>
> any help would be greatly appreciated
> Andrew Pasquale >
>
> _____________________________________
> Note: If you do a simple "reply" with your email client, only the
> author of this message will receive your answer. You need to do
> a "reply all" if you want your answer to be distributed to the
> entire group.
>
> _____________________________________
> About this discussion group:
>
> To Join: Send an email to
>
> To Post: Send an email to
>
> To Leave: Send an email to
>
> Archives: http://www.yahoogroups.com/group/c54x
>
> Other Groups: http://www.dsprelated.com > ">http://docs.yahoo.com/info/terms/ >


Andrew,

I encountered the same problem while working on a C55x simulator
configuration. 2 things :

1. have you included <stdio.h> in your file?

2. have you included the rts.lib from c5400\cgtools\lib?

I do not know if that helps, but hope so. Laurent
>From: "andrewpasquale" <>
>To:
>Subject: [c54x] printf drama's
>Date: Thu, 08 Aug 2002 06:59:58 -0000
>
>hello all,
>just a quick question,
>do you know why "puts" works in displaying text in the output window
>in CCS, but not printf?
>im trying to use printf to send/display data from the dsp to the
>output window in ccs, it works fine in the rtdx example but i cant
>seem to make it work in my project
>
>any help would be greatly appreciated
>Andrew Pasquale

_________________________________________________________________
Discutez en ligne avec vos amis ! http://messenger.msn.fr