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.

CCS/TM4C123GH6PM: TM4C123GH6PM

Part Number: TM4C123GH6PM

Tool/software: Code Composer Studio

Hi,

I wanted to protect flash memory of the mentioned Tiva C part.

For protection, I need to use library function 

FlashProtectSet(uint32_t ui32Address, tFlashProtection eProtect);

where ui32Address is the start address of the flash block to be protected.

Flash protection to be done for 2KB block size. This means for the device (TM4C123GH6PM) i.e. 256 KB, there will be 128 blocks.

Do I need to repeat this function for all blocks (128 times)?

Also, please point me to some example of flash protection.

Thank you

Narendra