>You can not use serial communication because com
>channel is busy with the debug channel. It is a real
>pain.
POSEr does not use a COM port to debug if you set up Metrowerks
correctly(you may be thinking of debugging with an actual device). I have
programs that can output to the serial port from POSEr but will not receive.
(but thats another story)
try:
delaying between the time you open the port and start transmitting, 30-50ms
works for me
clear both the send and receive buffers before transmitting anything
use the ticks per second function to normalize any timing routines
>> Is there a problem with ports names since
>> codewarrior compiler will only allow
>> COM0, while the
>> pc ports are named COM1/COM2 ?
The Palm ROM that runs on POSEr determines which serial ports are available
not POSEr. In fact, the ROM believes it is running on an actual device and
does not know about PC resources. So code must be written to use the
resources available on an actual device (not your PC/Mac). You do not need
to select a COM port in Codewarrior when using POSEr to debug. Change the
settings (edit->settings->debugger->Palm Connection Settings->target) to
Palm OS Emulator and Codewarrior will find the emulator if it is running (no
serial port necessary) Now run POSEr and change the
settings->properties->serial port to correspond to the port your hardware is
attached to (don't forget to use a NULL modem cable)
It can be done, since programs like simpleterm work just fine on POSEr.
If anyone else has any POSEr - serial tips, please post.
D