English
Language : 

SAM4L Datasheet, PDF (58/1185 Pages) ATMEL Corporation – ATSAM ARM-based Flash MCU
ATSAM4L4/L2
8.5 Product Dependencies
8.5.1 I/O Lines
Refer to Section 8.7.5.1 ”I/O Lines” on page 63.
8.5.2
8.5.3
Power Management
Refer to Section 8.7.5.2 ”Power Management” on page 63.
Clocks
Refer to Section 8.7.5.3 ”Clocks” on page 63.
8.6 Core Debug
Figure 8-2 shows the Debug Architecture used in the SAM4L. The Cortex-M4 embeds four func-
tional units for debug:
• FPB (Flash Patch Breakpoint)
• DWT (Data Watchpoint and Trace)
• ITM (Instrumentation Trace Macrocell)
• TPIU (Trace Port Interface Unit)
The debug architecture information that follows is mainly dedicated to developers of SWJ-DP
Emulators/Probes and debugging tool vendors for Cortex-M4 based microcontrollers. For further
details on SWJ-DP see the Cortex-M4 technical reference manual.
Figure 8-2. Debug Architecture
DWT
4 watchpoints
PC sampler
data address sampler
data sampler
interrupt trace
CPU statistics
FPB
6 breakpoints
ITM
software trace
32 channels
time stamping
TPIU
SWJ-DP
SWD/JTAG
SWO trace
8.6.1
FPB (Flash Patch Breakpoint)
The FPB:
• Implements hardware breakpoints
• Patches (on the fly) code and data being fetched by the Cortex-M4 core from code space
with data in the system space. Definition of code and system spaces can be found in the
System Address Map section of the ARMv7-M Architecture Reference Manual.
58
42023C–SAM–02/2013