3 Replies Latest reply on Jul 28, 2017 1:35 AM by ken6

    How to store Wifi FW into MCU internal flash

    ken6

      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.

        • 1. Re: How to store Wifi FW into MCU internal flash
          vnak

          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.

          1 of 3 people found this helpful
          • 2. Re: How to store Wifi FW into MCU internal flash
            sqlsql_2244756

            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

            1 of 1 people found this helpful
            • 3. Re: How to store Wifi FW into MCU internal flash
              ken6

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