I am utilizing the printf() function to debug my application software deployed to a Freescale programmable S3B 900HP, and lately it has been spitting out garbage when observing the terminal. (have tried RealTerm and XCTU)
My PC is talking to both systems via separate COM ports.
S3B Monitor = XBIB USB, COM16
S3B Transmitter = Grove USB, programmed w XBIB, COM21
This is what is shown on the Transmitter serial port after xbee_disc_discover_nodes() is executed from the code:
¯º9Ž6ËÇAå´±º9¤U–kWÑA´·â³º½,÷Aå´±º9¤U–kUÑA´·ë壯²ºÎÔkÕ埶KWíA²±º=®K
kA鵸·9-¤ö¯ºŽ6ËÇAå´±º9¤U–kWÑA´·¢¨—+‹Ý倻ºjçÝɤºÕÿ³º½,×+Aå´±º
A´·Ù
And the very standard sys_app_banner():
†#AÉÕª´µuY•‹§ÉÕª¶µ5UZ•‹§ÉÕª¶µ5]•‹§éÕª¶µµUŠáÙ©³8˧‚VÍÝ“¯·KW½å´µ·¶J€
…%)ÕA·²=¯V‚Nm…€“²·¡S[¸.U¨Ò…uŠÑɲ±î’‚>&¦ªÂÁ5a`˜˜+$¦ ¶ÁA …uòÕå³
µË¤‚Âá**AÝ@†«;9îVëçAu ˜¼……@åUÑí¯º
PJÒ‚ÕQea†«§éÕª¶µ5UZ—‹§ÉÕª¶µµU[•«§ÉÕª¶µµU[•«§ÉÕª6)5ÿ
It never even registers/is observed on the Monitor side. Usually it comes out just fine. The trash thing is a recent development. I have tried formatting in ASCII, Ansi, Hex(space), Hex+ASCII, etc. So really this is happening at the Transmitter and not so much the Monitor.