[AR4100P]: looking for alternative way to program MAC address to WLAN chip

cancel
Showing results for 
Search instead for 
Did you mean: 

[AR4100P]: looking for alternative way to program MAC address to WLAN chip

302 Views
huishao2
Contributor IV

Hi-

For factory production purpose, I need a different way to program the MAC to AR4100P's OTP. Host.exe or ath_console.exe is not preferred in this case.

What I have is the Atheros flash agent source code integrated into MQX running on k20d72m custom board.

Is there a way to program MAC directly from k20d72m MCU? I can't find a API from the flash agent above except for some definitions like

/* IOTFLASHOTP_PARAM_FORCE_MAC_OVERRIDE - instructs firmware to ignore any existing mac address

* in OTP and instead write the new mac address to otp. normally, if any mac address is found

* in OTP the firmware will avoid writing a new mac address to OTP. */

#define IOTFLASHOTP_PARAM_FORCE_MAC_OVERRIDE        (0x00000010)

from wifi_flash_agent\src\app\main.h but no source code for it.

thanks!

Hui

0 Kudos
1 Reply

108 Views
RadekS
NXP Employee
NXP Employee

Please look at this thread:

https://community.freescale.com/thread/328628

I believe that customer’s code could directly solve your request.


Have a great day,
RadekS

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos