I developing on an -S08AW16, and I just want to shove a couple of variables out the serial port where I can look at them with HyperTerm. I wrote my own TERMIO_PutChar function, and printf *mostly* seems to be working. Here's my code:
( void )printf("SP %u\n\r", dtTarget );
where dtTarget is an unsigned int.
On Hyperterm, I see
I have already checked (through the emulator), and dtTarget is always non-zero. I've looked at my serial buffer, and the "SP 0" is in there, so the problem is somewhere in printf().