MWU — Memory watch unit

The Memory watch unit (MWU) can be used to generate events when a memory region is accessed by the CPU. The MWU can be configured to trigger events for access to Data RAM and Peripheral memory segments. The MWU allows an application developer to generate memory access events during development for debugging or during production execution for failure detection and recovery.

Listed here are the main features for MWU:

Table 1. Memory regions
Memory region START address END address
REGION[0..3] Configurable Configurable
PREGION[0] 0x40000000 0x4001FFFF
PREGION[1] 0x40020000 0x4003FFFF

Each MWU region is defined by a start address and an end address, configured by the START and END registers respectively. These addresses are byte aligned and inclusive. The END register value has to be greater or equal to the START register value. Each region is associated with a pair of events that indicate that either a write access or a read access from the CPU has been detected inside the region.

For regions containing subregions (see below), a set of status registers PERREGION[0..1].SUBSTATWA and PERREGION[0..1].SUBSTATRA indicate which subregion(s) caused the EVENT_PREGION[0..1].WA and EVENT_PREGION[0..1].RA respectively.

The MWU is only able to detect memory accesses in the Data RAM and Peripheral memory segments from the CPU, see Memory for more information about the different memory segments. EasyDMA accesses are not monitored by the MWU. The MWU requires two HCLK cycles to detect and generate the event.

The peripheral regions, PREGION[0...1], are divided into 32 equally sized subregions, SR[0...31]. All subregions are excluded in the main region by default, and any can be included by specifying them in the SUBS register. When a subregion is excluded from the main region, the memory watch mechanism will not trigger any events when that subregion is accessed.

Subregions in PREGION[0..1] cannot be individually configured for read or write access watch. Watch configuration is only possible for a region as a whole. The PRGNiRA and PRGNiWA (i=0..1) fields in the REGIONEN register control watching read and write access.

REGION[0..3] can be individually enabled for read and/or write access watching through their respective RGNiRA and RGNiWA (i=0..3) fields in the REGIONEN register.

REGIONENSET and REGIONENCLR allow respectively enabling and disabling one or multiple REGIONs or PREGIONs watching in a single write access.

Registers

Table 2. Instances
Base address Peripheral Instance Description Configuration
0x40020000 MWU MWU

Memory watch unit

   
Table 3. Register overview
Register Offset Description
EVENTS_REGION[0].WA 0x100

Write access to region 0 detected

 
EVENTS_REGION[0].RA 0x104

Read access to region 0 detected

 
EVENTS_REGION[1].WA 0x108

Write access to region 1 detected

 
EVENTS_REGION[1].RA 0x10C

Read access to region 1 detected

 
EVENTS_REGION[2].WA 0x110

Write access to region 2 detected

 
EVENTS_REGION[2].RA 0x114

Read access to region 2 detected

 
EVENTS_REGION[3].WA 0x118

Write access to region 3 detected

 
EVENTS_REGION[3].RA 0x11C

Read access to region 3 detected

 
EVENTS_PREGION[0].WA 0x160

Write access to peripheral region 0 detected

 
EVENTS_PREGION[0].RA 0x164

Read access to peripheral region 0 detected

 
EVENTS_PREGION[1].WA 0x168

Write access to peripheral region 1 detected

 
EVENTS_PREGION[1].RA 0x16C

Read access to peripheral region 1 detected

 
INTEN 0x300

Enable or disable interrupt

 
INTENSET 0x304

Enable interrupt

 
INTENCLR 0x308

Disable interrupt

 
NMIEN 0x320

Enable or disable interrupt

 
NMIENSET 0x324

Enable interrupt

 
NMIENCLR 0x328

Disable interrupt

 
PERREGION[0].SUBSTATWA 0x400

Source of event/interrupt in region 0, write access detected while corresponding subregion was enabled for watching

 
PERREGION[0].SUBSTATRA 0x404

Source of event/interrupt in region 0, read access detected while corresponding subregion was enabled for watching

 
PERREGION[1].SUBSTATWA 0x408

Source of event/interrupt in region 1, write access detected while corresponding subregion was enabled for watching

 
PERREGION[1].SUBSTATRA 0x40C

Source of event/interrupt in region 1, read access detected while corresponding subregion was enabled for watching

 
REGIONEN 0x510

Enable/disable regions watch

 
REGIONENSET 0x514

Enable regions watch

 
REGIONENCLR 0x518

Disable regions watch

 
REGION[0].START 0x600

Start address for region 0

 
REGION[0].END 0x604

End address of region 0

 
REGION[1].START 0x610

Start address for region 1

 
REGION[1].END 0x614

End address of region 1

 
REGION[2].START 0x620

Start address for region 2

 
REGION[2].END 0x624

End address of region 2

 
REGION[3].START 0x630

Start address for region 3

 
REGION[3].END 0x634

End address of region 3

 
PREGION[0].START 0x6C0

Reserved for future use

 
PREGION[0].END 0x6C4

Reserved for future use

 
PREGION[0].SUBS 0x6C8

Subregions of region 0

 
PREGION[1].START 0x6D0

Reserved for future use

 
PREGION[1].END 0x6D4

Reserved for future use

 
PREGION[1].SUBS 0x6D8

Subregions of region 1

 

EVENTS_REGION[n].WA (n=0..3)

Address offset: 0x100 + (n × 0x8)

Write access to region n detected

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID                                                               A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID Access Field Value ID Value Description
A RW

WA

   

Write access to region n detected

     

NotGenerated

0

Event not generated

     

Generated

1

Event generated

EVENTS_REGION[n].RA (n=0..3)

Address offset: 0x104 + (n × 0x8)

Read access to region n detected

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID                                                               A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID Access Field Value ID Value Description
A RW

RA

   

Read access to region n detected

     

NotGenerated

0

Event not generated

     

Generated

1

Event generated

EVENTS_PREGION[n].WA (n=0..1)

Address offset: 0x160 + (n × 0x8)

Write access to peripheral region n detected

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID                                                               A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID Access Field Value ID Value Description
A RW

WA

   

Write access to peripheral region n detected

     

NotGenerated

0

Event not generated

     

Generated

1

Event generated

EVENTS_PREGION[n].RA (n=0..1)

Address offset: 0x164 + (n × 0x8)

Read access to peripheral region n detected

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID                                                               A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID Access Field Value ID Value Description
A RW

RA

   

Read access to peripheral region n detected

     

NotGenerated

0

Event not generated

     

Generated

1

Event generated

INTEN

Address offset: 0x300

Enable or disable interrupt

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID         L K J I                                 H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID Access Field Value ID Value Description
A RW

REGION0WA

   

Enable or disable interrupt for event REGION0WA

     

Disabled

0

Disable

     

Enabled

1

Enable

B RW

REGION0RA

   

Enable or disable interrupt for event REGION0RA

     

Disabled

0

Disable

     

Enabled

1

Enable

C RW

REGION1WA

   

Enable or disable interrupt for event REGION1WA

     

Disabled

0

Disable

     

Enabled

1

Enable

D RW

REGION1RA

   

Enable or disable interrupt for event REGION1RA

     

Disabled

0

Disable

     

Enabled

1

Enable

E RW

REGION2WA

   

Enable or disable interrupt for event REGION2WA

     

Disabled

0

Disable

     

Enabled

1

Enable

F RW

REGION2RA

   

Enable or disable interrupt for event REGION2RA

     

Disabled

0

Disable

     

Enabled

1

Enable

G RW

REGION3WA

   

Enable or disable interrupt for event REGION3WA

     

Disabled

0

Disable

     

Enabled

1

Enable

H RW

REGION3RA

   

Enable or disable interrupt for event REGION3RA

     

Disabled

0

Disable

     

Enabled

1

Enable

I RW

PREGION0WA

   

Enable or disable interrupt for event PREGION0WA

     

Disabled

0

Disable

     

Enabled

1

Enable

J RW

PREGION0RA

   

Enable or disable interrupt for event PREGION0RA

     

Disabled

0

Disable

     

Enabled

1

Enable

K RW

PREGION1WA

   

Enable or disable interrupt for event PREGION1WA

     

Disabled

0

Disable

     

Enabled

1

Enable

L RW

PREGION1RA

   

Enable or disable interrupt for event PREGION1RA

     

Disabled

0

Disable

     

Enabled

1

Enable

INTENSET

Address offset: 0x304

Enable interrupt

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID         L K J I                                 H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID Access Field Value ID Value Description
A RW

REGION0WA

   

Write '1' to enable interrupt for event REGION0WA

     

Set

1

Enable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

B RW

REGION0RA

   

Write '1' to enable interrupt for event REGION0RA

     

Set

1

Enable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

C RW

REGION1WA

   

Write '1' to enable interrupt for event REGION1WA

     

Set

1

Enable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

D RW

REGION1RA

   

Write '1' to enable interrupt for event REGION1RA

     

Set

1

Enable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

E RW

REGION2WA

   

Write '1' to enable interrupt for event REGION2WA

     

Set

1

Enable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

F RW

REGION2RA

   

Write '1' to enable interrupt for event REGION2RA

     

Set

1

Enable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

G RW

REGION3WA

   

Write '1' to enable interrupt for event REGION3WA

     

Set

1

Enable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

H RW

REGION3RA

   

Write '1' to enable interrupt for event REGION3RA

     

Set

1

Enable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

I RW

PREGION0WA

   

Write '1' to enable interrupt for event PREGION0WA

     

Set

1

Enable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

J RW

PREGION0RA

   

Write '1' to enable interrupt for event PREGION0RA

     

Set

1

Enable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

K RW

PREGION1WA

   

Write '1' to enable interrupt for event PREGION1WA

     

Set

1

Enable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

L RW

PREGION1RA

   

Write '1' to enable interrupt for event PREGION1RA

     

Set

1

Enable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

INTENCLR

Address offset: 0x308

Disable interrupt

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID         L K J I                                 H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID Access Field Value ID Value Description
A RW

REGION0WA

   

Write '1' to disable interrupt for event REGION0WA

     

Clear

1

Disable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

B RW

REGION0RA

   

Write '1' to disable interrupt for event REGION0RA

     

Clear

1

Disable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

C RW

REGION1WA

   

Write '1' to disable interrupt for event REGION1WA

     

Clear

1

Disable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

D RW

REGION1RA

   

Write '1' to disable interrupt for event REGION1RA

     

Clear

1

Disable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

E RW

REGION2WA

   

Write '1' to disable interrupt for event REGION2WA

     

Clear

1

Disable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

F RW

REGION2RA

   

Write '1' to disable interrupt for event REGION2RA

     

Clear

1

Disable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

G RW

REGION3WA

   

Write '1' to disable interrupt for event REGION3WA

     

Clear

1

Disable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

H RW

REGION3RA

   

Write '1' to disable interrupt for event REGION3RA

     

Clear

1

Disable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

I RW

PREGION0WA

   

Write '1' to disable interrupt for event PREGION0WA

     

Clear

1

Disable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

J RW

PREGION0RA

   

Write '1' to disable interrupt for event PREGION0RA

     

Clear

1

Disable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

K RW

PREGION1WA

   

Write '1' to disable interrupt for event PREGION1WA

     

Clear

1

Disable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

L RW

PREGION1RA

   

Write '1' to disable interrupt for event PREGION1RA

     

Clear

1

Disable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

NMIEN

Address offset: 0x320

Enable or disable interrupt

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID         L K J I                                 H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID Access Field Value ID Value Description
A RW

REGION0WA

   

Enable or disable interrupt for event REGION0WA

     

Disabled

0

Disable

     

Enabled

1

Enable

B RW

REGION0RA

   

Enable or disable interrupt for event REGION0RA

     

Disabled

0

Disable

     

Enabled

1

Enable

C RW

REGION1WA

   

Enable or disable interrupt for event REGION1WA

     

Disabled

0

Disable

     

Enabled

1

Enable

D RW

REGION1RA

   

Enable or disable interrupt for event REGION1RA

     

Disabled

0

Disable

     

Enabled

1

Enable

E RW

REGION2WA

   

Enable or disable interrupt for event REGION2WA

     

Disabled

0

Disable

     

Enabled

1

Enable

F RW

REGION2RA

   

Enable or disable interrupt for event REGION2RA

     

Disabled

0

Disable

     

Enabled

1

Enable

G RW

REGION3WA

   

Enable or disable interrupt for event REGION3WA

     

Disabled

0

Disable

     

Enabled

1

Enable

H RW

REGION3RA

   

Enable or disable interrupt for event REGION3RA

     

Disabled

0

Disable

     

Enabled

1

Enable

I RW

PREGION0WA

   

Enable or disable interrupt for event PREGION0WA

     

Disabled

0

Disable

     

Enabled

1

Enable

J RW

PREGION0RA

   

Enable or disable interrupt for event PREGION0RA

     

Disabled

0

Disable

     

Enabled

1

Enable

K RW

PREGION1WA

   

Enable or disable interrupt for event PREGION1WA

     

Disabled

0

Disable

     

Enabled

1

Enable

L RW

PREGION1RA

   

Enable or disable interrupt for event PREGION1RA

     

Disabled

0

Disable

     

Enabled

1

Enable

NMIENSET

Address offset: 0x324

Enable interrupt

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID         L K J I                                 H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID Access Field Value ID Value Description
A RW

REGION0WA

   

Write '1' to enable interrupt for event REGION0WA

     

Set

1

Enable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

B RW

REGION0RA

   

Write '1' to enable interrupt for event REGION0RA

     

Set

1

Enable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

C RW

REGION1WA

   

Write '1' to enable interrupt for event REGION1WA

     

Set

1

Enable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

D RW

REGION1RA

   

Write '1' to enable interrupt for event REGION1RA

     

Set

1

Enable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

E RW

REGION2WA

   

Write '1' to enable interrupt for event REGION2WA

     

Set

1

Enable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

F RW

REGION2RA

   

Write '1' to enable interrupt for event REGION2RA

     

Set

1

Enable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

G RW

REGION3WA

   

Write '1' to enable interrupt for event REGION3WA

     

Set

1

Enable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

H RW

REGION3RA

   

Write '1' to enable interrupt for event REGION3RA

     

Set

1

Enable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

I RW

PREGION0WA

   

Write '1' to enable interrupt for event PREGION0WA

     

Set

1

Enable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

J RW

PREGION0RA

   

Write '1' to enable interrupt for event PREGION0RA

     

Set

1

Enable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

K RW

PREGION1WA

   

Write '1' to enable interrupt for event PREGION1WA

     

Set

1

Enable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

L RW

PREGION1RA

   

Write '1' to enable interrupt for event PREGION1RA

     

Set

1

Enable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

NMIENCLR

Address offset: 0x328

Disable interrupt

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID         L K J I                                 H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID Access Field Value ID Value Description
A RW

REGION0WA

   

Write '1' to disable interrupt for event REGION0WA

     

Clear

1

Disable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

B RW

REGION0RA

   

Write '1' to disable interrupt for event REGION0RA

     

Clear

1

Disable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

C RW

REGION1WA

   

Write '1' to disable interrupt for event REGION1WA

     

Clear

1

Disable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

D RW

REGION1RA

   

Write '1' to disable interrupt for event REGION1RA

     

Clear

1

Disable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

E RW

REGION2WA

   

Write '1' to disable interrupt for event REGION2WA

     

Clear

1

Disable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

F RW

REGION2RA

   

Write '1' to disable interrupt for event REGION2RA

     

Clear

1

Disable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

G RW

REGION3WA

   

Write '1' to disable interrupt for event REGION3WA

     

Clear

1

Disable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

H RW

REGION3RA

   

Write '1' to disable interrupt for event REGION3RA

     

Clear

1

Disable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

I RW

PREGION0WA

   

Write '1' to disable interrupt for event PREGION0WA

     

Clear

1

Disable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

J RW

PREGION0RA

   

Write '1' to disable interrupt for event PREGION0RA

     

Clear

1

Disable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

K RW

PREGION1WA

   

Write '1' to disable interrupt for event PREGION1WA

     

Clear

1

Disable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

L RW

PREGION1RA

   

Write '1' to disable interrupt for event PREGION1RA

     

Clear

1

Disable

     

Disabled

0

Read: Disabled

     

Enabled

1

Read: Enabled

PERREGION[n].SUBSTATWA (n=0..1)

Address offset: 0x400 + (n × 0x8)

Source of event/interrupt in region n, write access detected while corresponding subregion was enabled for watching

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID Access Field Value ID Value Description
A-f RW

SR[i] (i=0..31)

   

Subregion i in region n (write '1' to clear)

     

NoAccess

0

No write access occurred in this subregion

     

Access

1

Write access(es) occurred in this subregion

PERREGION[n].SUBSTATRA (n=0..1)

Address offset: 0x404 + (n × 0x8)

Source of event/interrupt in region n, read access detected while corresponding subregion was enabled for watching

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID Access Field Value ID Value Description
A-f RW

SR[i] (i=0..31)

   

Subregion i in region n (write '1' to clear)

     

NoAccess

0

No read access occurred in this subregion

     

Access

1

Read access(es) occurred in this subregion

REGIONEN

Address offset: 0x510

Enable/disable regions watch

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID         L K J I                                 H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID Access Field Value ID Value Description
A RW

RGN0WA

   

Enable/disable write access watch in region[0]

     

Disable

0

Disable write access watch in this region

     

Enable

1

Enable write access watch in this region

B RW

RGN0RA

   

Enable/disable read access watch in region[0]

     

Disable

0

Disable read access watch in this region

     

Enable

1

Enable read access watch in this region

C RW

RGN1WA

   

Enable/disable write access watch in region[1]

     

Disable

0

Disable write access watch in this region

     

Enable

1

Enable write access watch in this region

D RW

RGN1RA

   

Enable/disable read access watch in region[1]

     

Disable

0

Disable read access watch in this region

     

Enable

1

Enable read access watch in this region

E RW

RGN2WA

   

Enable/disable write access watch in region[2]

     

Disable

0

Disable write access watch in this region

     

Enable

1

Enable write access watch in this region

F RW

RGN2RA

   

Enable/disable read access watch in region[2]

     

Disable

0

Disable read access watch in this region

     

Enable

1

Enable read access watch in this region

G RW

RGN3WA

   

Enable/disable write access watch in region[3]

     

Disable

0

Disable write access watch in this region

     

Enable

1

Enable write access watch in this region

H RW

RGN3RA

   

Enable/disable read access watch in region[3]

     

Disable

0

Disable read access watch in this region

     

Enable

1

Enable read access watch in this region

I RW

PRGN0WA

   

Enable/disable write access watch in PREGION[0]

     

Disable

0

Disable write access watch in this PREGION

     

Enable

1

Enable write access watch in this PREGION

J RW

PRGN0RA

   

Enable/disable read access watch in PREGION[0]

     

Disable

0

Disable read access watch in this PREGION

     

Enable

1

Enable read access watch in this PREGION

K RW

PRGN1WA

   

Enable/disable write access watch in PREGION[1]

     

Disable

0

Disable write access watch in this PREGION

     

Enable

1

Enable write access watch in this PREGION

L RW

PRGN1RA

   

Enable/disable read access watch in PREGION[1]

     

Disable

0

Disable read access watch in this PREGION

     

Enable

1

Enable read access watch in this PREGION

REGIONENSET

Address offset: 0x514

Enable regions watch

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID         L K J I                                 H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID Access Field Value ID Value Description
A RW

RGN0WA

   

Enable write access watch in region[0]

     

Set

1

Enable write access watch in this region

     

Disabled

0

Write access watch in this region is disabled

     

Enabled

1

Write access watch in this region is enabled

B RW

RGN0RA

   

Enable read access watch in region[0]

     

Set

1

Enable read access watch in this region

     

Disabled

0

Read access watch in this region is disabled

     

Enabled

1

Read access watch in this region is enabled

C RW

RGN1WA

   

Enable write access watch in region[1]

     

Set

1

Enable write access watch in this region

     

Disabled

0

Write access watch in this region is disabled

     

Enabled

1

Write access watch in this region is enabled

D RW

RGN1RA

   

Enable read access watch in region[1]

     

Set

1

Enable read access watch in this region

     

Disabled

0

Read access watch in this region is disabled

     

Enabled

1

Read access watch in this region is enabled

E RW

RGN2WA

   

Enable write access watch in region[2]

     

Set

1

Enable write access watch in this region

     

Disabled

0

Write access watch in this region is disabled

     

Enabled

1

Write access watch in this region is enabled

F RW

RGN2RA

   

Enable read access watch in region[2]

     

Set

1

Enable read access watch in this region

     

Disabled

0

Read access watch in this region is disabled

     

Enabled

1

Read access watch in this region is enabled

G RW

RGN3WA

   

Enable write access watch in region[3]

     

Set

1

Enable write access watch in this region

     

Disabled

0

Write access watch in this region is disabled

     

Enabled

1

Write access watch in this region is enabled

H RW

RGN3RA

   

Enable read access watch in region[3]

     

Set

1

Enable read access watch in this region

     

Disabled

0

Read access watch in this region is disabled

     

Enabled

1

Read access watch in this region is enabled

I RW

PRGN0WA

   

Enable write access watch in PREGION[0]

     

Set

1

Enable write access watch in this PREGION

     

Disabled

0

Write access watch in this PREGION is disabled

     

Enabled

1

Write access watch in this PREGION is enabled

J RW

PRGN0RA

   

Enable read access watch in PREGION[0]

     

Set

1

Enable read access watch in this PREGION

     

Disabled

0

Read access watch in this PREGION is disabled

     

Enabled

1

Read access watch in this PREGION is enabled

K RW

PRGN1WA

   

Enable write access watch in PREGION[1]

     

Set

1

Enable write access watch in this PREGION

     

Disabled

0

Write access watch in this PREGION is disabled

     

Enabled

1

Write access watch in this PREGION is enabled

L RW

PRGN1RA

   

Enable read access watch in PREGION[1]

     

Set

1

Enable read access watch in this PREGION

     

Disabled

0

Read access watch in this PREGION is disabled

     

Enabled

1

Read access watch in this PREGION is enabled

REGIONENCLR

Address offset: 0x518

Disable regions watch

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID         L K J I                                 H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID Access Field Value ID Value Description
A RW

RGN0WA

   

Disable write access watch in region[0]

     

Clear

1

Disable write access watch in this region

     

Disabled

0

Write access watch in this region is disabled

     

Enabled

1

Write access watch in this region is enabled

B RW

RGN0RA

   

Disable read access watch in region[0]

     

Clear

1

Disable read access watch in this region

     

Disabled

0

Read access watch in this region is disabled

     

Enabled

1

Read access watch in this region is enabled

C RW

RGN1WA

   

Disable write access watch in region[1]

     

Clear

1

Disable write access watch in this region

     

Disabled

0

Write access watch in this region is disabled

     

Enabled

1

Write access watch in this region is enabled

D RW

RGN1RA

   

Disable read access watch in region[1]

     

Clear

1

Disable read access watch in this region

     

Disabled

0

Read access watch in this region is disabled

     

Enabled

1

Read access watch in this region is enabled

E RW

RGN2WA

   

Disable write access watch in region[2]

     

Clear

1

Disable write access watch in this region

     

Disabled

0

Write access watch in this region is disabled

     

Enabled

1

Write access watch in this region is enabled

F RW

RGN2RA

   

Disable read access watch in region[2]

     

Clear

1

Disable read access watch in this region

     

Disabled

0

Read access watch in this region is disabled

     

Enabled

1

Read access watch in this region is enabled

G RW

RGN3WA

   

Disable write access watch in region[3]

     

Clear

1

Disable write access watch in this region

     

Disabled

0

Write access watch in this region is disabled

     

Enabled

1

Write access watch in this region is enabled

H RW

RGN3RA

   

Disable read access watch in region[3]

     

Clear

1

Disable read access watch in this region

     

Disabled

0

Read access watch in this region is disabled

     

Enabled

1

Read access watch in this region is enabled

I RW

PRGN0WA

   

Disable write access watch in PREGION[0]

     

Clear

1

Disable write access watch in this PREGION

     

Disabled

0

Write access watch in this PREGION is disabled

     

Enabled

1

Write access watch in this PREGION is enabled

J RW

PRGN0RA

   

Disable read access watch in PREGION[0]

     

Clear

1

Disable read access watch in this PREGION

     

Disabled

0

Read access watch in this PREGION is disabled

     

Enabled

1

Read access watch in this PREGION is enabled

K RW

PRGN1WA

   

Disable write access watch in PREGION[1]

     

Clear

1

Disable write access watch in this PREGION

     

Disabled

0

Write access watch in this PREGION is disabled

     

Enabled

1

Write access watch in this PREGION is enabled

L RW

PRGN1RA

   

Disable read access watch in PREGION[1]

     

Clear

1

Disable read access watch in this PREGION

     

Disabled

0

Read access watch in this PREGION is disabled

     

Enabled

1

Read access watch in this PREGION is enabled

REGION[n].START (n=0..3)

Address offset: 0x600 + (n × 0x10)

Start address for region n

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID Access Field Value ID Value Description
A RW

START

   

Start address for region

REGION[n].END (n=0..3)

Address offset: 0x604 + (n × 0x10)

End address of region n

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID Access Field Value ID Value Description
A RW

END

   

End address of region.

PREGION[n].START (n=0..1)

Address offset: 0x6C0 + (n × 0x10)

Reserved for future use

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID Access Field Value ID Value Description
A R

START

   

Reserved for future use

PREGION[n].END (n=0..1)

Address offset: 0x6C4 + (n × 0x10)

Reserved for future use

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID Access Field Value ID Value Description
A R

END

   

Reserved for future use

PREGION[n].SUBS (n=0..1)

Address offset: 0x6C8 + (n × 0x10)

Subregions of region n

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID f e d c b a Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID Access Field Value ID Value Description
A-f RW

SR[i] (i=0..31)

   

Include or exclude subregion i in region

     

Exclude

0

Exclude

     

Include

1

Include