Flash Update Project
This is applicable for both MRF24WB0M and MRF24WG0M.
Go to website
ftp://[email protected]
where username is mrfupdates and password is mchp1234.
For MRF24WB0M, the flash update project is MRF24WB_Exp16FlashUpdater-120c-Rev1-windows-installer.exe
For MRF24WG0M, the flash update project is MRF24WG_FlashUpdater-3107-Rev1-windows-installer.exe
Over-The-Air (OTA) MRF24WG0M RF Module Firmware Update
This is applicable only for MRF24WG0M.
To use OTA RF module firmware update, MRF24WG0M needs at least RF module FW version 0x3107 and MLA v5.42.04 Oct 2012 release or later.
This method is located in \tcpip\wifi console project.
In TCPIP MRF24W.h, enable STACK_USE_AUTOUPDATE_TCPCLIENT.
In AutoUpdate_TCPClient_24G.c, configuration is defined in this file.
static BYTE ServerName[] = "www.microchip.com";
static BYTE PatchName[]="/mrfupdates/A2Patch_3107.bin";
//Username is mrfupdates , password is mchp1234
static BYTE Key_authorization[]="bXJmdXBkYXRlczptY2hwMTIzNA==" ;
static WORD ServerPort = 80; // Defines the port to be accessed for this application
Update PatchName[] with the required MRF24W firmware version file name. PatchName is case-sensitive.
In WF_Config.h, configure Wi-Fi parameters according to selected AP/router.
• Define infrastructure network type
#define MY_DEFAULT_NETWORK_TYPE CFG_WF_INFRASTRUCTURE
• Define SSID and Wi-Fi security mode as that used by the AP/router.
#define MY_DEFAULT_WIFI_SECURITY_MODE
#define MY_DEFAULT_SSID_NAME
• For faster connection, you may define the channel AP/router is in.
e.g. #define MY_DEFAULT_CHANNEL_LIST {3}