SLAU723A October 2017 – October 2018 MSP432E401Y , MSP432E411Y
NOTE
Performing the following sequence restores the nonvolatile registers discussed in Section 7.2.3.12 to their factory default values. The mass erase of the Flash memory caused by the sequence below occurs prior to the nonvolatile registers being restored.
In addition, the EEPROM is erased and its wear-leveling counters are returned to factory default values when performing the sequence below.
If software configures any of the JTAG/SWD pins as GPIO and loses the ability to communicate with the debugger, there is a debug port unlock sequence that can be used to recover the microcontroller. Performing a total of ten JTAG-to-SWD and SWD-to-JTAG switch sequences while holding the microcontroller in reset mass erases the Flash memory. The debug port unlock sequence is: