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.

BOOTCFG not being written

Other Parts Discussed in Thread: TM4C1237D5PZ

Hi, 

I would appreciate if somebody can help me out understand how to write BOOTCFG register for PIN E6 for processor TM4c1237D5PZ. I am using following code with no success.

#define FLASH_FMA 0x400FD000
#define FLASH_FMD 0x400FD004
#define FLASH_FMC 0x400FD008
#define FLASH_FMC_WRKEY 0xA442
#define FLASH_FMC_COMT 0x8


HWREG(FLASH_FMA) = 0x75100000;
HWREG(FLASH_FMD) = 0xFFFF9BFE;
HWREG(FLASH_FMC) = FLASH_FMC_WRKEY | FLASH_FMC_COMT;

while (HWREG(FLASH_FMC) & FLASH_FMC_COMT)
{
}