Using printf to display characters on terminal I/O

Discussions on how to get your MSP JTAG programmer up and running.

Moderator: phalanx

Post Reply
Posts: 7
Joined: Sat Oct 13, 2007 9:05 pm

Using printf to display characters on terminal I/O

Post by jsayavong » Thu Oct 18, 2007 6:22 am

I am trying to debug my code via the built-in IAR simulator.
Is there any way to using the printf statement in the source
code to send characters to terminal I/O during simulation?
such as :

printf("hello world");
printf("PORT2 = %d", P2IN); //read and display port 2 pins

Has anybody used the statements above or something similar

Please share your idea or suggestions,

Thanks in advance,


Posts: 269
Joined: Sun Mar 26, 2006 10:04 am

Post by OldCow » Fri Oct 19, 2007 8:44 pm

Posts: 108
Joined: Thu Feb 12, 2009 11:31 pm


Post by naz » Mon Feb 16, 2009 3:28 am

HI old cow,
i tried this link,i couldn't open this,could u pleas cut and paste that


Post Reply