Eric Sun wrote:

> Hello all,
>
> I know that there have been many posts back and forth about the serial
> manager.  However, I am wondering if someone knows how to control the
> hardware itself.
>
> What I need to do is to send 5V through the Pin1 of the serial port.  I
> looked through the Palm Reference and it was mainly about sending data and
> controlling the flow.

This is not considered a supported function since the hardware registers can change 
from Palm device to device.  I have found this
to be especially true amongst the OS licenses themselves.

If you are looking for direct pin control like this, I suggest you either develop your 
own Springboard module or get the example
Serial Card Springboard module from efig.com.  The efig.com card has a full 16650 UART 
on it will all the control line registers you
need.  Here you can write your own routines to directly manipulate this serial port 
and not have to deal with bypassing the PalmOS
to get to the device hardware, it is an uncontested, flat memory map in front of you.

I have seen this done on a few projects where they needed to toggle the DTR line 
directly to an existing piece of serial equipment.
The only downside is that it only worked on Springboard enabled Palm devices but since 
they are so cheap and plentiful, I consider
that a fair trade-off.

Steve

>
>
> I am just wondering if there is ways to control the hardware.
>
> Thanks,
> __________________________________________________
> Eric C.F. Sun
> Senior Software Developer
> RAD Specialist
> Q.Data Inc.
> Tel: (905)477-1367     x.277
> Date: June 28, 2000   Time:17:10
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe, please see 
>http://www.palmos.com/dev/tech/support/forums/


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to