Skip to main content
jmartin9
Associate III
March 6, 2006
Question

problem executing printf

  • March 6, 2006
  • 2 replies
  • 676 views
Posted on March 06, 2006 at 06:23

problem executing printf

This topic has been closed for replies.

2 replies

jmartin9
jmartin9Author
Associate III
March 1, 2006
Posted on March 01, 2006 at 05:20

hello,

for the toolsuite IAR + WinIdea i can not use sample program with retarget :

/* infinite loop */

while(1)

{

printf (''HELLO WORD'');

......

.....

}

the program can not find printf and need to break the execution.

Might it be a problem with the lib conf?

Thanks,

jm

jmartin9
jmartin9Author
Associate III
March 2, 2006
Posted on March 02, 2006 at 10:17

hi !!!!

Yes it's retarget file from STR71x library.

if i don't use retarget what is the stdout for printf?(EMI, JTAG.....)

when i use printf what are the subfunctions used? (putc, ...........)

do you have a sample program to retarget printf to UART?

thanks :D ???????

________________

Attachments :

retarget.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HtOT&d=%2Fa%2F0X0000000aPN%2Fv8q8S5.too0EFmUC9mJV3yR6KkoVLkZ1.Aa.OBsja9Q&asPdf=false