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
Downloading DCT ...
Downloading Application ...
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: *** [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
I have no idea to solve this issue. Can anybody let me know what should I do?
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?
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.
I also met the same problems with BCM9WCD1AUDIO.
Can you show how to check the serial flash is connected properly?
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,