Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handling a device in a low power state #2

Open
daniel-thompson opened this issue Mar 16, 2020 · 0 comments
Open

Handling a device in a low power state #2

daniel-thompson opened this issue Mar 16, 2020 · 0 comments

Comments

@daniel-thompson
Copy link
Contributor

Hello

I'm interested in your views on wasp-os/wasp-os#7 .

Note that the problem is exaggerated for PineTime because:

  1. It is essentially a production device that is shipped without the back glued on (allowing access to SWD without physical damage to the case). Being a production device there are no board resets or power switches so once the SPI NOR is put to sleep nothing can wake it up without either sending the SPI command to wake it up or allowing the battery to run completely flat.

  2. The test firmware that ships with the device by default puts the SPI NOR to sleep!

Personally I'd prefer to integrate the wake up into the flash driver rather than into the board init code as has been proposed (not just to fix the problem but also because it would allow us to implement auto-sleep or sleep-now-but-wake-automatically modes within the flash driver... I'm currently looking for ways to extend battery life ;-) ).

What do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant