简单啊!
一般MODEM都有PC上的应用程序和驱动,
你用下面这个软件监视PC和MODEM的数据流,把它在C51上照着实现一下就行了。
下载地址:
http://download.cnet.com/ComTrac ... 6892.html?tag=mncol
感觉好别忘了给个review(评论),谢谢!
FAQ
How to use it?
1.Run ComTrace
2.Select serial port name(e.g. COM1)
3.Run serial port application program that you want to debug(e.g. Windows HyperTerminal)
4.debug......(e.g. press any key in Windows HyperTerminal, then watch the data that is captured.)
5.Close application program(e.g. Windows HyperTerminal)
6.Close ComTrace
Notice: You must operate by the order, only support Win2000 and WinXp(32 bit) system!
|