7 Replies Latest reply on Jun 26, 2018 8:14 AM by MichaelF_56

    Problems installing WiCed Studio/SDK with non-standard Windows "Documents" Folder

    richc_3505881

      I have my "Dcuments" folder on my windows 10 machine redirected to point to a documents folder on my Google stream drive(g:)

       

      The Wiced installer didn't seem to honour my documents folder redurect, and instead installed the sdk by default in:

      Windows/user/<me>/documents...

      Which is a redundant folder in my system.

       

      I uninstalled, and reinstalled specifying my Google drive documents folder for the SDK. This appeared to work in the sense that the SDK appeared to be installed in the correct place, but the target builds (e.g. Hello sensor) don't seem to work with this configuration. I uninstalled again and reinstalled with default configuration and builds all work again. It appears to me that some of the build paths might not be correctly set up to honour a non-default SDK installation. Can you shed any light on this problem? I would prefer to keep my development files on my Google Drive rather than my local hard drive, if possible. Any advice appreciated.

        • 1. Re: Problems installing WiCed Studio/SDK with non-standard Windows "Documents" Folder
          suva_2951451

          In the non-default SDK configuration case, can you add a VERBOSE=1 in the make target and share the download logs. It might help us determine where in the makefile is the issue.

          • 2. Re: Problems installing WiCed Studio/SDK with non-standard Windows "Documents" Folder
            richc_3505881

            I added the verbose=1 to the hello_sensor target. I couldn't find the download logs - but captured the console output here. Hoping that is similar to the logs... There are some "no such file or directory" errors near the botytom.

             

             

            ----------

            23:20:40 **** Build of configuration Release for project 20719-B1_Bluetooth ****

            "G:\\My Drive\\Documents\\WICED-Studio-6.2\\20719-B1_Bluetooth\\make.exe" demo.hello_sensor-CYW920719Q40EVB_01 download VERBOSE=1

            ADK parameters:

            GCC_TOOL_DIR="..\..\43xxx_Wi-Fi\tools\ARM_GNU\Win32\bin\"

            TC="wiced"

            DIR="../../common/apps/demo/hello_sensor"

            BLD="A_20719B1"

            TOOLSBIN="..\..\wiced_tools\common\Win32\"

            BASE_IN="rom"

            SPAR_IN="ram"

            BIN_OUT_DIR="../build/hello_sensor-CYW920719Q40EVB_01-rom-ram-Wiced-release"

            OUTPUT_NAME="hello_sensor-CYW920719Q40EVB_01-rom-ram-Wiced-release"

            CGS_LIST=""

            CONFIG_DEFINITION=""

            PLATFORM_CGS_PATH="../../platforms/../platforms/CYW207x9B1.cgs"

            APP_FULL="demo/hello_sensor"

            PATCH_ROOT_DIR=""

            PLATFORM_NV="OCF"

            DEBUG=""

            DIRECT_LOAD=""

            COMPRESSION_ENABLED=""

            COMPRESSOR=""

            "../wiced_tools/common/Win32/make.exe" -C WICED   -j4  cgs

            ..\..\wiced_tools\common\Win32\perl -e "$s=A_20719B1;$s=~m/^([AF])_(\d{5})([A-Z])(\d)/;print $2;"

            ..\..\wiced_tools\common\Win32\perl -e "$s=A_20719B1;$s=~m/^([AF])_(\d{5})([A-Z])(\d)/;print $3.$4;"

            ..\..\wiced_tools\common\Win32\perl -e "$s=A_20719B1;$s=~m/^([AF])_(\d{5})([A-Z])(\d)/;print $1;"

            Compiling wiced_platform_pin_config.c

            ..\..\wiced_tools\common\Win32\perl scripts/get_sub_dirs.pl ../include/20719

            ..\..\wiced_tools\common\Win32\perl scripts/get_sub_dirs.pl ../include/20719

            make.exe[1]: Entering directory 'G:/My Drive/Documents/WICED-Studio-6.2/20719-B1_Bluetooth/WICED'

            ..\..\wiced_tools\common\Win32\mkdir -p ../build/hello_sensor-CYW920719Q40EVB_01-rom-ram-Wiced-release/CYW920719Q40EVB_01

            ..\..\wiced_tools\common\Win32\perl scripts/get_sub_dirs.pl ../include/20719

            Compiling wiced_platform.c

            ..\..\wiced_tools\common\Win32\perl scripts/get_sub_dirs.pl ../include/20719

            ..\..\43xxx_Wi-Fi\tools\ARM_GNU\Win32\bin\arm-none-eabi-gcc  -DCYW20719B1=1 -DCHIP=20719 -DWICED_SDK_MAJOR_VER=6 -DWICED_SDK_MINOR_VER=2 -DWICED_SDK_REV_NUMBER=000 -DWICED_SDK_BUILD_NUMBER=72 -DPOWER_CLASS=1 -DWICED_BT_TRACE_ENABLE -funsigned-char -fshort-wchar @internal/20719B1//gcc/20719B1.cflag -DTOOLCHAIN_wiced=1 -c -DCOMPILER_ARM -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mthumb -mlittle-endian -Os -g -Wa,-adhln -ffunction-sections -ffreestanding -DSPAR_CRT_SETUP=hello_sensor_spar_crt_setup -DSPAR_APP_SETUP=application_setup -D__TARGET_CPU_CORTEX_M4 -D__ARMCC_VERSION=400677 -I../../common/apps/demo/hello_sensor -I. -Icommon -I../platforms/CYW920719Q40EVB_01 -Iinternal/20719B1//patches/.. -I../include/ -I../../common/include/ -I../include/platforms/CYW920719Q40EVB_01/ -I../include/Drivers/ -I../include/Drivers/20719 -I../include/20719 -I../include/20719/stack -I../include/20719/internal -I../include/20719/hal -I../include/20719/arm -I../include/20719/arm/cmsis -Iinternal/20719B1  -o ../build/hello_sensor-CYW920719Q40EVB_01-rom-ram-Wiced-release/CYW920719Q40EVB_01/wiced_platform_pin_config.d ../platforms/CYW920719Q40EVB_01/wiced_platform_pin_config.c > ../build/hello_sensor-CYW920719Q40EVB_01-rom-ram-Wiced-release/CYW920719Q40EVB_01/wiced_platform_pin_config.list

            ..\..\wiced_tools\common\Win32\perl scripts/get_sub_dirs.pl ../include/20719

            arm-none-eabi-gcc: error: CreateProcess: No such file or directory

            ..\..\wiced_tools\common\Win32\mkdir -p ../build/hello_sensor-CYW920719Q40EVB_01-rom-ram-Wiced-release/platforms

            ..\..\wiced_tools\common\Win32\perl scripts/get_sub_dirs.pl ../include/20719

            ..\..\43xxx_Wi-Fi\tools\ARM_GNU\Win32\bin\arm-none-eabi-gcc  -DCYW20719B1=1 -DCHIP=20719 -DWICED_SDK_MAJOR_VER=6 -DWICED_SDK_MINOR_VER=2 -DWICED_SDK_REV_NUMBER=000 -DWICED_SDK_BUILD_NUMBER=72 -DPOWER_CLASS=1 -DWICED_BT_TRACE_ENABLE -funsigned-char -fshort-wchar @internal/20719B1//gcc/20719B1.cflag -DTOOLCHAIN_wiced=1 -c -DCOMPILER_ARM -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mthumb -mlittle-endian -Os -g -Wa,-adhln -ffunction-sections -ffreestanding -DSPAR_CRT_SETUP=hello_sensor_spar_crt_setup -DSPAR_APP_SETUP=application_setup -D__TARGET_CPU_CORTEX_M4 -D__ARMCC_VERSION=400677 -I../../common/apps/demo/hello_sensor -I. -Icommon -I../platforms/CYW920719Q40EVB_01 -Iinternal/20719B1//patches/.. -I../include/ -I../../common/include/ -I../include/platforms/CYW920719Q40EVB_01/ -I../include/Drivers/ -I../include/Drivers/20719 -I../include/20719 -I../include/20719/stack -I../include/20719/internal -I../include/20719/hal -I../include/20719/arm -I../include/20719/arm/cmsis -Iinternal/20719B1  -o ../build/hello_sensor-CYW920719Q40EVB_01-rom-ram-Wiced-release/platforms/wiced_platform.d ../platforms/wiced_platform.c > ../build/hello_sensor-CYW920719Q40EVB_01-rom-ram-Wiced-release/platforms/wiced_platform.list

            arm-none-eabi-gcc: error: CreateProcess: No such file or directory

            Compiling spar_setup.c

            ..\..\wiced_tools\common\Win32\perl scripts/get_sub_dirs.pl ../include/20719

            ..\..\wiced_tools\common\Win32\perl scripts/get_sub_dirs.pl ../include/20719

            ..\..\wiced_tools\common\Win32\mkdir -p ../build/hello_sensor-CYW920719Q40EVB_01-rom-ram-Wiced-release

            ..\..\wiced_tools\common\Win32\perl scripts/get_sub_dirs.pl ../include/20719

            Compiling hello_sensor.c

            ..\..\wiced_tools\common\Win32\perl scripts/get_sub_dirs.pl ../include/20719

            ..\..\43xxx_Wi-Fi\tools\ARM_GNU\Win32\bin\arm-none-eabi-gcc  -DCYW20719B1=1 -DCHIP=20719 -DWICED_SDK_MAJOR_VER=6 -DWICED_SDK_MINOR_VER=2 -DWICED_SDK_REV_NUMBER=000 -DWICED_SDK_BUILD_NUMBER=72 -DPOWER_CLASS=1 -DWICED_BT_TRACE_ENABLE -funsigned-char -fshort-wchar @internal/20719B1//gcc/20719B1.cflag -DTOOLCHAIN_wiced=1 -c -DCOMPILER_ARM -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mthumb -mlittle-endian -Os -g -Wa,-adhln -ffunction-sections -ffreestanding -DSPAR_CRT_SETUP=hello_sensor_spar_crt_setup -DSPAR_APP_SETUP=application_setup -D__TARGET_CPU_CORTEX_M4 -D__ARMCC_VERSION=400677 -I../../common/apps/demo/hello_sensor -I. -Icommon -I../platforms/CYW920719Q40EVB_01 -Iinternal/20719B1//patches/.. -I../include/ -I../../common/include/ -I../include/platforms/CYW920719Q40EVB_01/ -I../include/Drivers/ -I../include/Drivers/20719 -I../include/20719 -I../include/20719/stack -I../include/20719/internal -I../include/20719/hal -I../include/20719/arm -I../include/20719/arm/cmsis -Iinternal/20719B1  -o ../build/hello_sensor-CYW920719Q40EVB_01-rom-ram-Wiced-release/spar_setup.t common/spar_setup.c > ../build/hello_sensor-CYW920719Q40EVB_01-rom-ram-Wiced-release/spar_setup.list

            ..\..\wiced_tools\common\Win32\perl scripts/get_sub_dirs.pl ../include/20719

            arm-none-eabi-gcc: error: CreateProcess: No such file or directory

            make.exe[1]: *** [../build/hello_sensor-CYW920719Q40EVB_01-rom-ram-Wiced-release/spar_setup.o] Error 1

            makefile:401: recipe for target '../build/hello_sensor-CYW920719Q40EVB_01-rom-ram-Wiced-release/spar_setup.o' failed

            make: *** [demo.hello_sensor-CYW920719Q40EVB_01] Error 2

            make.exe[1]: Leaving directory 'G:/My Drive/Documents/WICED-Studio-6.2/20719-B1_Bluetooth/WICED'

            Makefile:379: recipe for target 'demo.hello_sensor-CYW920719Q40EVB_01' failed

             

             

            23:20:57 Build Finished (took 17s.154ms)

            • 3. Re: Problems installing WiCed Studio/SDK with non-standard Windows "Documents" Folder
              MichaelF_56

              The install logs are in the %tmp%\wiced_install_log folder on the PC.

              • 4. Re: Problems installing WiCed Studio/SDK with non-standard Windows "Documents" Folder
                axlic_1746341

                Your sdk version is 006.002.000.0072 which has below known issues.

                1. [20719B1]: snip.bt apps are not linked under Project Explorer in SDK.

                2. Fix for compiler warning for code generated by WICED BT Des

                 

                Maybe you need to try sdk-6.2.1:

                https://community.cypress.com/thread/34443

                1 of 1 people found this helpful
                • 5. Re: Problems installing WiCed Studio/SDK with non-standard Windows "Documents" Folder
                  richc_3505881

                  I thought you wanted build logs rather than install logs.... I will try the

                  6.2.1 release as suggested and report back with console output and install

                  logs, if I still have a problem.

                   

                   

                  On Mon., 25 Jun. 2018, 11:50 pm axel.lin_1746341, <

                  • 6. Re: Problems installing WiCed Studio/SDK with non-standard Windows "Documents" Folder
                    richc_3505881

                    I've installed Wiced 6.2.1 - but still have the problem. Below is the verbose hello_sensor build console output - and I'll attach the install logs. I can't see any obvious errors in the install log, but there are some errors n the console output. e.g.

                    "

                    CYW920719Q40EVB_01-rom-ram-Wiced-release/spar_setup.list

                    ..\..\wiced_tools\common\Win32\perl scripts/get_sub_dirs.pl ../include/20719

                    arm-none-eabi-gcc: error: CreateProcess: No such file or directory

                     

                     

                     

                    _________________

                     

                    13:09:04 **** Build of configuration Release for project 20719-B1_Bluetooth ****

                    "G:\\My Drive\\Documents\\WICED-Studio-6.2\\20719-B1_Bluetooth\\make.exe" demo.hello_sensor-CYW920719Q40EVB_01 download VERBOSE=1

                    ADK parameters:

                    GCC_TOOL_DIR="..\..\43xxx_Wi-Fi\tools\ARM_GNU\Win32\bin\"

                    TC="wiced"

                    DIR="../../common/apps/demo/hello_sensor"

                    BLD="A_20719B1"

                    TOOLSBIN="..\..\wiced_tools\common\Win32\"

                    BASE_IN="rom"

                    SPAR_IN="ram"

                    BIN_OUT_DIR="../build/hello_sensor-CYW920719Q40EVB_01-rom-ram-Wiced-release"

                    OUTPUT_NAME="hello_sensor-CYW920719Q40EVB_01-rom-ram-Wiced-release"

                    CGS_LIST=""

                    CONFIG_DEFINITION=""

                    PLATFORM_CGS_PATH="../../platforms/../platforms/CYW207x9B1.cgs"

                    APP_FULL="demo/hello_sensor"

                    PATCH_ROOT_DIR=""

                    PLATFORM_NV="OCF"

                    DEBUG=""

                    DIRECT_LOAD=""

                    COMPRESSION_ENABLED=""

                    COMPRESSOR=""

                    "../wiced_tools/common/Win32/make.exe" -C WICED  -j4  cgs

                    ..\..\wiced_tools\common\Win32\perl -e "$s=A_20719B1;$s=~m/^([AF])_(\d{5})([A-Z])(\d)/;print $2;"

                    ..\..\wiced_tools\common\Win32\perl -e "$s=A_20719B1;$s=~m/^([AF])_(\d{5})([A-Z])(\d)/;print $3.$4;"

                    ..\..\wiced_tools\common\Win32\perl -e "$s=A_20719B1;$s=~m/^([AF])_(\d{5})([A-Z])(\d)/;print $1;"

                    Compiling wiced_platform_pin_config.c

                    ..\..\wiced_tools\common\Win32\perl scripts/get_sub_dirs.pl ../include/20719

                    ..\..\wiced_tools\common\Win32\perl scripts/get_sub_dirs.pl ../include/20719

                    make.exe[1]: Entering directory 'G:/My Drive/Documents/WICED-Studio-6.2/20719-B1_Bluetooth/WICED'

                    ..\..\wiced_tools\common\Win32\mkdir -p ../build/hello_sensor-CYW920719Q40EVB_01-rom-ram-Wiced-release/CYW920719Q40EVB_01

                    ..\..\wiced_tools\common\Win32\perl scripts/get_sub_dirs.pl ../include/20719

                    Compiling wiced_platform.c

                    ..\..\wiced_tools\common\Win32\perl scripts/get_sub_dirs.pl ../include/20719

                    ..\..\43xxx_Wi-Fi\tools\ARM_GNU\Win32\bin\arm-none-eabi-gcc  -DCYW20719B1=1 -DCHIP=20719 -DWICED_SDK_MAJOR_VER=6 -DWICED_SDK_MINOR_VER=2 -DWICED_SDK_REV_NUMBER=1 -DWICED_SDK_BUILD_NUMBER=2 -DPOWER_CLASS=1 -DWICED_BT_TRACE_ENABLE -funsigned-char -fshort-wchar @internal/20719B1//gcc/20719B1.cflag -DTOOLCHAIN_wiced=1 -c -DCOMPILER_ARM -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mthumb -mlittle-endian -Os -g -Wa,-adhln -ffunction-sections -ffreestanding -DSPAR_CRT_SETUP=hello_sensor_spar_crt_setup -DSPAR_APP_SETUP=application_setup -D__TARGET_CPU_CORTEX_M4 -D__ARMCC_VERSION=400677 -I../../common/apps/demo/hello_sensor -I. -Icommon -I../platforms/CYW920719Q40EVB_01 -Iinternal/20719B1//patches/.. -I../include/ -I../../common/include/ -I../include/platforms/CYW920719Q40EVB_01/ -I../include/Drivers/ -I../include/Drivers/20719 -I../include/20719 -I../include/20719/hal -I../include/20719/internal -I../include/20719/stack -I../include/20719/arm -I../include/20719/arm/cmsis -Iinternal/20719B1  -o ../build/hello_sensor-CYW920719Q40EVB_01-rom-ram-Wiced-release/CYW920719Q40EVB_01/wiced_platform_pin_config.d ../platforms/CYW920719Q40EVB_01/wiced_platform_pin_config.c > ../build/hello_sensor-CYW920719Q40EVB_01-rom-ram-Wiced-release/CYW920719Q40EVB_01/wiced_platform_pin_config.list

                    ..\..\wiced_tools\common\Win32\perl scripts/get_sub_dirs.pl ../include/20719

                    arm-none-eabi-gcc: error: CreateProcess: No such file or directory

                    ..\..\wiced_tools\common\Win32\mkdir -p ../build/hello_sensor-CYW920719Q40EVB_01-rom-ram-Wiced-release/platforms

                    ..\..\wiced_tools\common\Win32\perl scripts/get_sub_dirs.pl ../include/20719

                    ..\..\43xxx_Wi-Fi\tools\ARM_GNU\Win32\bin\arm-none-eabi-gcc  -DCYW20719B1=1 -DCHIP=20719 -DWICED_SDK_MAJOR_VER=6 -DWICED_SDK_MINOR_VER=2 -DWICED_SDK_REV_NUMBER=1 -DWICED_SDK_BUILD_NUMBER=2 -DPOWER_CLASS=1 -DWICED_BT_TRACE_ENABLE -funsigned-char -fshort-wchar @internal/20719B1//gcc/20719B1.cflag -DTOOLCHAIN_wiced=1 -c -DCOMPILER_ARM -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mthumb -mlittle-endian -Os -g -Wa,-adhln -ffunction-sections -ffreestanding -DSPAR_CRT_SETUP=hello_sensor_spar_crt_setup -DSPAR_APP_SETUP=application_setup -D__TARGET_CPU_CORTEX_M4 -D__ARMCC_VERSION=400677 -I../../common/apps/demo/hello_sensor -I. -Icommon -I../platforms/CYW920719Q40EVB_01 -Iinternal/20719B1//patches/.. -I../include/ -I../../common/include/ -I../include/platforms/CYW920719Q40EVB_01/ -I../include/Drivers/ -I../include/Drivers/20719 -I../include/20719 -I../include/20719/hal -I../include/20719/internal -I../include/20719/stack -I../include/20719/arm -I../include/20719/arm/cmsis -Iinternal/20719B1  -o ../build/hello_sensor-CYW920719Q40EVB_01-rom-ram-Wiced-release/platforms/wiced_platform.d ../platforms/wiced_platform.c > ../build/hello_sensor-CYW920719Q40EVB_01-rom-ram-Wiced-release/platforms/wiced_platform.list

                    arm-none-eabi-gcc: error: CreateProcess: No such file or directory

                    Compiling spar_setup.c

                    ..\..\wiced_tools\common\Win32\perl scripts/get_sub_dirs.pl ../include/20719

                    ..\..\wiced_tools\common\Win32\perl scripts/get_sub_dirs.pl ../include/20719

                    ..\..\wiced_tools\common\Win32\mkdir -p ../build/hello_sensor-CYW920719Q40EVB_01-rom-ram-Wiced-release

                    ..\..\wiced_tools\common\Win32\perl scripts/get_sub_dirs.pl ../include/20719

                    Compiling hello_sensor.c

                    ..\..\wiced_tools\common\Win32\perl scripts/get_sub_dirs.pl ../include/20719

                    ..\..\43xxx_Wi-Fi\tools\ARM_GNU\Win32\bin\arm-none-eabi-gcc  -DCYW20719B1=1 -DCHIP=20719 -DWICED_SDK_MAJOR_VER=6 -DWICED_SDK_MINOR_VER=2 -DWICED_SDK_REV_NUMBER=1 -DWICED_SDK_BUILD_NUMBER=2 -DPOWER_CLASS=1 -DWICED_BT_TRACE_ENABLE -funsigned-char -fshort-wchar @internal/20719B1//gcc/20719B1.cflag -DTOOLCHAIN_wiced=1 -c -DCOMPILER_ARM -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mthumb -mlittle-endian -Os -g -Wa,-adhln -ffunction-sections -ffreestanding -DSPAR_CRT_SETUP=hello_sensor_spar_crt_setup -DSPAR_APP_SETUP=application_setup -D__TARGET_CPU_CORTEX_M4 -D__ARMCC_VERSION=400677 -I../../common/apps/demo/hello_sensor -I. -Icommon -I../platforms/CYW920719Q40EVB_01 -Iinternal/20719B1//patches/.. -I../include/ -I../../common/include/ -I../include/platforms/CYW920719Q40EVB_01/ -I../include/Drivers/ -I../include/Drivers/20719 -I../include/20719 -I../include/20719/hal -I../include/20719/internal -I../include/20719/stack -I../include/20719/arm -I../include/20719/arm/cmsis -Iinternal/20719B1  -o ../build/hello_sensor-CYW920719Q40EVB_01-rom-ram-Wiced-release/spar_setup.t common/spar_setup.c > ../build/hello_sensor-CYW920719Q40EVB_01-rom-ram-Wiced-release/spar_setup.list

                    ..\..\wiced_tools\common\Win32\perl scripts/get_sub_dirs.pl ../include/20719

                    arm-none-eabi-gcc: error: CreateProcess: No such file or directory

                    makefile:401: recipe for target '../build/hello_sensor-CYW920719Q40EVB_01-rom-ram-Wiced-release/spar_setup.o' failed

                    make.exe[1]: *** [../build/hello_sensor-CYW920719Q40EVB_01-rom-ram-Wiced-release/spar_setup.o] Error 1

                    make.exe[1]: Leaving directory 'G:/My Drive/Documents/WICED-Studio-6.2/20719-B1_Bluetooth/WICED'

                    make: *** [demo.hello_sensor-CYW920719Q40EVB_01] Error 2

                    Makefile:379: recipe for target 'demo.hello_sensor-CYW920719Q40EVB_01' failed

                     

                     

                    13:09:23 Build Finished (took 18s.802ms)

                    • 7. Re: Problems installing WiCed Studio/SDK with non-standard Windows "Documents" Folder
                      MichaelF_56

                      Adding suva_2951451 and a few other members of the Applications team so they can review:  grsr riya rroy zhez zhxh yans kavs shjl