Re: OTA downloading

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

cross mob
Anonymous
Not applicable

Hi

I was trying to implement OTA but it was throwing error as

Test environments are as follows,

SDK : SDK 3.1.2

IBCM943362WCD4 wifi module

application : snip.ota_fr-BCM943362WCD4 download download_apps

Downloading Bootloader ...

Building apps lookup table

Download complete

Downloading DCT ...

Download complete

Downloading Application ...

Download complete

Downloading FR_APP (build/snip_ota_fr-BCM943362WCD4/binary/snip_ota_fr-BCM943362WCD4.stripped.elf) at sector 1...

tools/makefiles/wiced_apps.mk:89: recipe for target 'FR_APP_DOWNLOAD' failed

make.exe[1]: *** [FR_APP_DOWNLOAD] Error 1

Makefile:185: recipe for target 'main_app' failed

make: *** [main_app] Error 2

Also the code is properly burning on the board but when i try to upload the application file(.elf) to the board using OTA server page it throws an error as

TRANSFERRING %NAN%

I have no idea to solve this issue. Can anybody let me know what should I do?

0 Likes
7 Replies
Anonymous
Not applicable

Hi,

the download and download_apps are doing two different things:

download: will download the application  (along with boot loader and DCT) in the internal flash of the MCU, this is the code that is actually running.

download_apps: will try to download the applications (along with DCT and factory reset application ) to the external serial flash, to use it as a backup during the update process.

From the logs, it seems that the download part is done ok, so the program can run, bu the download_apps (i.e writing to external serial flash) is failing. This will probably explain why the program is running properly until you try to write again in to external serial flash.

The main question is why the writing to external serial flash is failing? are you using a BCM943362WCD4 board? Did you change any thing in the makefiles that is related to external serial flash and/or SPI protocol?

Regards,

Bassem

0 Likes
Anonymous
Not applicable

Thanks Bassem for the reply.

I am using ISM43662 board from inventek systems. I solved the problem, actually the serial flash was not connected properly that resulted in the above problem.

0 Likes
Anonymous
Not applicable

Hi Prashant,


I also met the same problems with BCM9WCD1AUDIO.


Can you show how to check the serial flash is connected properly?


Thanks!


Kenny

0 Likes
Anonymous
Not applicable

Prashant,

this article may be useful to you

Secure Firmware Updates

NIck

0 Likes
Anonymous
Not applicable

Hi Nick,

How this article Secure Firmware Update can be useful if ACKme does not support BCM943362WCD4 platform?

Or am I wrong on this?

Oleg

0 Likes
Anonymous
Not applicable

Hello,

We work on OTA , we use Wiced SDK 3.5.2.

I facing the same problem.

While we work on the Wiced SDK 3.1.2 OTA working fine and not getting any transferring issue.

Any help in this case highly appreciated.

Thanks & Regards,

Chintan

0 Likes
Anonymous
Not applicable

me too. thank you for your discribing the problem.

0 Likes