Chapter 30 System/User Mode
355
30.3 Operation
The System/User Mode is designed to work with the memory and stack protection features
of the Rabbit 5000 processor to provide a seamless framework for protection of critical
code. However, there are many levels at which the System/User Mode can be used —
some examples are described here.
30.3.1 Memory Protection Only
At the beginning of the user program, all necessary peripherals are enabled, all peripheral
interrupts to be used are set up for the User Mode, critical memory regions are protected,
stack limits are set, and the various system/memory/stack violation interrupts are enabled.
The processor then enters the User Mode and remains in the User Mode for all operations
(interrupts can be handled however the user desires). Obviously the critical interrupts can
be handled in the System Mode, but at that point the device is typically reset and the error
is logged. Figure 30-1 shows an overview of this level of operation.
Figure 30-1. System/User Mode Setup for Memory Protection Only
Critical
Interrupts
System Mode
User Mode
Application
code
Interrupts
Critical
interrupts
Summary of Contents for Rabbit 5000
Page 1: ...Rabbit 5000 Microprocessor User s Manual 019 0168_E...
Page 11: ...Table of Contents Appendix B Rabbit 5000 Errata 401 B 1 Errata 401 Index 405...
Page 12: ...Rabbit 5000 Microprocessor User s Manual...
Page 20: ...20 Rabbit 5000 Microprocessor User s Manual...
Page 36: ...36 Rabbit 5000 Microprocessor User s Manual...
Page 56: ...56 Rabbit 5000 Microprocessor User s Manual...
Page 92: ...92 Rabbit 5000 Microprocessor User s Manual...
Page 104: ...104 Rabbit 5000 Microprocessor User s Manual...
Page 122: ...122 Rabbit 4000 Microprocessor User s Manual...
Page 142: ...142 Rabbit 5000 Microprocessor User s Manual...
Page 214: ...214 Rabbit 5000 Microprocessor User s Manual...
Page 228: ...228 Rabbit 5000 Microprocessor User s Manual...
Page 280: ...280 Rabbit 5000 Microprocessor User s Manual...
Page 298: ...298 Rabbit 5000 Microprocessor User s Manual...
Page 306: ...306 Rabbit 5000 Microprocessor User s Manual...
Page 314: ...314 Rabbit 5000 Microprocessor User s Manual...
Page 368: ...368 Rabbit 5000 Microprocessor User s Manual...
Page 388: ...388 Rabbit 5000 Microprocessor User s Manual...
Page 396: ...396 Rabbit 5000 Microprocessor User s Manual...
Page 404: ...404 Rabbit 5000 Microprocessor User s Manual...