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.

MSP432E401Y: How to unlock the mac address ?

Part Number: MSP432E401Y
Other Parts Discussed in Thread: SEGGER,

I have been running the code below several times and realized that it does not work anymore, the chip is locked. This is a custom board, can I unlock the chip from CCS and with a SEGGER J-Link Emulator or do I need to physically set the reset signal?

We are going to  use these boards in systems where we may have from 1 - 10 units and would like to have control of the mac addresses. Somehow I have been able to set one  board to mac address 0000.

if ((ulUser0 == 0xffffffff) && (ulUser1 == 0xffffffff))
{
/* Generate new random MAC and restart */
ulUser0 = rand()|(rand()<<16);
ulUser1 = rand()|(rand()<<16);
FlashUserSet(ulUser0, ulUser1);
FlashUserSave();
SysCtlReset();

/* If not present, return error. */
return false;
}