Suspend and Resume notification

  • Thread starter Thread starter David
  • Start date Start date
D

David

How do I get notifications in CF .NET 3.5 that the device has gone to
Suspend mode (powered off) and then how to get notification that it has
resumed (powered on)?
 
It would be nice, but they can't cover everything for everyone. Contrary to
popular belief, they don't have infinite resources. With each version of
the CF they make decisions on what features to add to the framework based on
customer feedback, desktop compatibility and a lot of other things.
Fortunately they give us the hooks to do most (someday I'll be able to say
"all" I hope) of what we need that they've not done. In fact it's their
decision to give developers the power to extend the platform that makes it
such a good target.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com
 
Yes, I absolutely agree with you.

Chris Tacke said:
It would be nice, but they can't cover everything for everyone. Contrary
to popular belief, they don't have infinite resources. With each version
of the CF they make decisions on what features to add to the framework
based on customer feedback, desktop compatibility and a lot of other
things. Fortunately they give us the hooks to do most (someday I'll be
able to say "all" I hope) of what we need that they've not done. In fact
it's their decision to give developers the power to extend the platform
that makes it such a good target.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com
 
You're definitely posting in the wrong group. There are few people who do
CF development that would understand what you're talking about here, let
alone how to fix the issue. You're much better off posting in the
microsoft.public.windowsce.platbuilder group.

The obvious question is where does it go from BSPPowerOn - you should add
some more RETAILMSG calls and trace it out that way.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com
 
Sorry Chris,

I will post it in the suggested group.

I will try to put some more RETAILMSG in the driver's PowerUp function
to see what happen. The thing that I can't understand really is why is
I resume within 30 seconds everything goes well....

thanks in any case
 
Likely power-related. If you heat it up or cool it down, I bet the time
changes. My guess is that your resume isn't properly handling memory, so
when you power down, you slowly leak power from RAM and after 30 seconds the
power drops to a level where RAM cannot be held in refresh and the state
gets corrupted. I've certainly seen this behavior before.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com
 
Suspend

Dear Chris,

you are right it was a refresh problem of the SDRAM
thanks again
 
Back
Top