CW9 连接treo调试的方法:
CW9的Edit->Debug Setting中,Target setting panels中的Debugger-> PalmOSDebugging中:
Connect: Device
Device:
USB
然后将c:\
windows\system32\USBPort.dll
移动 到PalmDesktop的安装目录下(就是那个PalmOne\)
然后,重启CW9
treo端:
从电脑上的CW目录:Metrowerks\CodeWarrior\(CodeWarrior Examples)\Palm OS\Metrowerks Examples\DotDotTwo\目录下,把DotDotTwoV2.prc拷到你的treo里。
在treo上运行DotDotTwoV2.prc。运行之后接上同步线(这个顺序无所谓先后),什么都不用做。
Treo端就设置好了。
之后,在CW中,按照常规的调试方法运行。CW此时连接的就不是PalmSim了,而是你的treo。
参考:
http://palmos.combee.net/blog/USBDebuggingandtheTreo650.html
[
本帖最后由 zhs2 于 2008-4-26 12:19 编辑 ]