BCM94343WWCD2 can't work on Wiced Studio 5.x

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
HeCh_2137836
Level 3
Level 3
5 likes given First like received First like given

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.

0 Likes
1 Solution

There is no public changelog for the wlan firmware.

Only cypress can give you suggestion.

View solution in original post

0 Likes
20 Replies
DaBa_2244756
Level 5
Level 5
25 likes received 10 likes received 10 likes given

Hi,

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

BR

Darius

Sorry, typo!

0 Likes
HeCh_2137836
Level 3
Level 3
5 likes given First like received First like given

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

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

0 Likes

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

0 Likes
HeCh_2137836
Level 3
Level 3
5 likes given First like received First like given

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)

0 Likes
AxLi_1746341
Level 7
Level 7
10 comments on KBA 5 comments on KBA First comment on KBA

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.

0 Likes

Hi alex,

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

BR

ken

0 Likes

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

0 Likes

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.

0 Likes
Anonymous
Not applicable

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.

lock attach
Attachments are accessible only for community members.

Hi rash,

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

0 Likes

Notice at your platform mk file:

Original;

BT_CHIP_XTAL_FREQUENCY := 26MHz

Modified

BT_CHIP_XTAL_FREQUENCY := 37_4MHz

Is it Ok?

BR

Darius

sqlsql_2244756​ yes,It worked on SDK4.x base on our circuit design.

0 Likes

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.

0 Likes
HeCh_2137836
Level 3
Level 3
5 likes given First like received First like given

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)

0 Likes
HeCh_2137836
Level 3
Level 3
5 likes given First like received First like given

pastedImage_0.png

0 Likes
HeCh_2137836
Level 3
Level 3
5 likes given First like received First like given

Hi Sir,

   Now is workable after replace "WICED_SCR\WICED-Studio-5.0\43xxx_Wi-Fi\resources\firmware\4343W" from SDK4.x, but i don't know if it have any side-effect.

Starting WICED v5.0.1

Platform BCM94343WWCD2 initialised

Started ThreadX v5.6

Initialising NetX_Duo v5.7_sp2

Creating Packet pools

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

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

WLAN CLM         : API: 12.2 Data: 7.11.15 Compiler: 1.24.2 ClmImpo                         rt: 1.24.1 Creation: 2014-05-26 10:53:55 Inc Data: 9.8.4 Inc Compil                         er: 1.29.4 Inc ClmImport: 1.33.0 Creation: 2017-01-10 19:46:46

Waiting for scan results...

  # Type  BSSID             RSSI  Rate Chan  Security         SSID

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

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

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

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

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

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

  5 Infra 2C:8A:72:B6:CC:7C  -91  72.2    7  WPA2 AES   PSK                               

  6 Infra 8C:DC:D4:BB:E8:77  -88  58.5   10  WPA2 AES   PSK

pastedImage_0.png

Then it's very strange.

What if you copy the wlan firmware from sdk-5 to sdk-4? Does it work?

No, it can't work. Have any suggestion?

There is no public changelog for the wlan firmware.

Only cypress can give you suggestion.

0 Likes