Mac address lost after firmware update

Hello,

I followed the instructions for Serial Line-APP+DCT update from here :
wizwiki.net/wiki/doku.php?id=pro … re_upgrade
but unfortunately the update seems to reset the MAC address.
I am testing with 5 wizfi250 modules now, but when the project goes throughe there will be 100’s of modules.
How can I update without loosing the mac address ?

Startup info before update : (I use MMSG=3 for getting debug log)

Platform BCMUSI11 initialised

Started ThreadX v5.5

Initialising NetX v5.6

Creating Packet pools

Starting Wiced v2.4.0

WWD SDIO interface initialised

WLAN MAC Address : 00:08:DC:1C:D5:EA

WizFi250 Version 1.0.3.3 (WIZnet Co.Ltd)

Startup info AFTER update to 1.0.4.2: (I use MMSG=3 for getting debug log)

Platform BCMUSI11 initialised

Started ThreadX v5.5

Initialising NetX v5.6

Creating Packet pools

Starting Wiced v2.4.0

WWD SDIO interface initialised

WLAN MAC Address : 00:08:DC:00:00:00

WizFi250 Version 1.0.4.2 (WIZnet Co.Ltd)

I can set it back using AT+MMAC command, that works but that is not practical.
AT+MMAC=00:08:DC:1C:D5:EA
[OK]

Nothing is run

Platform BCMUSI11 initialised

Started ThreadX v5.5

Initialising NetX v5.6

Creating Packet pools

Starting Wiced v2.4.0

WWD SDIO interface initialised

WLAN MAC Address : 00:08:DC:1C:D5:EA

WizFi250 Version 1.0.4.2 (WIZnet Co.Ltd)

When we buy new modules, will they have 1.0.4.2 from the factory?

Thanks
S

Hello

As you did, after F/W upgrading, you should write mac address using <AT+MMAC> command.

And, if you order the modules with a F/W version to WIZnet or distributor, you can get the modules with the F/W as you want.

Regards.

in fact you lose the MAC add when you do a factory settings …
FUNCTION pin toggle 3 time

regards

is there a way, using smartscript, to upgrade only the firmware, and leave the settings intact ?
In fact I never want to lose the stored settings, can I make the readonly (hardware wise) ?

from what i understand, it’s only when you do a FACTORY RESTORE
not during OTA feature

okay thanks phil
I do firmware upgrading over serial line.
can I upgrade the firmware without losing settings
in some way?

not totally sure but think that download OTA or by UART … do same job … : that do not erase MAC adr

There are some flash bank in WizFi250.

  • APP : WizFi250 F/W
  • DCT : MAC Address, Configuration data, …

Please refer to the below link.
http://wizwiki.net/wiki/
doku.php?id=products:wizfi250:wizfi250pg:firmware_upgrade



BTW, please note that if there are some major-changes in WizFi250-FW, you should re-input mac address using AT+MMAC=…

Regards,

Thanks for explaining,
so I’d have to use ‘Flash Write(app)’ instead of ‘Flash Write(all)’ in WizSmartScript ?

It’s case by case.

Anyway, if you use ‘Flash Write(all)’, you should re-input mac address using AT+MMAC=…

Thanks…