cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Studio Wi-Fi Combo

HeCh_2137836
New Contributor II

Hi Sir,

   We got the BCM94343WWCD2 EVB. The platform default setting wifi firmware store into external flash, we would like to know how to store wifi firmware into the MCU internal flash.

0 Likes
Reply
1 Solution
DaBa_2244756
Contributor

WIFI firmware not 6Mb it about 360kb (4343WA1.bin), so you can load into internal flash. (At this choice, you have very big loading speed and external spi flash chip free, but lost internal flash for apps )

Try insert in platform makefile this.... it tested in sdk 3.5 maybe in 3.7.

WIFI_FIRMWARE_IN_SPI_FLASH = NO

#WIFI_FIRMWARE_IN_SPI_FLASH = YES

#if YES, USES_RESOURCE_FILESYSTEM also must be define in platform_config.h

#if not defined  WIFI_FIRMWARE  then it became internal

ifneq ($(WIFI_FIRMWARE_IN_SPI_FLASH),YES)

#darius nuskaitymas is savo flash

GLOBAL_DEFINES          += WWD_DIRECT_RESOURCES

else

    # Set the WIFI firmware in multi application file system to point to firmware

    ifeq ($(NO_WIFI_FIRMWARE),)

        MULTI_APP_WIFI_FIRMWARE   := resources/firmware/$(WLAN_CHIP)/$(WLAN_CHIP)$(WLAN_CHIP_REVISION)$(WLAN_CHIP_BIN_TYPE).bin

    endif

ifeq ($(MULTI_APP_WIFI_FIRMWARE),)

    ifeq ($(BUS),SDIO)

        GLOBAL_DEFINES          += WWD_DIRECT_RESOURCES

    endif

else

    # Setting some internal build parameters

    WIFI_FIRMWARE           := $(MULTI_APP_WIFI_FIRMWARE)

    WIFI_FIRMWARE_LOCATION     := WIFI_FIRMWARE_IN_MULTI_APP

    GLOBAL_DEFINES          += WIFI_FIRMWARE_IN_MULTI_APP

endif

BR

Darius

View solution in original post

3 Replies
VinayakS_26
Moderator
Moderator

Hey,

    

     The WiFi firmware stored in the external flash is about 6MB , and the internal flash memory of the host MCU is limited to only 1MB. Hence storing the firmware in internal flash of MCU may not be possible.

DaBa_2244756
Contributor

WIFI firmware not 6Mb it about 360kb (4343WA1.bin), so you can load into internal flash. (At this choice, you have very big loading speed and external spi flash chip free, but lost internal flash for apps )

Try insert in platform makefile this.... it tested in sdk 3.5 maybe in 3.7.

WIFI_FIRMWARE_IN_SPI_FLASH = NO

#WIFI_FIRMWARE_IN_SPI_FLASH = YES

#if YES, USES_RESOURCE_FILESYSTEM also must be define in platform_config.h

#if not defined  WIFI_FIRMWARE  then it became internal

ifneq ($(WIFI_FIRMWARE_IN_SPI_FLASH),YES)

#darius nuskaitymas is savo flash

GLOBAL_DEFINES          += WWD_DIRECT_RESOURCES

else

    # Set the WIFI firmware in multi application file system to point to firmware

    ifeq ($(NO_WIFI_FIRMWARE),)

        MULTI_APP_WIFI_FIRMWARE   := resources/firmware/$(WLAN_CHIP)/$(WLAN_CHIP)$(WLAN_CHIP_REVISION)$(WLAN_CHIP_BIN_TYPE).bin

    endif

ifeq ($(MULTI_APP_WIFI_FIRMWARE),)

    ifeq ($(BUS),SDIO)

        GLOBAL_DEFINES          += WWD_DIRECT_RESOURCES

    endif

else

    # Setting some internal build parameters

    WIFI_FIRMWARE           := $(MULTI_APP_WIFI_FIRMWARE)

    WIFI_FIRMWARE_LOCATION     := WIFI_FIRMWARE_IN_MULTI_APP

    GLOBAL_DEFINES          += WIFI_FIRMWARE_IN_MULTI_APP

endif

BR

Darius

View solution in original post

HeCh_2137836
New Contributor II

sqlsql_2244756​ Excellent, it worked on wiced studio 4.x. Thanks!

0 Likes
Reply