Jump to content
Flirc Forums
Sign in to follow this  
pk1

Problems with wake only with suspend

Recommended Posts

My goal is to have one key suspend and wake (with no other keys waking).

 

According to:

 

 

the "Suspend" key should wake (and suspend). However, for me it acts no different than any other key with regard to waking (in particular, if Wake is undefined, all keys including Suspend wake, otherwise only Wake does). I have tried both the beta and stable firmwares.

 

Using a strategy similar to:

 

 

I was able to get the desired beahvior, but I am concerned that there may be too many write cycles. Does anyone know the number of write cycles that this microcontroller can handle (from looking up what I believe is the specs, the flash has 10k cycles, and the eeprom has 100k. not sure which is applicable here).

 

Thanks!

Share this post


Link to post
Share on other sites

My goal is to have one key suspend and wake (with no other keys waking).

 

According to:

 

 

the "Suspend" key should wake (and suspend). However, for me it acts no different than any other key with regard to waking (in particular, if Wake is undefined, all keys including Suspend wake, otherwise only Wake does). I have tried both the beta and stable firmwares.

 

To be honest I even didn't know about this :). But I think that this feature was implemented in 2.x firmware. In 3.x Jason has re-written a big portion of the firmware so there is a chance that this particular feature has been omitted (probably by accident). We need to wait for his response to be sure.

 

Using a strategy similar to:

 

 

I was able to get the desired beahvior, but I am concerned that there may be too many write cycles. Does anyone know the number of write cycles that this microcontroller can handle (from looking up what I believe is the specs, the flash has 10k cycles, and the eeprom has 100k. not sure which is applicable here).

 

Thanks!

 

I would assume that configuration is stored in EEPROM memory as it's easier to write into it than to the Flash in this particular microcontroller - EEPROM is byte addressable and writing only require erasing bytes that are written, but the Flash is written in pages and require erasing whole page before writing even a single byte into it. Flash memory stores the bootloader and firmware.

Share this post


Link to post
Share on other sites

Hi yawor,

 

Thank you for your reply. This setup is actually working pretty well, so I guess I'll leave it as-is for now considering the EEPROM has so many writes.

 

Thanks!

Pouya

Share this post


Link to post
Share on other sites

Any update on this? I'm also getting the same behaviour , any key wakes up my PC , ideally I want one button on my remote to work,

Can you confirm this feature should be working ? Or is it my setup?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...