1 2 Previous Next 20 Replies Latest reply on Aug 3, 2017 5:41 PM by axel.lin_1746341

    BCM94343WWCD2 can't work on Wiced Studio 5.x

    ken6

      Hi Sir,

       

         Currently, we study to bring up the BCM94343WWCD2 platform on Wiced Studio 5.x. When make target " snip.scan-BCM94343WWCD2-ThreadX-NetX download download run", there is no Wifi scan information.

       

      Starting WICED v5.0.0

      Platform BCM94343WWCD2 initialised

      Started ThreadX v5.6

      Initialising NetX v5.5_sp1

      Creating Packet pools

      Waiting for scan results...

        # Type  BSSID             RSSI  Rate Chan  Security         SSID

      ----------------------------------------------------------------------------------------------

       

      If the wiced studio change to 4.x version, it's workable. We would like to know if BCM94343WWCD2 platform is ready on  Wiced Studio 5.x.

        • 1. Re: BCM94343WWCD2 can't work on Wiced Studio 5.x
          sqlsql_2244756

          Hi,

          Small note its ok in your make string double "download download"? Maybe you wanted write "download_apps"?

          BR

          Darius

          1 of 1 people found this helpful
          • 3. Re: BCM94343WWCD2 can't work on Wiced Studio 5.x
            ken6

            Update

             

            17:39:19 **** Build of configuration Default for project 43xxx_Wi-Fi ****

            "D:\\WICED_SCR\\WICED-Studio-5.0\\43xxx_Wi-Fi\\make.exe" snip.scan-BCM94343WWCD2-ThreadX-NetX download run

            MAKEFILE MAKECMDGOALS=snip.scan-BCM94343WWCD2-ThreadX-NetX download run OTA2_SUPPORT is disabled

            Building Bootloader

            Finished Building Bootloader

             

             

            snip.scan-BCM94343WWCD2-ThreadX-NetX

            ----------------------------------|---------|---------|

                                              |         |  Static |

                          Module              |  Flash  |   RAM   |

            ----------------------------------+---------+---------|

            App                               |     404 |       0 |

            crc                               |    1060 |       0 |

            Host MCU-family library           |   13261 |    2489 |

            Interrupt Vectors                 |     388 |       0 |

            libc                              |   23769 |    3064 |

            Networking                        |     850 |    9787 |

            NetX                              |    3566 |      40 |

            Packet Buffers                    |       0 |   22360 |

            platform                          |    1168 |     256 |

            RAM Initialisation                |    2364 |       0 |

            resources                         |  384268 |       0 |

            Ring_Buffer                       |     112 |       0 |

            Startup Stack & Link Script fill  |       6 |       1 |

            ThreadX                           |    7936 |     396 |

            TLV                               |      28 |       0 |

            WICED                             |    3984 |    1056 |

            WWD                               |   16708 |    3111 |

            ----------------------------------+---------+---------|

            TOTAL (bytes)                     |  457508 |   42560 |

            ----------------------------------|---------|---------|

             

             

            Downloading Bootloader ...

            Download complete

             

             

            Downloading DCT ...

            Download complete

             

             

            Downloading Application ...

            Download complete

             

             

            Resetting target

            Target running

            Build complete

            Making .gdbinit

             

             

            17:39:58 Build Finished (took 39s.287ms)

             

            Starting WICED v5.0.1

            Platform BCM94343WWCD2 initialised

            Started ThreadX v5.6

            Initialising NetX v5.5_sp1

            Creating Packet pools

            Waiting for scan results...

              # Type  BSSID             RSSI  Rate Chan  Security         SSID

            ----------------------------------------------------------------------------------------------

            • 4. Re: BCM94343WWCD2 can't work on Wiced Studio 5.x
              sqlsql_2244756

              Hi,

              I see, that your "resources"   are 384268 size. 

              So, you try use firmware in internal flash?

              It seems to me, that you must be sure, that  firmware are loading from internal flash, but not from external spi flash. (Maybe best way are debug code or check load time from internal flash it must be fasted).

              WIFI firmware are different in SDK5 and SDK4. (at external spi flash firmware are loaded at factory- so it can be old and maybe not working with new SDK).

              To load in to external flash firmware need in make string add download_apps.

              BR

              Darius

              • 5. Re: BCM94343WWCD2 can't work on Wiced Studio 5.x
                ken6

                Hi Sir,

                  Yes, we use firmware in internal flash for first testing. After try to add target "download_apps", the result is same.

                 

                D:\\WICED_SCR\\WICED-Studio-5.0\\43xxx_Wi-Fi\\make.exe" snip.scan-BCM94343WWCD2-ThreadX-NetX download download_apps run

                MAKEFILE MAKECMDGOALS=snip.scan-BCM94343WWCD2-ThreadX-NetX download download_apps run OTA2_SUPPORT is disabled

                Building Bootloader

                Building Serial Flash Loader App

                MAKEFILE MAKECMDGOALS=waf.sflash_write-NoOS-BCM94343WWCD2-SDIO OTA2_SUPPORT is disabled

                waf.sflash_write-NoOS-BCM94343WWCD2-SDIO

                ----------------------------------|---------|---------|

                                                  |         |  Static |

                              Module              |  Flash  |   RAM   |

                ----------------------------------+---------+---------|

                App                               |       0 |   21126 |

                Host MCU-family library           |       0 |   13236 |

                Interrupt Vectors                 |       0 |     388 |

                libc                              |       0 |     548 |

                platform                          |       0 |    1156 |

                Ring_Buffer                       |       0 |      40 |

                SPI_Flash_Library_BCM94343WWCD2   |       0 |     968 |

                Startup Stack & Link Script fill  |       0 |     486 |

                WWD                               |       0 |     188 |

                ----------------------------------+---------+---------|

                TOTAL (bytes)                     |       0 |   38136 |

                ----------------------------------|---------|---------|

                 

                 

                Build complete

                Finished Building Bootloader

                Finished Building Serial Flash Loader App

                 

                 

                 

                 

                snip.scan-BCM94343WWCD2-ThreadX-NetX

                ----------------------------------|---------|---------|

                                                  |         |  Static |

                              Module              |  Flash  |   RAM   |

                ----------------------------------+---------+---------|

                App                               |     404 |       0 |

                crc                               |    1060 |       0 |

                Host MCU-family library           |   13261 |    2489 |

                Interrupt Vectors                 |     388 |       0 |

                libc                              |   23769 |    3064 |

                Networking                        |     850 |    9787 |

                NetX                              |    3566 |      40 |

                Packet Buffers                    |       0 |   22360 |

                platform                          |    1168 |     256 |

                RAM Initialisation                |    2364 |       0 |

                resources                         |  384268 |       0 |

                Ring_Buffer                       |     112 |       0 |

                Startup Stack & Link Script fill  |       6 |       1 |

                ThreadX                           |    7936 |     396 |

                TLV                               |      28 |       0 |

                WICED                             |    3984 |    1056 |

                WWD                               |   16708 |    3111 |

                ----------------------------------+---------+---------|

                TOTAL (bytes)                     |  457508 |   42560 |

                ----------------------------------|---------|---------|

                 

                 

                Building apps lookup table

                Downloading Bootloader ...

                No changes detected

                 

                 

                Downloading DCT ...

                No changes detected

                 

                 

                Downloading Application ...

                No changes detected

                 

                 

                Downloading apps lookup table in wiced_apps.mk ... build/snip.scan-BCM94343WWCD2-ThreadX-NetX/APPS.bin @ 0x0000 size

                Resetting target

                Target running

                Build complete

                Making .gdbinit

                 

                 

                09:47:45 Build Finished (took 17s.59ms)

                • 6. Re: BCM94343WWCD2 can't work on Wiced Studio 5.x
                  axel.lin_1746341

                  ken6 wrote:

                   

                  Hi Sir,

                   

                     Currently, we study to bring up the BCM94343WWCD2 platform on Wiced Studio 5.x. When make target " snip.scan-BCM94343WWCD2-ThreadX-NetX download download run", there is no Wifi scan information.

                   

                  Starting WICED v5.0.0

                  Platform BCM94343WWCD2 initialised

                  Started ThreadX v5.6

                  Initialising NetX v5.5_sp1

                  Creating Packet pools

                  Waiting for scan results...

                    # Type  BSSID             RSSI  Rate Chan  Security         SSID

                  ----------------------------------------------------------------------------------------------

                   

                  If the wiced studio change to 4.x version, it's workable. We would like to know if BCM94343WWCD2 platform is ready on  Wiced Studio 5.x.

                  Your WLAN Firmware is not loaded, that is why scan get no result.

                  • 7. Re: BCM94343WWCD2 can't work on Wiced Studio 5.x
                    ken6

                    Hi alex,

                        lt's workable on sdk4.x,what's different between sdk4 and sdk5?

                    BR

                    ken

                    • 8. Re: BCM94343WWCD2 can't work on Wiced Studio 5.x
                      sqlsql_2244756

                      Hi, Ken

                      I think, that first need test in sdk5 "original" system configuration. (wifi firmware load from external flash).

                      So disable load wifi firmware from internal flash, because , like Alex say, "Your WLAN Firmware is not loaded"  into external flash. Only I see:

                      >>Downloading apps lookup table in wiced_apps.mk ... build/snip.scan-BCM94343WWCD2-ThreadX-NetX/APPS.bin @ 0x0000 size

                      because this file are loaded, then you external flash information are lost (because not found and not write WIFI firmware, address off wifi sector and size are write in lookup table at start off external spi flash )

                       

                      #WIFI_FIRMWARE_IN_SPI_FLASH = NO

                      WIFI_FIRMWARE_IN_SPI_FLASH = YES

                      After need do "clean" and repeat your build/test

                      "snip.scan-BCM94343WWCD2-ThreadX-NetX download download_apps run"

                       

                      If this not work, then need ask wiced team or community with BCM94343WWCD2 board, to test on SDK5.

                      BR

                      Darius

                      • 9. Re: BCM94343WWCD2 can't work on Wiced Studio 5.x
                        axel.lin_1746341

                        ken6 wrote:

                         

                        Hi alex,

                            lt's workable on sdk4.x,what's different between sdk4 and sdk5?

                        BR

                        ken

                        Sorry I don't work for cypress, you should ask cypress about this.

                        Providing both sdk4 and sdk5 boot logs for cypress should be helpful to clarify the issue.

                        • 10. Re: BCM94343WWCD2 can't work on Wiced Studio 5.x
                          axel.lin_1746341

                          sqlsql_2244756 wrote:

                           

                          Hi, Ken

                          I think, that first need test in sdk5 "original" system configuration. (wifi firmware load from external flash).

                          So disable load wifi firmware from internal flash, because , like Alex say, "Your WLAN Firmware is not loaded"  into external flash. Only I see:

                          >>Downloading apps lookup table in wiced_apps.mk ... build/snip.scan-BCM94343WWCD2-ThreadX-NetX/APPS.bin @ 0x0000 size

                          because this file are loaded, then you external flash information are lost (because not found and not write WIFI firmware, address off wifi sector and size are write in lookup table at start off external spi flash )

                           

                          #WIFI_FIRMWARE_IN_SPI_FLASH = NO

                          WIFI_FIRMWARE_IN_SPI_FLASH = YES

                          After need do "clean" and repeat your build/test

                          "snip.scan-BCM94343WWCD2-ThreadX-NetX download download_apps run"

                           

                          If this not work, then need ask wiced team or community with BCM94343WWCD2 board, to test on SDK5.

                          BR

                          Darius

                          AFAICT, it should work out of box if the platform code was working in sdk-4.x.

                          Otherwise, it means cypress breaks something in new sdk without any note.

                          • 11. Re: BCM94343WWCD2 can't work on Wiced Studio 5.x
                            rash

                            I have tested the platform with snip application and it is working. Can you please tell me whether you made any changes to the platform files(BCM94343WWCD2) in WICED5.x? test the snip app without modification and let us know.

                            • 12. Re: BCM94343WWCD2 can't work on Wiced Studio 5.x
                              ken6

                              Hi rash,

                               

                                 Yes, we have modified the platform base on circuit design as Attached, snip app use sdk5.x default.

                              • 13. Re: BCM94343WWCD2 can't work on Wiced Studio 5.x
                                ken6

                                This runs on SDK4 and works well.

                                 

                                Starting WICED v4.1.1

                                Platform BCM94343WWCD2 initialised

                                Started ThreadX v5.6

                                Initialising NetX_Duo v5.7_sp2

                                Creating Packet pools

                                WWD SDIO interface initialised

                                WLAN MAC Address : B0:38:29:B8:A5:63

                                WLAN Firmware    : wl0: Jan 10 2017 19:57:03 version 7.45.98.6 (r663489) FWID 01-cf6f763a

                                Waiting for scan results...

                                  # Type  BSSID             RSSI  Rate Chan  Security         SSID

                                ----------------------------------------------------------------------------------------------

                                  0 Infra D0:17:C2:03:C8:4C  -97  72.2    1  WPA2 AES   PSK         My ASUS

                                  1 Infra 00:24:6C:F4:56:B1  -87  54.0    1  Open                   SpilVIP

                                  2 Infra 00:24:6C:F4:56:B0  -86  54.0    1  WPA2 Mixed PSK         SpilGlobal

                                  3 Infra 24:92:0E:00:EF:58  -76  72.2    6  WPA2 AES   PSK         CueMei

                                  4 Infra 00:24:6C:EB:77:E0  -76  54.0    6  WPA2 Mixed PSK         SpilGlobal

                                  5 Infra 8C:DC:D4:BB:E8:77  -91  58.5   10  WPA2 AES   PSK         HP-Print-77-Photosmart 5520

                                  6 Infra 2C:8A:72:B6:CC:7C  -83  72.2   11  WPA2 AES   PSK

                                Scan complete in 489 milliseconds

                                 

                                "D:\\WICED_SCR\\WICED\\WICED-Studio-4.1\\43xxx_Wi-Fi\\make.exe" snip.scan-BCM94343WWCD2 download download_apps run

                                MAKEFILE MAKECMDGOALS=snip.scan-BCM94343WWCD2 download download_apps run OTA2_SUPPORT is disabled

                                Building Bootloader

                                Building Serial Flash Loader App

                                MAKEFILE MAKECMDGOALS=waf.sflash_write-NoOS-BCM94343WWCD2-SDIO OTA2_SUPPORT is disabled

                                Finished Building Bootloader

                                waf.sflash_write-NoOS-BCM94343WWCD2-SDIO

                                ----------------------------------|---------|---------|

                                                                         |            |  Static |

                                              Module               |  Flash  |   RAM   |

                                ----------------------------------+---------+---------|

                                App                                    |       0 |   21126 |

                                Host MCU-family library     |       0 |   13220 |

                                Interrupt Vectors                 |       0 |     388 |

                                libc                                      |       0 |     548 |

                                platform                               |       0 |    1140 |

                                Ring_Buffer                         |       0 |      40 |

                                SPI_Flash_Library_BCM94343WWCD2   |       0 |     968 |

                                Startup Stack & Link Script fill  |       0 |     486 |

                                WWD                                   |       0 |     188 |

                                ----------------------------------+---------+---------|

                                TOTAL (bytes)                     |       0 |   38104 |

                                ----------------------------------|---------|---------|

                                Build complete

                                Finished Building Serial Flash Loader App

                                snip.scan-BCM94343WWCD2

                                ----------------------------------|---------|---------|

                                                                  |         |  Static |

                                              Module              |  Flash  |   RAM   |

                                ----------------------------------+---------+---------|

                                App                               |     404 |       0 |

                                crc                               |    1060 |       0 |

                                Host MCU-family library           |   15455 |    2605 |

                                Interrupt Vectors                 |     388 |       0 |

                                libc                              |   23453 |    3064 |

                                Networking                        |    1001 |    8523 |

                                NetX-Duo - Interfaces & Stacks    |       0 |      16 |

                                Other                             |    3678 |      92 |

                                Packet Buffers                    |       0 |   23088 |

                                platform                          |    1244 |     256 |

                                RAM Initialisation                |    2332 |       0 |

                                Ring_Buffer                       |     112 |       0 |

                                SPI_Flash_Library_BCM94343WWCD2   |     512 |       0 |

                                Startup Stack & Link Script fill  |      11 |       1 |

                                ThreadX                           |    7864 |     396 |

                                TLV                               |      28 |       0 |

                                WICED                             |    3899 |     976 |

                                WWD                               |   15503 |    3067 |

                                ----------------------------------+---------+---------|

                                TOTAL (bytes)                     |   74612 |   42084 |

                                ----------------------------------|---------|---------|

                                Downloading Bootloader ...

                                Building apps lookup table

                                No changes detected

                                Downloading DCT ...

                                No changes detected

                                Downloading Application ...

                                No changes detected

                                Downloading WIFI_FIRMWARE ... at sector 1  size 94...

                                Downloading apps lookup table in wiced_apps.mk ... build/snip.scan-BCM94343WWCD2/APPS.bin @ 0x0000 size

                                Resetting target

                                Target running

                                Build complete

                                Making .gdbinit

                                14:41:06 Build Finished (took 1m:19s.16ms)

                                • 14. Re: BCM94343WWCD2 can't work on Wiced Studio 5.x
                                  sqlsql_2244756

                                  Notice at your platform mk file:

                                  Original;

                                  BT_CHIP_XTAL_FREQUENCY := 26MHz

                                  Modified

                                  BT_CHIP_XTAL_FREQUENCY := 37_4MHz

                                  Is it Ok?

                                  BR

                                  Darius

                                  1 of 1 people found this helpful
                                  1 2 Previous Next