Re: Progress and Wiki

From: Michael Opdenacker <zumbi3.a.t.free.fr>
Date: Mon Feb 23 2004 - 13:05:20 EST

Hello Andrew,

I dumped all the GPIOs in b (not plugged in) and c (plugged in) and
compared both dumps:

Here's the result:
http://michaelo.free.fr/pda/h2210/screenshots/20040223a.png

It seems that GPIO 11 goes from 1 to 0 when the serial cable is plugged in.

Does this make sense? I hope this helps...

Sorry if I'm not familiar yet with GPIOs... Anyway, don't hesitate to
ask me do make any dump that would be needed....

Cheers,

   Michael.

> 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 18:05:22 2004

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:41:46 EDT