4 Replies Latest reply on Jan 29, 2020 6:52 PM by agmi_3321141

    OTA download_apps not working as expected

    agmi_3321141

      I am facing some trouble on v6.4 when using 'download_apps' target. It looks like factory app is being attempted to be downloaded at the same as the application, resulting in concurrent access to a file used by openocd. The target is "snip.ota_fr.MurataType1LD download download_apps run". See output from v6.4 :

       

      Downloading Bootloader ...

      Building apps lookup table

      Download complete

       

      Downloading DCT ...

      Download complete

       

      Downloading Application ...

      Downloading FR_APP build/snip.ota_fr-MurataType1LD/binary/snip.ota_fr-MurataType1LD.stripped.elf at sector 1  address 4096...

      The process cannot access the file because it is being used by another process.

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

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

      make.exe[1]: *** Waiting for unfinished jobs....

      Download complete

       

      Makefile:351: recipe for target 'main_app' failed

      make: *** [main_app] Error 2

       

      Here is output from v6.1 for same target:

       

      Downloading Bootloader ...

      Building apps lookup table

      No changes detected

       

      Downloading DCT ...

      No changes detected

       

      Downloading Application ...

      No changes detected

       

      Downloading FR_APP build/snip.ota_fr-MurataType1LD/binary/snip.ota_fr-MurataType1LD.stripped.elf at sector 1  address 4096...

      Downloading DCT_IMAGE build/snip.ota_fr-MurataType1LD/DCT.stripped.elf at sector 172 offset 704512 size 3...

      Downloading apps lookup table in wiced_apps.mk ... build/snip.ota_fr-MurataType1LD/APPS.bin @ 0x0000 size

      Resetting target

      Target running

      Build complete

      Making .gdbinit