1 of 1 people found this helpful
Can you trace this from the firmware side? That's how I have found OTA issues previously. My guess, based on the output you provided, is the Android side is receiving an abort from the firmware. Of course, once it has done that, it should shut down the window or offer to restart the process.
Has there been any update on this? I'm encountering the same issue with Android 6.0 API 23. Still using the API 19 target and everything works fine except that the upload freezes and reports that it failed.
My log looks similar to the above except there is a JAVA failure:
W/BluetoothGatt: Unhandled exception in callback
java.lang.NullPointerException: Attempt to invoke virtual method 'void android.bluetooth.BluetoothGattCallback.onConnectionStateChange(android.bluetooth.BluetoothGatt, int, int)' on a null object reference
But it looks unrelated to the main upload issue.
failureLog.txt.zip 1.2 K
2 of 2 people found this helpful
Hi everyone and sorry for the late response.
We have found a solution for the issue. First we've detected an error on the BCM by using the tracing functions. We figured out, that the android sources (https://community.cypress.com/servlet/JiveServlet/download/2011-3093-9499-5157/OTA_Android_Sample_NoSecure.zip) produce a "Bad fw size: Size: 1", so we decide to build a new app including the updated version (https://community.cypress.com/servlet/JiveServlet/download/9499-6616/AndroidOtaSampleCodes_V1.1.zip)
Now the OTA Upgrade worked in 1 of 10 cases up to ~70%...
The last idea we had was to downgrade the WICED SDK from 2.3 to 2.1., because the sources were tested with this version by the sources author.
And this was the solution. Now everything works stable.
I dont know what is different in the ws_upgrade[...] parts but maybe there should be more easy to find information about these facts or maybe the android sources author should develop an update for the newer SDK version.
Thanks to email@example.com
We hope, that this will help others with the similar problems.
Good to hear you figured out a patch, any chance you would be willing to post your revised app? I'm trying to test OTA on a few devices and it would be helpful to test against software that is known to work. The stock Broadcom/Cypress OTA upload is a bit temperamental.