6.2.5.1 Resetting the Debug subsystem
Use the CDBGRSTREQ field within the DP CTRL/STAT register to reset the debug
modules. However, as explained below, using the CDBGRSTREQ field does not reset all
debug-related registers.
CDBGRSTREQ resets the debug-related registers within the following modules:
• SW-DP
• AHB-AP
• MDM-AP (MDM control and status registers)
CDBGRSTREQ does not reset the debug-related registers within the following modules:
• CM0+ core (core debug registers: DHCSR, DCRSR, DCRDR, DEMCR)
• BPU
• DWT
• NVIC
• Crossbar bus switch
• AHB-AP
• Private peripheral bus
6.3 Boot
This section describes the boot sequence, including sources and options.
Some configuration information such as clock trim values stored in factory programmed
flash locations is autoloaded.
6.3.1 Boot sources
The CM0+ core adds support for a programmable Vector Table Offset Register (VTOR)
to relocate the exception vector table. This device supports booting from internal flash
and RAM.
This device supports booting from internal flash with the reset vectors located at
addresses 0x0 (initial SP_main), 0x4 (initial PC), and RAM with relocating the exception
vector table to RAM.
1. CDBGRSTREQ does not affect AHB resources so that debug resources on the private peripheral bus are available
during System Reset.
Chapter 6 Reset and Boot
KL02 Sub-Family Reference Manual, Rev. 2.1, July 2013
Freescale Semiconductor, Inc.
101