Watchdog constantly reboots PineTime when bluetooth connected in version 1.15.0
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- cpp
- Lĩnh vực
- embedded-iot
Hướng nghiên cứu
Không có tệp mã nguồn hay bài kiểm thử nào được nêu. Trước tiên, hãy tái hiện lỗi trên PineTime với firmware 1.15.0, chip nhớ XTX XT25F32 trước đây và GadgetBridge hoặc Amazfish, trong khi Bluetooth đang kết nối. Được xem là hoàn thành khi đồng hồ kết nối thành công và tiếp tục hoạt động thay vì rơi vào chu kỳ khởi động lại watchdog và rollback.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Verification
- I searched for similar bug reports (including closed issues) and found none was relevant.
What happened?
PineTime reboots immediately after connecting to a bluetooth device.
What should happen instead?
PineTime connects successfully to the bluetooth device and stays on after that.
Reproduction steps
Install pinetime-mcuboot-app-dfu-1.15.0.zip on PineTime with the previous memory chip (XTX XT25F32B, ref. https://github.com/InfiniTimeOrg/InfiniTime/issues/2096). For companion app I tried GadgetBridge (Android) and Amazfish (SailfishOS) with the same results. Keep the bluetooth active on the companion device, or activate it after PineTime boots with firmware 1.15.0, so the watch connects to the device.
If you want to experience several reboots without reverting to the previous firmware, you have to switch off bluetooth on the companion device right after the flashing is completed and before the PineTime completes booting, and you have to validate the firmware in the PineTime settings before switching on the bluetooth in the companion device. Otherwise, PineTime will try connecting during the first boot which will lead to rebooting and reverting to the previous firmware.
More details?
If bluetooth is disabled or not connected, the watch works as expected with all of its other functions.
If you don't validate the new firmware in the PineTime settings, reverting to the previous firmware after the first reboot leads to a fully working PineTime with the previous firmware.
But if you validate the new firmware, you have two options for reverting:
- Reboot PineTime while keeping the button pressed until the pine logo turns blue. After that, PineTime will revert to the previous firmware;
- (if the first doesn't help) Reboot PineTime while keeping the button pressed until the pine logo turns red. After that, PineTime will load some emergency firmware, which allows connecting to the companion device and you can flash some working firmware.
ATTENTION! No matter which of these two methods was used for reverting, it's not enough to clear the bluetooth problem. You have to boot PineTime with bluetooth disconnected (otherwise, PineTime will reboot again and switch to the validated new firmware), then validate the working firmware in the PineTime settings, manually reboot PineTime again (keep the button pressed while the pine logo is still white or green), and then you can switch on the bluetooth and connect to the companion device.
All the above is the same, no matter if the previous firmware is 1.14.0 or 1.14.1, or the bootloader is 1.0.0 or 1.0.1, or if you keep the added device in the companion app, or delete it after the flashing and make a new pairing after booting with 1.15.0. Clearing saved data, reinstalling and trying different versions of GadgetBridge and Amazfish doesn't help too.
It was fun to discover that PineTime keeps three firmware installations even after validating in the settings:
- The main firmware which it boots by default;
- The previous firmware that it reverts to, be it after rebooting non-validated firmware, or by going to the blue pine logo during the boot;
- The strange emergency firmware, which can be loaded by going to the red pine logo during the boot. It doesn't tell what it is (just the text InfiniTime with its logo), you can do nothing on the watch (even to turn off the display, you can just reboot), but allows you to connect to the companion device and even vibrates when new message arrives.
Version
v.1.15.0, now back to 1.14
Companion app
Different versions of GadgetBridge and Amazfish
- Ngôn ngữ chính
- C
- Star
- 3.4k
- Fork
- 1.1k
- Merge trung bình
- 23 giờ 18 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của InfiniTimeOrg/InfiniTime
-
BLE handlers use length fields from the packet without checking how much data arrivedCó thể đã có người làm @DustinHab đã nhận 37 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 56/100
InfiniTimeOrg/InfiniTime#2485 ·
-
Unexpected jump back to watch face when button pressedCó thể đã có người làm @SteveAmor đã nhận 80 ngày trước. Đang mởbug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 50/100
InfiniTimeOrg/InfiniTime#2461 · 2 bình luận ·
-
Screen doesn't go to sleep after reset countdown appCó thể đã có người làm @SteveAmor đã nhận 77 ngày trước. Đang mởbug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
InfiniTimeOrg/InfiniTime#2419 · 4 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
InfiniTimeOrg/InfiniTime#2410 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
InfiniTimeOrg/InfiniTime#2407 · 4 bình luận ·
Tất cả issue của InfiniTimeOrg/InfiniTime
Issue tương tự
-
Missing options in yara man pageĐang mởbug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 84/100
VirusTotal/yara#2255 ·
-
[BUG] Filename sequence expansion (`+`) panics on numeric values exceeding `i32::MAX`Có thể đã có người làm @muntasir-396 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
CCExtractor/ccextractor#2402 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
FujiNetWIFI/fujinet-lib#204 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
os:linux
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
mpv-player/mpv#18649 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
facebookincubator/muse-gadget-sdk#249 ·
Maintainer thường phản hồi trong vòng 1 ngày