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

OTA Failure #287

Open
mateusz- opened this issue Sep 5, 2023 · 0 comments
Open

OTA Failure #287

mateusz- opened this issue Sep 5, 2023 · 0 comments

Comments

@mateusz-
Copy link

mateusz- commented Sep 5, 2023

Hello,

I am using this library to perform an OTA update on my company's product. I started off with the RemoteFirmwareUpdateSample.py. During the update, I see the following output:

Starting firmware update process...
Preparing for update: 0%
Preparing for update: 33%
Preparing for update: 66%
Preparing for update: 100%
Updating remote XBee firmware: 0%
Updating remote XBee firmware: 1%
....
Updating remote XBee firmware: 99%
Updating remote XBee firmware: 100%
Could not initialize remote device: TX failure
Could not initialize remote device: TX failure
Could not initialize remote device: TX failure
Could not initialize remote device: TX failure
Could not initialize remote device: TX failure
Could not initialize remote device: TX failure
Could not initialize remote device: TX failure
Could not initialize remote device: TX failure
Could not initialize remote device: TX failure
Could not initialize remote device: TX failure
Could not initialize remote device: TX failure
ERROR: Timeout communicating with target device after the firmware update
Error reading new target information: Timeout communicating with target device after the firmware update
Restoring after update: 0%
Restoring after update: 50%
Restoring after update: 100%
Error: Error reading new target information: Timeout communicating with target device after the firmware update: 100%
ERROR: Error reading new target information: Timeout communicating with target device after the firmware update

I abbreviated some output above with "...". I verified the firmware update actually succeeded by using the VR command. In the output above, I updated from the "XBP9X_9004.ebin" to "XBP9X_9009.ebin", which I obtained from XCTU's installation. My product is using the XBee SX module. ATVR, ATHV and ATHS return the following:

ATVR: 9009
ATHV: 3146
ATHS: A00

I obtained the XBee Python library from pip. The version I am using is 1.4.1.

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

1 participant