On WICED Studio 5.2.0, when download_apps is used, the make process may encounter a segmentation fault.
We have discovered that both of the following make entries create a segmentation fault under both Mac and Linux operating systems:
./make BCM943364WCD1 download_apps
./make BCM943364WCD1 download download_apps
ex.
"./tools/common/Linux64/mkdir" -p build/eclipse_debug/
"./tools/common/Linux64/cp" -f build/waf.bootloader-NoOS-BCM943364WCD1/binary/waf.bootloader-NoOS-BCM943364WCD1.elf build/eclipse_debug/last_bootloader.elf
Segmentation fault (core dumped)
make: *** [main_app] Error 139
What we've discovered is that the segmentation fault occurs when other processes are running concurrently with the following rule in wiced_apps.mk
APPS_LOOKUP_TABLE_RULES
The fix for this issued is attached and should replace the standard_platform_target.mk in the following location: tools/makefiles/standard_platform_targets.mk
Note: This issue has been resolved in SDK 6.0.0
Show LessThis blog is about basic debug information and configuration details for OS X on WICED SDK 2.4.1
The video shows very basic debug details
Before debugging always run 'Clean' from the 'Make Target' Window and not eclipse-->build-->clean
Debug Configuration on WICED SDK (2.4.1)
1) Main configuration tab
2) Debugger Tab (Make sure the 'Force thread list update on suspend' is unchecked)
3) Startup tab
4)Source tab
5) Common tab
HTH
vik86
Show Less