12 Replies Latest reply on Dec 21, 2016 10:01 PM by jone_yi_1844281

    Wiced 4.1

    terrance.peiris_2100836

      I just down load new Wiced 4.1, It is give me a below error.

       

      make all  MAKEFILE MAKECMDGOALS=all OTA2_SUPPORT is disabled Making config file for first time tools/makefiles/wiced_config.mk:244: platforms//.mk: No such file or directory tools/makefiles/wiced_config.mk:255: *** Unknown component: all.  Stop. make: *** No rule to make target 'build/all/config.mk', needed by 'main_app'.  Stop.

       

      I cannot find proper tool chain for Complier and build

       

       

      regards

      terrance

        • 1. Re: Wiced 4.1
          mifo

          which version of the SDK are you using (Linux, Windows, OSX)?  Are you using the installers that are provided for each OS? What standard CY eval board do you have connected to the host that is running the SDK?  Have you verified that the USB to Serial FTDI drivers are installed correctly on the host?

           

          rash mady

          • 2. Re: Wiced 4.1
            terrance.peiris_2100836

            HI Madhu, I am using latest 4.1SDK windows 64bit Installer. I am not using standard SDK but bought from USI BM22 and BM30 which have Wi-Fi + BLE combo using Broadcom/Cypress chipset and WiFi only with Broadcom/Cypress chipset along with STM32F1,

             

            I believed the project can compile without hardware, is that right?

             

            terrance

            • 3. Re: Wiced 4.1
              mifo

              You will need to contact USI or their regional distributor and obtain the correct platform files.

               

              jone_yi_1844281

              • 4. Re: Wiced 4.1
                jone_yi_1844281

                terrance.peiris_2100836 Which version SDK you used ? Is 4.1 ot 4.0.10 ?

                We have to make sure which version you used ?  Current release should be 4.0.10 on forum!

                If you are used SDK 4.1.0 maybe only Cypress could help you !

                 

                Basic the cypress released SDK did not include any board market vendor's platforms !

                So you could follow the Quick Start Guide to build the Cypress standard platform like BCM943362WCD4 or BCM943909WCD1xx without error !

                Must patch the SDK with vendor's platform files to support vendor's it!

                 

                ASK your distiller to get specified platform files! (current only support to SDK 4.0.10)!

                • 5. Re: Wiced 4.1
                  mifo

                  SDK 4.0.1 is the most recent version of the SDK supported here on the community. I assumed that this was the version you were referencing in your original post.

                   

                  If you have a pre-release version of a newer SDK, then please contact the sales team that enabled you with the pre-release so that they can line up support.

                  • 6. Re: Wiced 4.1
                    terrance.peiris_2100836

                    Hi Guys, sorry to miss I am using a latest Wiced SDK  4.0.1

                     

                    terrance

                    • 7. Re: Wiced 4.1
                      axel.lin_1746341

                      Hi jone_yi_1844281 terrance.peiris_2100836,

                       

                      I hit a strange issue that on SDK-3.7.0-7:

                      Wifi network becomes unreachable once init bt stack on BCM43438 platform

                      (It was working on SDK-3.7.0 but does not work on SDK-3.7.0-3 and SDK-3.7.0-7)

                       

                      You can test it by running demo.bt_internet_gateway.restful_smart_server

                      Can you help to test this on your BM22 device?

                      Just run restful_smart_server and ping the WICED device, you should be able to find ping OK after device got IP, but fails once BT init.

                      (To test it, you need to change YOUR_AP_SSID and YOUR_AP_PASSPHRASE in wifi_config_dct.h and also add BM22 to the VALID_PLATFORMS in the makefile)

                       

                      Thanks,

                      Axel

                      • 8. Re: Wiced 4.1
                        jone_yi_1844281

                        axel.lin_1746341,

                         

                        I try Restful_smart_server on SDK 3.7.0-7 !  It work on ThreadX build! Both ping and retrieve data from via curl !

                        But FreeRTOS only ping success but fail on curl command

                         

                        --

                         

                        Jone

                         

                        below is console dump for you reference

                        ============================================================

                        Starting WICED v3.7.0-7

                        Platform BCMUSI22.A0 initialised

                        Started ThreadX v5.6

                        Initialising NetX_Duo v5.7_sp2

                        Creating Packet pools

                        WWD SDIO interface initialised

                        WLAN MAC Address : 00:90:04:34:38:22

                        WLAN Firmware    : wl0: Aug  8 2016 23:42:00 version 7.45.45.21 (r653573) FWID 01-7cea6c16

                        Joining : YOUR_AP_SSID

                        Successfully joined : YOUR_AP_SSID

                        Obtaining IPv4 address via DHCP

                        DHCP CLIENT hostname WICED IP

                        IPv4 network ready IP: 192.168.1.54

                        Setting IPv6 link-local address

                        IPv6 network ready IP: FE80:0000:0000:0000:0290:04FF:FE34:3822

                        00:00:11.023392 GKI_create_task func=0x8034499  id=1  name=BTU  stack=0x0  stackSize=6144

                        00:00:11.031392 GKI_create_task func=0x8035d0d  id=0  name=HCISU  stack=0x0  stackSize=4096

                        Stack requests for local security keys

                        Bluetooth Internet Gateway initialised. BD address : 43:43:8A:10:BD:22

                        Store local keys in non-volatile memory

                        Store local keys in non-volatile memory

                        REST: LE scan completed.

                        REST: LE scan completed.

                        REST: LE scan completed.

                        REST: LE scan completed.

                         

                        Starting WICED v3.7.0-7

                        Platform BCMUSI22.A0 initialised

                        Started ThreadX v5.6

                        Initialising NetX v5.5_sp1

                        Creating Packet pools

                        WWD SDIO interface initialised                         

                        WLAN MAC Address : 00:90:04:34:38:22                   

                        WLAN Firmware    : wl0: Aug  8 2016 23:42:00 version 7.45.45.21 (r653573) FWID 01-7cea6c16                                             

                        Joining : YOUR_AP_SSID                                 

                        Successfully joined : YOUR_AP_SSID

                        Obtaining IPv4 address via DHCP

                        DHCP CLIENT hostname WICED IP

                        IPv4 network ready IP: 192.168.1.54

                        00:00:04.003928 GKI_create_task func=0x80392f9  id=1  name=BTU  stack=0x0  stackSize=6144

                        00:00:04.011928 GKI_create_task func=0x803ab6d  id=0  name=HCISU  stack=0x0  stackSize=4096                                            

                        Stack requests for local security keys                 

                        Bluetooth Internet Gateway initialised. BD address : 43:43:8A:10:BD:22

                        Store local keys in non-volatile memory                

                        Store local keys in non-volatile memory

                        REST: LE scan completed.

                        REST: LE scan completed.

                        REST: LE scan completed.

                        REST: LE scan completed.

                        REST: LE scan completed.

                        REST: LE scan completed.

                        REST: LE scan completed.

                        REST: LE scan completed.

                         

                         

                        Starting WICED v3.7.0-7

                        Platform BCMUSI22.A0 initialised

                        Started FreeRTOS v8.2.1

                        Initialising LwIP v1.4.0.rc1

                        WWD SDIO interface initialised

                        WLAN MAC Address : 00:90:04:34:38:22

                        WLAN Firmware    : wl0: Aug  8 2016 23:42:00 version 7.45.45.21 (r653573) FWID 01-7cea6c16

                        Joining : YOUR_AP_SSID

                        Successfully joined : YOUR_AP_SSID

                        Obtaining IP address via DHCP

                        Network ready IP: 192.168.1.54

                        00:00:03.040464 GKI_create_task func=0x80317c9  id=1  name=BTU  stack=0x0  stackSize=6144

                        00:00:03.048464 GKI_create_task func=0x8033045  id=0  name=HCISU  stack=0x0  stackSize=4096

                        Stack requests for local security keys

                        Bluetooth Internet Gateway initialised. BD address : 43:43:8A:10:BD:22

                        Store local keys in non-volatile memory

                        Store local keys in non-volatile memory

                         

                         

                        Starting WICED v3.7.0-7

                        Platform BCMUSI22.A0 initialised

                        Started ThreadX v5.6

                        Initialising NetX v5.5_sp1

                        Creating Packet pools

                        WWD SDIO interface initialised

                        WLAN MAC Address : 00:90:04:34:38:22

                        WLAN Firmware    : wl0: Aug  8 2016 23:42:00 version 7.45.45.21 (r653573) FWID 01-7cea6c16

                        Joining : YOUR_AP_SSID

                        Successfully joined : YOUR_AP_SSID

                        Obtaining IPv4 address via DHCP

                        DHCP CLIENT hostname WICED IP

                        IPv4 network ready IP: 192.168.1.54

                        00:00:04.016464 GKI_create_task func=0x80392f9  id=1  name=BTU  stack=0x0  stackSize=6144                                              

                        00:00:04.024464 GKI_create_task func=0x803ab6d  id=0  name=HCISU  stack=0x0  stackSize=4096                                            

                        Stack requests for local security keys                 

                        Bluetooth Internet Gateway initialised. BD address : 43:43:8A:10:BD:22

                        Store local keys in non-volatile memory

                        Store local keys in non-volatile memory

                        REST: LE scan completed.

                        REST: LE scan completed.

                         

                         

                        Starting WICED v3.7.0-7

                        Platform BCMUSI22.A0 initialised

                        Started FreeRTOS v8.2.1

                        Initialising LwIP v1.4.0.rc1

                        WWD SDIO interface initialised

                        WLAN MAC Address : 00:90:04:34:38:22

                        WLAN Firmware    : wl0: Aug  8 2016 23:42:00 version 7.45.45.21 (r653573) FWID 0

                        1-7cea6c16

                        Joining : YOUR_AP_SSID

                        Successfully joined : YOUR_AP_SSID

                        Obtaining IP address via DHCP

                        Network ready IP: 192.168.1.54

                        00:00:03.004928 GKI_create_task func=0x80317c9  id=1  name=BTU  stack=0x0  stackSize=6144

                        00:00:03.012928 GKI_create_task func=0x8033045  id=0  name=HCISU  stack=0x0  stackSize=4096

                        Stack requests for local security keys

                        Bluetooth Internet Gateway initialised. BD address : 43:43:8A:10:BD:22

                        Store local keys in non-volatile memory

                        Store local keys in non-volatile memory

                        • 9. Re: Wiced 4.1
                          axel.lin_1746341

                          jone wrote:

                           

                          axel.lin,

                           

                          I try Restful_smart_server on SDK 3.7.0-7 !  It work on ThreadX build! Both ping and retrieve data from via curl !

                          But FreeRTOS only ping success but fail on curl command

                           

                          --

                           

                          Jone

                           

                          below is console dump for you reference

                          ============================================================

                          Starting WICED v3.7.0-7

                          Platform BCMUSI22.A0 initialised

                           

                          Hi jone_yi_1844281

                          Thanks for your feedback.

                           

                          My test shows the ping failure problem only happens on BCMUSI22.A1 platform. (using 43438A1.bin)

                          Any chance to test it on BCMUSI22.A1 platfrom?

                          • 10. Re: Wiced 4.1
                            jone_yi_1844281

                            axel.lin_1746341  There are only minor control pin defined change on BCMUSI22.A0 and A1 H/W  revision !

                            The WiFi and MCU are the same! But any way !

                            The BM22.A1 have same result as A0

                             

                            Log attached as below!

                            --

                            Jone

                            ===========================================================

                             

                            Starting WICED v3.7.0-7

                            Platform BCMUSI22.A1 initialised

                            Started ThreadX v5.6

                            Initialising NetX_Duo v5.7_sp2

                            Creating Packet pools

                            WWD SDIO interface initialised

                            WLAN MAC Address : 6C:0B:84:C0:6A:F3

                            WLAN Firmware    : wl0: Aug  8 2016 23:42:00 version 7.45.45.21 (r653573) FWID 01-7cea6c16

                            Joining : YOUR_AP_SSID

                            Successfully joined : YOUR_AP_SSID

                            Obtaining IPv4 address via DHCP

                            DHCP CLIENT hostname WICED IP

                            IPv4 network ready IP: 192.168.1.55

                            Setting IPv6 link-local address

                            IPv6 network ready IP: FE80:0000:0000:0000:6E0B:84FF:FEC0:6AF3

                            00:00:11.004928 GKI_create_task func=0x8034495  id=1  name=BTU  stack=0x0  stackSize=6144

                            00:00:11.012928 GKI_create_task func=0x8035d09  id=0  name=HCISU  stack=0x0  stackSize=4096

                            Stack requests for local security keys

                            Bluetooth Internet Gateway initialised. BD address : 6C:0B:84:C0:6A:F4

                            Store local keys in non-volatile memory

                            Store local keys in non-volatile memory

                            REST: LE scan completed.

                            REST: LE scan completed.

                            REST: LE scan completed.

                            REST: LE scan completed.

                            REST: LE scan completed.

                            REST: LE scan completed.

                            REST: LE scan completed.

                            REST: LE scan completed.

                            REST: LE scan completed.

                             

                             

                            Starting WICED v3.7.0-7

                            Platform BCMUSI22.A1 initialised

                            Started ThreadX v5.6

                            Initialising NetX v5.5_sp1

                            Creating Packet pools

                            WWD SDIO interface initialised

                            WLAN MAC Address : 6C:0B:84:C0:6A:F3

                            WLAN Firmware    : wl0: Aug  8 2016 23:42:00 version 7.45.45.21 (r653573) FWID 01-7cea6c16

                            Joining : YOUR_AP_SSID

                            Successfully joined : YOUR_AP_SSID

                            Obtaining IPv4 address via DHCP

                            DHCP CLIENT hostname WICED IP

                            IPv4 network ready IP: 192.168.1.55

                            00:00:04.035464 GKI_create_task func=0x80392f1  id=1  name=BTU  stack=0x0  stackSize=6144

                            00:00:04.043464 GKI_create_task func=0x803ab65  id=0  name=HCISU  stack=0x0  stackSize=4096

                            Stack requests for local security keys

                            Bluetooth Internet Gateway initialised. BD address : 6C:0B:84:C0:6A:F4

                            Store local keys in non-volatile memory

                            Store local keys in non-volatile memory

                            REST: LE scan completed.

                            REST: LE scan completed.

                            REST: LE scan completed.

                            REST: LE scan completed.

                            REST: LE scan completed.

                            REST: LE scan completed.

                             

                            Starting WICED v3.7.0-7

                            Platform BCMUSI22.A1 initialised

                            Started ThreadX v5.6

                            Initialising NetX v5.5_sp1

                            Creating Packet pools

                            WWD SDIO interface initialised

                            WLAN MAC Address : 6C:0B:84:C0:6A:F3

                            WLAN Firmware    : wl0: Aug  8 2016 23:42:00 version 7.45.45.21 (r653573) FWID 01-7cea6c16

                            Joining : YOUR_AP_SSID

                            Successfully joined : YOUR_AP_SSID

                            Obtaining IPv4 address via DHCP

                            DHCP CLIENT hostname WICED IP

                            IPv4 network ready IP: 192.168.1.55

                            00:00:04.020464 GKI_create_task func=0x80392f1  id=1  name=BTU  stack=0x0  stackSize=6144

                            00:00:04.028464 GKI_create_task func=0x803ab65  id=0  name=HCISU  stack=0x0  stackSize=4096

                            Stack requests for local security keys

                            Bluetooth Internet Gateway initialised. BD address : 6C:0B:84:C0:6A:F4

                            Store local keys in non-volatile memory

                            Store local keys in non-volatile memory

                            REST: LE scan completed.

                            REST: LE scan completed.

                            REST: LE scan completed.

                            REST: LE scan completed.

                             

                            Starting WICED v3.7.0-7

                            Platform BCMUSI22.A1 initialised

                            Started FreeRTOS v8.2.1

                            Initialising LwIP v1.4.0.rc1

                            WWD SDIO interface initialised

                            WLAN MAC Address : 6C:0B:84:C0:6A:F3

                            WLAN Firmware    : wl0: Aug  8 2016 23:42:00 version 7.45.45.21 (r653573) FWID 01-7cea6c16

                            Joining : YOUR_AP_SSID

                            Successfully joined : YOUR_AP_SSID

                            Obtaining IP address via DHCP

                            Network ready IP: 192.168.1.55

                            00:00:03.003928 GKI_create_task func=0x80317c1  id=1  name=BTU  stack=0x0  stackSize=6144

                            00:00:03.011928 GKI_create_task func=0x803303d  id=0  name=HCISU  stack=0x0  stackSize=4096

                            Stack requests for local security keys

                            Bluetooth Internet Gateway initialised. BD address : 6C:0B:84:C0:6A:F4

                            Store local keys in non-volatile memory

                            Store local keys in non-volatile memory

                             

                            Starting WICED v3.7.0-7

                            Platform BCMUSI22.A1 initialised

                            Started FreeRTOS v8.2.1

                            Initialising LwIP v1.4.0.rc1

                            WWD SDIO interface initialised

                            WLAN MAC Address : 6C:0B:84:C0:6A:F3

                            WLAN Firmware    : wl0: Aug  8 2016 23:42:00 version 7.45.45.21 (r653573) FWID 01-7cea6c16

                            Joining : YOUR_AP_SSID

                            Successfully joined : YOUR_AP_SSID

                            Obtaining IP address via DHCP

                            Network ready IP: 192.168.1.55

                            00:00:03.016464 GKI_create_task func=0x80317c1  id=1  name=BTU  stack=0x0  stackSize=6144

                            00:00:03.024464 GKI_create_task func=0x803303d  id=0  name=HCISU  stack=0x0  stackSize=4096

                            Stack requests for local security keys

                            Bluetooth Internet Gateway initialised. BD address : 6C:0B:84:C0:6A:F4

                            Store local keys in non-volatile memory

                            Store local keys in non-volatile memory

                             

                            Starting WICED v3.7.0-7

                            Platform BCMUSI22.A1 initialised

                            Started ThreadX v5.6

                            Initialising NetX_Duo v5.7_sp2

                            Creating Packet pools

                            WWD SDIO interface initialised

                            WLAN MAC Address : 6C:0B:84:C0:6A:F3

                            WLAN Firmware    : wl0: Aug  8 2016 23:42:00 version 7.45.45.21 (r653573) FWID 01-7cea6c16

                            Joining : YOUR_AP_SSID

                            Successfully joined : YOUR_AP_SSID

                            Obtaining IPv4 address via DHCP

                            DHCP CLIENT hostname WICED IP

                            IPv4 network ready IP: 192.168.1.55

                            Setting IPv6 link-local address

                            IPv6 network ready IP: FE80:0000:0000:0000:6E0B:84FF:FEC0:6AF3

                            00:00:07.025928 GKI_create_task func=0x8034495  id=1  name=BTU  stack=0x0  stackSize=6144

                            00:00:07.033928 GKI_create_task func=0x8035d09  id=0  name=HCISU  stack=0x0  stackSize=4096

                            Stack requests for local security keys

                            Bluetooth Internet Gateway initialised. BD address : 6C:0B:84:C0:6A:F4

                            Store local keys in non-volatile memory

                            Store local keys in non-volatile memory

                            REST: LE scan completed.

                            REST: LE scan completed.

                            REST: LE scan completed.

                            REST: LE scan completed.

                            REST: LE scan completed.

                            REST: LE scan completed.

                            REST: LE scan completed.

                            REST: LE scan completed.

                            REST: LE scan completed.

                            REST: LE scan completed.

                            REST: LE scan completed.

                            REST: LE scan completed.

                             

                            Starting WICED v3.7.0-7

                            Platform BCMUSI22.A1 initialised

                            Started ThreadX v5.6

                            Initialising NetX_Duo v5.7_sp2

                            Creating Packet pools

                            WWD SDIO interface initialised

                            WLAN MAC Address : 6C:0B:84:C0:6A:F3

                            WLAN Firmware    : wl0: Aug  8 2016 23:42:00 version 7.45.45.21 (r653573) FWID 01-7cea6c16

                            Joining : YOUR_AP_SSID

                            Successfully joined : YOUR_AP_SSID

                            Obtaining IPv4 address via DHCP

                            DHCP CLIENT hostname WICED IP

                            IPv4 network ready IP: 192.168.1.55

                            Setting IPv6 link-local address

                            IPv6 network ready IP: FE80:0000:0000:0000:6E0B:84FF:FEC0:6AF3

                            00:00:07.061464 GKI_create_task func=0x8034495  id=1  name=BTU  stack=0x0  stackSize=6144

                            00:00:07.003928 GKI_create_task func=0x8035d09  id=0  name=HCISU  stack=0x0  stackSize=4096

                            Stack requests for local security keys

                            Bluetooth Internet Gateway initialised. BD address : 6C:0B:84:C0:6A:F4

                            Store local keys in non-volatile memory

                            Store local keys in non-volatile memory

                            REST: LE scan completed.

                            REST: LE scan completed.

                            REST: LE scan completed.

                            REST: LE scan completed.

                            REST: LE scan completed.

                            REST: LE scan completed.

                            REST: LE scan completed.

                            REST: LE scan completed.

                            REST: LE scan completed.

                            REST: LE scan completed.

                            REST: LE scan completed.

                            REST: LE scan completed.

                            REST: LE scan completed.

                            REST: LE scan completed.

                            REST: LE scan completed.

                            REST: LE scan completed.

                            REST: LE scan completed.

                            REST: LE scan completed.

                            REST: LE scan completed.

                            REST: LE scan completed.

                            • 11. Re: Wiced 4.1
                              terrance.peiris_2100836

                              jone_yi_1844281

                               

                              Could you tell me or guide me the correct documentation to setting the Make target on WICED 4.0.1, please?

                              I received the BM22 patch or platform files from USI but not sure where to place this file and how created make file to run the WICED

                               

                              terry

                              • 12. Re: Wiced 4.1
                                jone_yi_1844281

                                terrance.peiris_2100836

                                 

                                Utar the patch under your SDK directory (43xxx_Wi-Fi in SDK 4.0.1).

                                It will add one platform call BCMUSI22 under 43xx_Wi-Fi/platforms directory and change necessary files!

                                 

                                Then you could build snip.scan example code by issue ./make snip.scan-BCMUSI22 to CMD box (or xtem for Linux) under the 43xx_Wi-Fi directory

                                 

                                If you want to build it under the IDE , please read the documents first!

                                --

                                Jone

                                1 of 1 people found this helpful