USB Debugging Tips for V9
One problem that's showed up recently with V9 is the inability to debug to a device over USB. We did a lot of testing on this feature during V9's development, but it looks like we missed a few things.
First, to talk to USB devices, the debugger needs to find your USBPort.dll file. Usually, it uses instaide.dll to ask the system where this is, and it then loads it from there. This seems to fail on some computers; in that case, manually copying USBPort.dll to the CodeWarrior bin folder will help.
Second, make sure you are really putting the device into debug mode. The best way to do this is to use the DotDotTwo program that's included in V9's examples folder. This app will put the device into debug mode awaiting a connection, and it also has a nice software reset button.
If you're using a Handspring device, be sure to use DebugPrefs to set the proper debug port. On a Palm device, using a USB-only cable or cradle is important, as some combo cables (USB and serial) don't identify themselves properly to the device, and the debug system on the device will use the wrong port.
Send feedback to combee@techwood.org
Copyright © 2004 Benjamin L. Combee
Palm OS is a registered trademark of PalmSource, Inc.
Metrowerks and CodeWarrior are registered trademarks of Metrowerks Inc.
The views expressed on this website/weblog are those of mine alone and do not necessarily reflect the views of PalmSource or Metrowerks.

qwertYAK / frobnovich
|