Re: CF card init sequence
From: V Green (vancegrn_at_nowhere.net)
Date: 06/22/04
- Next message: chris: "typed dataset?"
- Previous message: V Green: "Re: two programs share one GPS source"
- In reply to: Andrew Kennard: "Re: CF card init sequence"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 21 Jun 2004 18:57:58 -0700
Yeah, this is what I kinda had in mind, although it
would be nice to just tell the damn OS to wait for
a while via some Registry setting I don't know about.
I *suspect* if I go the below route, the OS will still
try to init the damn thing before it's ready, and before
any "reset" app I might run will kick in...
"Andrew Kennard" <a.kennard@btinternet.com> wrote in message
news:euwNps5VEHA.212@TK2MSFTNGP12.phx.gbl...
> Have you tried CeRunAppatEvent to run an application when the device is
> switched on (wakeup). I use this type of method to run a small 'starter'
> app
> that starts my main program and sends it a WM_USER message that it then
> uses
> to 'deal with' the device coming back on
>
> HTH
>
> Andrew
> "V Green" <vancegrn@nowhere.net> wrote in message
> news:ek1fY$zVEHA.1128@TK2MSFTNGP10.phx.gbl...
>> OK, this is more of a hardware thing, but I
>> am hoping for some insight from those of you
>> who have programmed for Compact Flash serial devices
>> under .NET CF and may have some insight...
>>
>> I have 2 e750's and a Holux GM-270 Ultra
>> CF GPS and a Fortuna Pocket XTrack CF GPS.
>>
>> The Holux unit does not care if I power down the PPC
>> to save power when I'm not using it without pulling the
>> card. It'll come out of suspend just fine, and I can
>> re-connect to it with nav software.
>>
>> The Fortuna unit causes the PPC to throw an "Unrecognized
>> card in Slot 1" error under the following conditions:
>>
>> If I leave it in the slot and suspend/resume.
>> If I pull it/insert it AFTER it has popped the "Unknown"
>> error (no matter how many times-only a pwer cycle
>> with the card out will clear this).
>> If I put it into the CF slot with the PPC off, automatically
>> bringing it out of suspend.
>>
>> The only way to get it to initialize properly and be seen
>> is:
>>
>> Power up the PPC.
>> Wait about 10 sec.
>> Insert the card.
>>
>> I feel that the PPC CF detect routine is running too quickly
>> after resume to allow the Fortuna to initialize upon power-up,
>> catching the card in some unrecognizable state.
>>
>> I have played with the ResetDelay value in the Registry
>> for the SERIAL.DLL service, but I'm thinking that any changes
>> I make here only run after a soft reset.
>>
>> I would really like to get the Fortuna to behave after suspend/resume
>> in order to extend battery life. I don't mind writing a little code to
>> do this if there's any way to get it to run automatically after
>> suspend/resume
>> (I already know that putting it into Startup won't work).
>>
>> Fortuna blames Toshiba.
>>
>> Toshiba blames Fortuna.
>>
>> What else is new...
>>
>> Thx for any info or insight you all may have...
>>
>>
>>
>
>
- Next message: chris: "typed dataset?"
- Previous message: V Green: "Re: two programs share one GPS source"
- In reply to: Andrew Kennard: "Re: CF card init sequence"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|