Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sample App fails to update nrf52840 #91

Open
odemiral opened this issue Aug 25, 2021 · 3 comments
Open

Sample App fails to update nrf52840 #91

odemiral opened this issue Aug 25, 2021 · 3 comments

Comments

@odemiral
Copy link

odemiral commented Aug 25, 2021

Similar issue as #49 cannot update nrf52840 using the sample app, tried to use both ImageManager and FirmwareUpgradeManager

I believe this is an issue with the android implementation since the iOS sample app works flawlessly on the same device. I tried it with both 0.11.0 and 0.12.0-beta4 same problem exists on both versions.

here's the pastebin containing Logcat logs, please let me know any additional info I can provide to help with this issue.

Below is the screenshot of the app when the upload fails.
2021-08-24-19-12-18

@philips77
Copy link
Collaborator

nRF52840 requires around 18 seconds to erase the memory when doing mcuboot swap. Perhaps more, if fw is bigger. Try increasing the timeout.

@philips77
Copy link
Collaborator

@odemiral
Copy link
Author

Thank you for your response @philips77 I forgot to mention in my earlier message that I already tried that without success.

Here are the logs I get when I increase the swap time to 200 seconds.

Uploader attempts to do 36 transactions all of which end up failing. After that ImageUploader throws TransactionTimeoutException

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants