Tool/software:
Hi Team,
About CC3301, do we have any default mac address and how to customize it on host side ?
Please help to provide comments.
Thanks.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Mike,
Yes, the CC3301 has a default MAC address from TI which will be used unless changed from the Linux host. To change the MAC address, you can create a file named cc33xx-nvs.bin into /lib/firmware/ti-connectivity directory. The content of the cc33xx-nvs.bin will contain the binary input of the MAC address.
The following command with an example MAC address “AA:BB:CC:DD:EE:FF” can be used for the creation of the cc33xx-nvs.bin with the desired MAC address:
echo -n -e '\xAA\xBB\xCC\xDD\xEE\xFF' > /lib/firmware/ti-connectivity/cc33xx-nvs.bin
If no NVS file is present, then the default MAC address from TI will be used. An address in the NVS file with will value “00:00:00:00:00:00” is reserved and the default address from TI will also be used. A value with “00:00:00:00:00:01” is reserved and will generate a random MAC address each time the driver is initialized.
Hope this helps,
Christina
Hi Mike,
Yes, you can use TI’s default MAC address for mass production without change from Linux host.
If the customer wants to change the MAC address, we are building a feature in the fall release of our SDK where they will be able to burn in their own MAC address. This will be done via the cc33xx debug/SWD interface.
BR,
Christina