Firmware upgrade command fails to send last 148 bytes of upgrade packages #18
Labels
No Label
Bug
Cantfix
Duplicate
Enhancement
External
Help Wanted
In Progress
Invalid
Question
Waiting
Waiting For Info
Waiting for Upstream
Wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Elara6331/itd#18
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
For the past couple InfiniTime releases, I have been unable to successfully use itd to upgrade the firmware, and have had to fall back onto other software like Siglo.
It seems that each time I attempt a firmware upgrade, itd will manage to send most of the package over, but consistently falls short of the last 148 bytes, yet deems the transaction as successful, causing an error on the PineTime.
Perhaps this is a display issue, but in any case the upgrade transaction never completes successfully on the PineTime.
Just after reporting this, I realized my second attempt today somehow was successful, though I thought the device had reported an error again, and the above output was displayed both attempts. I guess this is just a minor display issue, though I'm not sure why the PineTime reported an error on my first attempt.
Yes, this has happened to me too. I don't know what's causing it, as looking at the dbus messages, ITD does send the entire firmware. The reason you don't see 400548/400548 B is because the firmware transfer happens in chunks of 20 bytes and progress updates are sent by InfiniTime every 10 chunks, so the last 148 bytes would not transmit a progress update back to ITD.
If the success message was printed, it means ITD sent everything, because the channel used to transmit progress back to
itctl
is only closed once ITD sends everything. If not everything was sent, the progress bar would just stay in the same spot forever, until you killitctl
via ^C.Since it seems this is working fine, I will close this issue for now.