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.

TM4C123GH6PZ: Removing Flash Write protection using Software Reset

Part Number: TM4C123GH6PZ


I have a bootloader app and another application present on my Tiva. My application and bootloader are protected using the Flash protection. FMPPE=0 is used for it. Now i am doing software reset (using command HWREG(NVIC_APINT) = NVIC_APINT_VECTKEY | NVIC_APINT_SYSRESETREQ;) and trying to upgrade my application using bootloader. But it is failing as i am not able to disable the flash protection. As per the datasheet, once enabled, the flash protection can be disabled only after POWER-ON-RESET. Can we do this POWER-ON-RESET thing using software reset?

Regards,

Naman