Hi,
We wanted to write the mac address to the FLASH in TM4c1290. But when we try as mentioned below the value which we written is not getting reflected when we do ROM_FlashProtectGet.
Below is the method we flow to set the FLASH.
ui32User0 = (0x00 << 24);
ui32User0 |= (0xB6 << 16);
ui32User0 |= (0x1A << 8);
ui32User0 |= (0x00 << 0);
ui32User1 = (0x00 << 24);
ui32User1 |= (0x74 << 16);
ui32User1 |= (0x02 << 8);
ui32User1 |= (0x00 << 0);
ret = ROM_FlashUserSet(ui32User0, ui32User1);
(or)
ret = ROM_FlashUserSet(0x00B61A00, 0x00740200);
Ours is a Bare metal code. And please help us know how to set the proper value in the Flashprotect.
Thank you,
Deepanraj.A