Re: Progress and Wiki

From: Michael Opdenacker <zumbi3_at_free.fr>
Date: Mon, 23 Feb 2004 18:17:11 +0100

Hi Andrew,

>Ah-hah, got it. I had to handle this stuff for Axim as well. I've added
>the required cable detection stuff to h2200.c, however I'm not sure if
>the signal I've used for cable detection will work. Can someone check
>with HaRET if the following really works:
>
>a) First turn off the power to RS-232 transceiver. For this, issue a
>"SET GPLR(80) 0" command.
>b) Now print the state of the GPIO4: print "%d" GPLR(4). This should
>give you a 0 if the serial cable is not plugged in.
>c) Finally, if you plug in the serial cable, you should get a '1' from
>the previous command.
>
>If all this works, its ok. If it doesn't, just comment for now the
>SET_H2200_GPIO(RS232_ON ...) lines, and set GPIO80 default state to 80.
>
>
It doesn't work, unfortunately. GPLR(4) is always set to 0, whether the
serial cable is plugged in or not...

:-{

Michael

-- 
Michael Opdenacker
http://opdenacker.org/
Received on Mon Feb 23 2004 - 17:17:14 EST

This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:19:25 EDT