OTA upgrade on BCM94343W_AVN

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

cross mob
Anonymous
Not applicable

I am able to upgrade the binaries on BCM94343W_AVN using ota_fr app.

We have a controller, which has STM32 controller with BCM wifi/BLE chip and 4 mb spi flash. We are able to program via WICED IDE.

But, when i run the ota_fr app, it is successfully written the binaries on external spi flash and reboot with old binaries (ota_fr).

How can i debug this ?

Would anyone help us ?

0 Likes
1 Solution

Do you have follow the step and command list in ota_fr.c ?

And do you have installed the external SPI flash on your EVB ?

Post the log of build ota_fr , include command you issue to build and download !

lallaw10​ Which version SDK you used ?

If is SDK 3.5.2 used, check Possible 3.5.2 bug in wiced_framework_set_boot() 

View solution in original post

6 Replies
MichaelF_56
Moderator
Moderator
Moderator
250 sign-ins 25 comments on blog 10 comments on blog

Moving to the WICED Wi-Fi Forums​ as this is a WICED question.

Adding vik86​ and nsankarandrew997

0 Likes
VikramR_26
Employee
Employee
25 sign-ins 10 sign-ins 10 comments on KBA

Sorry , could you let us know what issue you are seeing ?
You need help to debug an application ? or debug any issue you are seeing ?

Also are you trying to debug the BCM94343W_AVN platform ? or the other platform which you have mentioned.

0 Likes
heka_2138136
Level 1
Level 1
First like received Welcome!

Hello, I had the same issue.

I am posting the log as below:

************************************************************************************

Starting WICED v3.4.0-AWS

Platform BCM94343W_AVN initialised

Started ThreadX v5.6

Initialising NetX_Duo v5.7_sp2

Creating Packet pools

WWD SDIO interface initialised

WLAN MAC Address : B0:38:29:3D:3A:A9

WLAN Firmware    : wl0: Jun 24 2015 17:47:50 version 7.45.41 (r554772) FWID 01-5eb3f26a

Hi, I'm the Production App (ota_fr).

Watch while I toggle some LEDs ...

Time for an upgrade. OTA upgrade starting ...

IPv4 network ready IP: 192.168.10.1

Setting IPv6 link-local address

IPv6 network ready IP: FE80:0000:0000:0000:B238:29FF:FE3D:3AA9

Error setting application size!!

Error setting application size!!

Writing chunk 2 of size 1024 from offset 1024

Writing chunk 3 of size 1024 from offset 2048

Writing chunk 4 of size 1024 from offset 3072

Writing chunk 5 of size 1024 from offset 4096

Writing chunk 6 of size 1024 from offset 5120

Writing chunk 7 of size 1024 from offset 6144

Writing chunk 8 of size 1024 from offset 7168

Writing chunk 9 of size 1024 from offset 8192

Writing chunk 10 of size 1024 from offset 9216

Writing chunk 11 of size 1024 from offset 10240

Writing chunk 12 of size 1024 from offset 11264

Writing chunk 13 of size 1024 from offset 12288

Writing chunk 14 of size 1024 from offset 13312

Writing chunk 15 of size 1024 from offset 14336

Writing chunk 16 of size 1024 from offset 15360

Writing chunk 17 of size 1024 from offset 16384

Writing chunk 18 of size 1024 from offset 17408

Writing chunk 19 of size 1024 from offset 18432

Writing chunk 20 of size 1024 from offset 19456

Writing chunk 21 of size 1024 from offset 20480

Writing chunk 22 of size 1024 from offset 21504

Writing chunk 23 of size 1024 from offset 22528

Writing chunk 24 of size 1024 from offset 23552

Writing chunk 25 of size 1024 from offset 24576

Writing chunk 26 of size 1024 from offset 25600

Writing chunk 27 of size 1024 from offset 26624

Writing chunk 28 of size 1024 from offset 27648

Writing chunk 29 of size 1024 from offset 28672

Writing chunk 30 of size 1024 from offset 29696

Writing chunk 31 of size 1024 from offset 30720

Writing chunk 32 of size 1024 from offset 31744

Writing chunk 33 of size 1024 from offset 32768

Writing chunk 34 of size 1024 from offset 33792

Writing chunk 35 of size 1024 from offset 34816

Writing chunk 36 of size 1024 from offset 35840

Writing chunk 37 of size 1024 from offset 36864

Writing chunk 38 of size 1024 from offset 37888

Writing chunk 39 of size 1024 from offset 38912

Writing chunk 40 of size 1024 from offset 39936

Writing chunk 41 of size 1024 from offset 40960

Writing chunk 42 of size 1024 from offset 41984

Writing chunk 43 of size 1024 from offset 43008

Writing chunk 44 of size 1024 from offset 44032

Writing chunk 45 of size 1024 from offset 45056

Writing chunk 46 of size 1024 from offset 46080

Writing chunk 47 of size 1024 from offset 47104

Writing chunk 48 of size 1024 from offset 48128

Writing chunk 49 of size 1024 from offset 49152

Writing chunk 50 of size 1024 from offset 50176

Writing chunk 51 of size 1024 from offset 51200

Writing chunk 52 of size 1024 from offset 52224

Writing chunk 53 of size 1024 from offset 53248

Writing chunk 54 of size 1024 from offset 54272

Writing chunk 55 of size 1024 from offset 55296

Writing chunk 56 of size 1024 from offset 56320

Writing chunk 57 of size 1024 from offset 57344

Writing chunk 58 of size 1024 from offset 58368

Writing chunk 59 of size 1024 from offset 59392

Writing chunk 60 of size 1024 from offset 60416

Writing chunk 61 of size 1024 from offset 61440

Writing chunk 62 of size 1024 from offset 62464

Writing chunk 63 of size 1024 from offset 63488

Writing chunk 64 of size 1024 from offset 64512

Writing chunk 65 of size 1024 from offset 65536

Writing chunk 66 of size 1024 from offset 66560

Writing chunk 67 of size 1024 from offset 67584

Writing chunk 68 of size 1024 from offset 68608

Writing chunk 69 of size 1024 from offset 69632

Writing chunk 70 of size 1024 from offset 70656

Writing chunk 71 of size 1024 from offset 71680

Writing chunk 72 of size 1024 from offset 72704

Writing chunk 73 of size 1024 from offset 73728

Writing chunk 74 of size 1024 from offset 74752

Writing chunk 75 of size 1024 from offset 75776

Writing chunk 76 of size 1024 from offset 76800

Writing chunk 77 of size 1024 from offset 77824

Writing chunk 78 of size 1024 from offset 78848

Writing chunk 79 of size 1024 from offset 79872

Writing chunk 80 of size 1024 from offset 80896

Writing chunk 81 of size 1024 from offset 81920

Writing chunk 82 of size 1024 from offset 82944

Writing chunk 83 of size 1024 from offset 83968

Writing chunk 84 of size 1024 from offset 84992

Writing chunk 85 of size 1024 from offset 86016

Writing chunk 86 of size 1024 from offset 87040

Writing chunk 87 of size 1024 from offset 88064

Writing chunk 88 of size 1024 from offset 89088

Writing chunk 89 of size 1024 from offset 90112

Writing chunk 90 of size 1024 from offset 91136

Writing chunk 91 of size 1024 from offset 92160

Writing chunk 92 of size 1024 from offset 93184

Writing chunk 93 of size 1024 from offset 94208

Writing chunk 94 of size 1024 from offset 95232

Writing chunk 95 of size 1024 from offset 96256

Writing chunk 96 of size 1024 from offset 97280

Writing chunk 97 of size 1024 from offset 98304

Writing chunk 98 of size 1024 from offset 99328

Writing chunk 99 of size 568 from offset 100352

Uploaded file size = 100920

Restarting..

*******************************************************************************************

Could it possible the problem is due to the message "Error setting application size!!"?

0 Likes

Do you have follow the step and command list in ota_fr.c ?

And do you have installed the external SPI flash on your EVB ?

Post the log of build ota_fr , include command you issue to build and download !

lallaw10​ Which version SDK you used ?

If is SDK 3.5.2 used, check Possible 3.5.2 bug in wiced_framework_set_boot() 

Hi Jone,

The SDK version I used is 3.5.2.

I followed your suggestion to fix the boot issue and then it works.

Thank you very much.

Anonymous
Not applicable

Sorry for the late replay, I am able to upgrade binaries via OTA.

Followed steps,

    1) Writes dct look up table into external flash using sflash

    2)Possible 3.5.2 bug in wiced_framework_set_boot()

After doing this, able to flash new images on our prototype board via OTA.

Thanks,

Lal.