InfiniTimeOrg / InfiniTimeOrg/InfiniTime

The SPI flash memory ID is displayed as “ff-ff-ff” once the PineTime has gone into sleep mode (on new chips only).

Open
#2,118 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C
Stars
3.4k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Verification
  • I searched for similar bug reports (including closed issues) and found none was relevant.
What happened?

The SPI flash ID are set to "ff-ff-ff" in System Info after deep sleep

What should happen instead?

They should be displayed as "68-40-16"

Reproduction steps

Using a new PineTime equipped with the new flash chip - BY25Q32ESWIG, boot the device and before it has the chance to go to sleep, go to the SystemInfo app (Quick Settings -> Settings -> About -> 3rd page). The SPI Flash field displays "68-40-16".

Let the watch go to sleep, and repeat the procedure again : the Spi Flash field now displays "ff-ff-ff"

More details?

I guess something prevents InfiniTime from fetching those IDs after deep sleep. I'll need to debug this further and check the data sheet to check if there's something specific related to the deep sleep mode.

Note that the SPI flash seems to work fine even if InfiniTime couldn't get the IDs.

Version

1.14.1

Companion app

N/A

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the System Info app's SPI Flash field and trace how the ID is fetched before and after deep sleep. Reproduce the issue with a PineTime using the BY25Q32ESWIG chip, then consult its datasheet for deep-sleep behavior. Done means the field still displays 68-40-16 after the watch wakes from sleep.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.