Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 1 of 1

Thread: Cannot reprogram after waking from Snooze.hibernate or Snooze.deepSleep

  1. #1
    Junior Member
    Join Date
    Jan 2019
    Posts
    1

    Cannot reprogram after waking from Snooze.hibernate or Snooze.deepSleep

    Hey there, I'm using the Snooze library on a Teensy 3.2 and trying to save power when off by using the Snooze library. My code goes to sleep, then wakes up successfully via a pushbutton interrupt.

    When I use Snooze.deepSleep or Snooze.hibernate, I can't re-program the Teensy unless I do a hard reset by disconnecting power, despite the program resuming successfully (LEDs turn on, etc.).

    When I use Snooze.sleep, I'm able to reprogram without the hard reset as normal even after waking from sleep, but the power usage savings in this mode isn't good enough.

    I know deepSleep and hibernate use the VLLSx modes. Is there something about these modes that prevent me from reprogramming after using them? If so, how can I reprogram without the power disconnection? I'm using a battery and in an enclosure, so in production this is an issue.

    Thanks!
    Last edited by birostris; 01-05-2019 at 12:49 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •