Hello Does anyone knows if the given Windows CE 6 BSP supports suspend / wakeup running on a Tiny6410 development kit? I am wondering to make a product using the tiny6410 coreboard but I really need the suspen / wakeup feature on Windows CE6. Best Regards
Suspend / Resume on Windows CE 6 with Tiny 6410?
I am wondering the same, I would like to have a faster on time for my project, at the moment it is a twenty second boot for application star, which is fairly fast but I would like faster.
OK, to suspend you need to do this: add to top of CPP file where you want to suspend from: #include "Pm.h" #pragma comment(lib, "Coredll.lib") call this from CPP function to suspend: SetSystemPowerState(NULL, POWER_STATE_SUSPEND, NULL); The only diffcult bit is to setup a resume hook, I think a new OS image will need to be built to do this. Also currently when you suspend the display hardware looks like it floats and the screen goes ill looking. So maybe that also needs fixing in the image. perhaps a call to kill the backlight before suspending, but then how to restart backlight on resume. For my project at the moment I will hook a momentary switch up to GPIO and use it to toggle backlight and also pause all threads in my application. This will give the illusion of real WINCE suspend.
Mr. Ashworth, Can you please show me how to toggle the backlight ? I have tried all the standard solutions, but with no result. I'm building a digital photoframe function and when this is active i want to block the backlight from going down. When the function is not active, the backlight has to go down after a certain "no userinput" time. With kind regards, Serge.