8.3.1 Security interactions with Debug
When flash security is active, the SWD port cannot access the memory resources of the
MCU.
Although most debug functions are disabled, the debugger can write to the Flash Mass
Erase in Progress field of the MDM-AP Control register to trigger a mass erase (Erase
All Blocks) command. A mass erase via the debugger is allowed even when some
memory locations are protected.
When mass erase is disabled, mass erase via the debugger is blocked.
Security interactions with other modules
KL02 Sub-Family Reference Manual, Rev. 2.1, July 2013
114
Freescale Semiconductor, Inc.