EasyManuals Logo

ARM Cortex-M3 User Manual

ARM Cortex-M3
410 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #234 background imageLoading...
Page #234 background image
System Debug
11-6 Copyright © 2005-2008 ARM Limited. All rights reserved. ARM DDI 0337G
Non-Confidential
Unrestricted Access
11.4 FPB
The FPB:
implements hardware breakpoints
patches code and data from code space to system space.
A full FPB unit contains:
Two literal comparators for matching against literal loads from Code space, and
remapping to a corresponding area in System space.
Six instruction comparators for matching against instruction fetches from Code
space, and remapping to a corresponding area in System space. Alternatively, you
can individually configure the comparators to return a Breakpoint Instruction
(BKPT) to the processor core on a match, so providing hardware breakpoint
capability.
The FPB contains a global enable, but also individual enables for the eight comparators.
If the comparison for an entry matches, the address is remapped to the address set in the
remap register plus an offset corresponding to the comparator that matched, or is
remapped to a BKPT instruction if that feature is enabled. The comparison happens
dynamically, but the result of the comparison occurs too late to stop the original
instruction fetch or literal load taking place from the Code space. The processor ignores
this transaction however, and only the remapped transaction is used.
If an MPU is present, the MPU lookups are performed for the original address, not the
remapped address.
You can remove the FPB if no debug is required or alternatively the number of
breakpoints it supports can be reduced to two. If the FPB supports only two breakpoints
then only comparators 0 and 1 are used, and flash patching is not supported.
Note
Unaligned literal accesses are not remapped. The original access to the DCode
bus takes place in this case.
Load exclusives are Unpredictable to the FPB. The address is remapped but the
access does not take place as an exclusive load.
Remapping to the bit-band alias directly accesses the alias address, and does not
remap to the bit-band region.
11.4.1 FPB programmer’s model
Table 11-1 on page 11-7 lists the flash patch registers.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ARM Cortex-M3 and is the answer not in the manual?

ARM Cortex-M3 Specifications

General IconGeneral
ArchitectureARMv7-M
Instruction SetThumb-2
Pipeline Stages3-stage
InterruptsNested Vectored Interrupt Controller (NVIC)
Interrupt ControllerNested Vectored Interrupt Controller (NVIC)
Memory Protection UnitOptional
Power ConsumptionVaries by implementation
Max Clock SpeedUp to 100 MHz
DebuggingJTAG and Serial Wire Debug (SWD)
Operating Voltage1.8V to 3.6V
Manufacturing ProcessVaries by implementation
Core Type32-bit

Related product manuals