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.

TM4C1294的mac地址读写问题



ui32User0,和ui32User1,在程序中写入和读出的不一样,是什么原因?我用下面的方法去写和读:

UARTprintf("--1--%x %x\n", ui32User0, ui32User1);
MAP_FlashUserSet(ui32User0, ui32User1);
MAP_FlashUserSave();
ui32User0 = 0;
ui32User1 = 0;
MAP_FlashUserGet(&ui32User0, &ui32User1);
UARTprintf("--2--%x %x\n", ui32User0, ui32User1);

写入后再读出,发现读出的值不正确,函数用错了吗?