printf - stdout displayed on CW's console window for ColdFire

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

printf - stdout displayed on CW's console window for ColdFire

2,424 次查看
blewis
Contributor I
Under the 9s12 CW 4.5 system I could build against a different library with a termIO call that caused the printf output to my user putchar fcn which I could use to control the serial port on the hardware development board. So in on Windows XP I could open a hyperterminal window and see the printf statements.

I can't seem to find that for Coldfire, does anyone know if this is still possible?

What I would rather do is use printf to go via the demoqe USB debugger into a crt window in CW or other app without the added serial hardware and usual windows problems. Is this possible? I noticed that there is a terminal.exe application and testterm.exe application but have no idea how they work. Also piper.exe is mentioned as redirecting output for stdout.

Does anyone know a way to have printf print to a window on CW or windows without the usb/serial hardware, or if not then how to use the serial hardware.

Thanks in advance.

Bob


J2MEJediMaster added MCU type to subject line and clarified request


Message Edited by J2MEJediMaster on 2007-12-17 10:34 AM
标签 (1)
0 项奖励
回复
1 回复

753 次查看
J2MEJediMaster
Specialist I
For CW for Coldfire 6.4, there is an example project that uses the CW console window for output with the  M5282EVB board. I don't know what ColdFire CPU you're using, but you might could use that project to learn what ColdFire libraries you need to include in your own project to make the magic happen.

---Tom
0 项奖励
回复