- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The application worked fine for me here.
Downloading Bootloader ...
Building apps lookup table
No changes detected
Downloading DCT ...
Download complete
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 66 offset 270336 size 3...
Downloading resources filesystem ... build/snip.ota_fr-MurataType1LD/filesystem.bin at sector 69 size 104...
Downloading apps lookup table in wiced_apps.mk ... build/snip.ota_fr-MurataType1LD/APPS.bin @ 0x0000 size
Downloading Application ...
Download complete
Resetting target
Target running
Build complete
Making .gdbinit
Were you running a debug session before building this application. Could you force close the openocd.exe from Task Manager.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The application worked fine for me here.
Downloading Bootloader ...
Building apps lookup table
No changes detected
Downloading DCT ...
Download complete
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 66 offset 270336 size 3...
Downloading resources filesystem ... build/snip.ota_fr-MurataType1LD/filesystem.bin at sector 69 size 104...
Downloading apps lookup table in wiced_apps.mk ... build/snip.ota_fr-MurataType1LD/APPS.bin @ 0x0000 size
Downloading Application ...
Download complete
Resetting target
Target running
Build complete
Making .gdbinit
Were you running a debug session before building this application. Could you force close the openocd.exe from Task Manager.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't have any older instance of openocd running when this command is executed - otherwise the bootloader and DCT download would have failed right away. Seems like make is trying to run parallel jobs that are conflicting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Adding ToIn_1742091 from Murata
VinayakS_26 I will provide you access to the Murata platform files via another channel and Murata prefers not to share these publicly on the community.
Look for an email from me.