DFU upgrades do not complete #1
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?
When attempting to do a DFU upgrade, the firmware is transferred completely, but then InfiniTime reports an error and the program times out waiting for
0x100301
(DFUResponseRecvFwImgSuccess
).I believe this could be an issue with either step two where the firmware size is sent to the watch or step seven where the firmware is actually transferred. It could be somewhere else, but those are the most likely culprits in my opinion.
This is a very strange issue. It's not a hardware issue because this happens on other computers and other companion apps work. It's not a firmware issue because other companion apps work. I have checked using wireshark, and the process appears to be happening correctly, but the watch never sends the required response. Attempting to move on to the next step ignoring the missing response also does not work.
The most confusing part is that the same code worked before. I even tried testing with the initial commit which I know to have worked for sure, and it still did not work.
If anyone has a PineTime to test with, I would appreciate the help as I only have one sealed PineTime.
I will try to let the PineTime's battery die and then recharge and test just in case, but otherwise, I will keep trying to see if I can identify an issue in the code.
I have found the bug. It does not seem to be in the program itself, but somewhere in the environment. Particularly, it seems to have started after updating my computer. Both my computers run Arch, so testing on both of them yielded the same issue. I tried on my PinePhone and it worked perfectly. I don't know exactly what program has this bug, so I will leave this open as I try each program and see which one is responsible.
I tried downgrading each package and that didn't help. I ultimately narrowed it down to either a hardware or firmware issue. I could not even get the recovery firmware to load. I then bought a new PineTime, and it arrived today. It is getting reliable DFU updates, so I believe I can now close this issue.