Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

Smart Bluetooth Forum Discussions

Anonymous
Not applicable

I'm implementing OTAFU with BCM920737 TAG connecting USB.

I read WICED Secure Over-the-Air Firmware Upgrade Application Note (SDK 2.1 and TAG3 Board) and  I'm using Android Sample provided in :WICED Smart BCM92073X OTA Firmware Upgrade (1) and WICED Smart BCM92073X OTA Firmware Upgrade (2).

When ota_firmware_upgrade sample runs, the OTAFU is success. However, in my BCM20737S application, the OTAFU fails at the last moment. The sending data percentage becomes 100% but a pop-up showing OTAFU fails appears. To make matters worse, I have to recovery. So, I think there are some problems in my application but I can't find the cause.

I attach two files indicated in console in Android Studio.

A red sentence is different from two applications.(Some green text are my own device address.)

Please help me. I couldn't identify the cause of this problem.

Best Regards

0 Likes
1 Solution
Anonymous
Not applicable

Thank you for your reply and I'm sorry for the delay replying, mwf_mmfae, mudel and j.t.

Please I apologize again.

I found a mistake in my source code.

(The direction of a sign of inequality is reverse.)

Then, this problem is resolved when I modified it.

Thank you.

View solution in original post

0 Likes
5 Replies
MichaelF_56
Moderator
Moderator
Moderator
250 sign-ins 25 comments on blog 10 comments on blog

Adding maxsong, the gentleman that provided the sample code that you are struggling with.

0 Likes
MudeL_51
Employee
Employee
10 replies posted 5 replies posted First solution authored

Hi gell

As the log shown (mark as RED), writing characteristic is failed, the error code is 13 it means that attribute value length is invalid.

Could you help to provide the WICED Smart device side's source codes and log?

0 Likes
Anonymous
Not applicable

Hello Y I,

1.  The problem we see with the OTAFU is when the new App is larger than will fit into the EEPROM.

2.  What is the size of the image?

3.  Are you downloading the .ota.bin file?

Thanks

JT

0 Likes
Anonymous
Not applicable

Thank you for your reply and I'm sorry for the delay replying, mwf_mmfae, mudel and j.t.

Please I apologize again.

I found a mistake in my source code.

(The direction of a sign of inequality is reverse.)

Then, this problem is resolved when I modified it.

Thank you.

0 Likes

Great news.  Thanks for updating the discussion!

mudel

0 Likes