Skip to content

pico-clock breaks after some minutes #15

Open

Description

@the-it

After running for some minutes, the program crashes and leaves the user with a line of dots (in the shape of one row of the picture to show). Most of the time, this state persists and will not recover. So you have to plug the device out and in again.

Nevertheless, I encountered two times where the clock miraculously returned to the program flow 🤷 .
2021-10-01 14 45 15

Activity

  1. the-it commented on Oct 13, 2021

    @the-it
    ContributorAuthor

    This is an interesting one.

    We leak memory apparently.

    free memory: 320
    ..........
    Active since 1010 seconds
    free memory: 160
    ..........
    Active since 1020 seconds
    free memory: 155616
    ..........
    Active since 1030 seconds
    free memory: 155456
    

    But the garbage collecting than kicks in. My suspicion is that this happens sometimes to late.

    Will run some further tests. Use the clock during the day with instrumentation.

  2. the-it commented on Oct 13, 2021

    @the-it
    ContributorAuthor

    Kind of a red herring. I had two breaks today ... both in very healthy memory conditions. 🤷

  3. cpyarger commented on Oct 14, 2021

    @cpyarger
    Contributor

    I have also had this happen a few times. after a little bit of time it seems to fix itself.

  4. GeoffRiley commented on Oct 27, 2021

    @GeoffRiley

    I had this happen with the C code for a while when I first got the device… I ended up trying a different Pico and it hasn't happened since. It could have been the removal and reinsertion, or it could have been a problem with something in the Pico being borderline but other than during a power cut, that one hasn't been off since.

  5. jcoquerygithub commented on Jun 3, 2022

    @jcoquerygithub
    Contributor

    Might be solved by #19

  6. jcoquerygithub commented on Sep 19, 2022

    @jcoquerygithub
    Contributor

    @the-it can you check if, with the new code, you still have issues, mine is now running for month without problem. thx for your feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions