WICKED STUDIO V 6.4.0:- How to set NVRAM && FW load path

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

cross mob
LeGu_3671501
Level 2
Level 2
5 replies posted 10 questions asked 5 questions asked

    We are porting  Wiced wifi wwd 6.4 on intel  platform ,

How can I  modify  the Load path of  the NVRAM && FW  .

0 Likes
1 Solution

We would still recommend that FMAC driver be used for CYW43438 although this would require Linux OS. 43430 is the WLAN core for CYW43438. FMAC driver could be ported into the host processor running Linux kernel.

To answer your question, wwd_bus_sdio_download_firmware( ) in wwd_bus_protocol.c is used for downloading WLAN firmware and nvram. The sequence of function calls to load firmware is shown below:

wwd_bus_write_wifi_firmware_image( )

download_resource( WWD_RESOURCE_WLAN_FIRMWARE, 0 )

host_platform_resource_read_indirect()

resource_read( &wifi_firmware_image, offset, buffer_size, size_out, buffer )

In WWD.mk,

WIFI_FIRMWARE_RESOURCE_VARIABLE_NAME = $(addprefix resources_,$(subst /,_DIR_,$(subst -,_,$(subst .,_,$(subst $(SOURCE_ROOT)resources/,,$(WIFI_FIRMWARE_BIN))))))

GLOBAL_DEFINES += wifi_firmware_image=$(WIFI_FIRMWARE_RESOURCE_VARIABLE_NAME)

The above operations would need to be considered to port into your host. Also you would need to consider whether the firmware is placed in internal or external memory.

Similarly for nvram, wwd_bus_write_wifi_nvram_image( ) is used along with a similar sequence of function calls to load wifi_nvram_image[] from wifi_nvram_image.h in platforms.

View solution in original post

3 Replies
GauravS_31
Moderator
Moderator
Moderator
10 questions asked 250 solutions authored 250 sign-ins

Generally for the intel PC platform, brcmfmac drivers are available depending on the specific chip en:users:drivers:brcm80211 [Linux Wireless] WWD from WICED is not easily portable. Is there a specific reason to use WWD for intel platform? Also which WLAN chip is being used here?

0 Likes

cyw43438 is being used here,   The product  is on RTEM‎S OS , so  porting  the WWD from Wiced

0 Likes

We would still recommend that FMAC driver be used for CYW43438 although this would require Linux OS. 43430 is the WLAN core for CYW43438. FMAC driver could be ported into the host processor running Linux kernel.

To answer your question, wwd_bus_sdio_download_firmware( ) in wwd_bus_protocol.c is used for downloading WLAN firmware and nvram. The sequence of function calls to load firmware is shown below:

wwd_bus_write_wifi_firmware_image( )

download_resource( WWD_RESOURCE_WLAN_FIRMWARE, 0 )

host_platform_resource_read_indirect()

resource_read( &wifi_firmware_image, offset, buffer_size, size_out, buffer )

In WWD.mk,

WIFI_FIRMWARE_RESOURCE_VARIABLE_NAME = $(addprefix resources_,$(subst /,_DIR_,$(subst -,_,$(subst .,_,$(subst $(SOURCE_ROOT)resources/,,$(WIFI_FIRMWARE_BIN))))))

GLOBAL_DEFINES += wifi_firmware_image=$(WIFI_FIRMWARE_RESOURCE_VARIABLE_NAME)

The above operations would need to be considered to port into your host. Also you would need to consider whether the firmware is placed in internal or external memory.

Similarly for nvram, wwd_bus_write_wifi_nvram_image( ) is used along with a similar sequence of function calls to load wifi_nvram_image[] from wifi_nvram_image.h in platforms.