- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm trying to build the ota_fr app for the BCM943362WCD4 evaluation board but when I run the target that comes pre-loaded in the SDK (3.1.2) it completes the application build but when its trying to build s returns this error:
Building Serial Flash Image
make[1]: ./tools/makefiles/mfg_image.mk: No such file or directory
make[1]: *** No rule to make target `./tools/makefiles/mfg_image.mk'. Stop.
make: *** [sflash_image] Error 2
Are there any missing files that are needed to complete building this snippet?
Thanks
Solved! Go to Solution.
- Labels:
-
Over The Air Updates (OTA)
-
SDK 3.x
-
SPI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think you are running under Linux (ubuntu)
Here is my solution!
Replace the make under tools/common/Linux32/ or tools/common/Linux64/ with your Linux build-in one, If both are the same version.
# check system make version
$ make -v
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for x86_64-pc-linux-gnu
# check the SDK make version
$ ./make -v
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for x86_64-pc-linux-gnu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Build command is change for SDK 3.1.2, detail check the snip/ota_fr/ota_fr.c
Try follow line
# ./make snip.ota_fr-BCM43362WCD4 download download_apps run
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jone,
Thanks for the quick response. The command you provided causes the compile to get much further than it had been previously, however, I still encounter this error when compiling:
**** Build of configuration Default for project WICED-SDK-3.1.2 ****
/Applications/WICED/WICED-SDK-3.1.2/make snip.ota_fr-BCM943362WCD4 download download_apps run
Making .gdbinit
Building Bootloader
Building Serial Flash Loader App
waf_sflash_write-NoOS-NoNS-BCM943362WCD4-SDIO
Finished Building Bootloader
Build complete
Finished Building Serial Flash Loader App
snip_ota_fr-BCM943362WCD4
Downloading Bootloader ...
make: *** [main_app] Segmentation fault: 11
No changes detected
Download complete
Despite the output saying that it has completed, the board does not complete the download and continues to run the application that was previously running (snip.scan)
It seems like you have been able to run this command in your setup before. Have you seen this error?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What is your OS?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think you are running under Linux (ubuntu)
Here is my solution!
Replace the make under tools/common/Linux32/ or tools/common/Linux64/ with your Linux build-in one, If both are the same version.
# check system make version
$ make -v
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for x86_64-pc-linux-gnu
# check the SDK make version
$ ./make -v
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for x86_64-pc-linux-gnu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
If you still have problems with building and downloading the applications.
Seyhan
- 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That file is identical to mine except for indentation.
What are the expected changes?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There was a but in wiced_apps.mk that cuased it not to work on Linux and OSX. Sine variables in the download targets were wrapped with two braces (ie. (($xxx)) ) and this cause a problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content