| Electronic Components Datasheet Search |
|
AVR32AP Datasheet(PDF) 91 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AVR32AP Datasheet(HTML) 91 Page - ATMEL Corporation |
|
91 / 181 page ![]() 91 32001A–AVR32–06/06 AVR32 Figure 9-2. Example of flow in Debug Mode. 9.2.2 Monitor Mode If the Monitor Mode (MM) bit in the Development Control register (DC) is set, the CPU will enter Debug Mode in Monitor Mode. Instructions are fetched from the monitor code located in the pro- gram memory at the Exception Vector Base Address (EVBA) + 0x01C. The monitor code contains the necessary mechanisms to read and modify CPU and system registers, and memory areas. All other exceptions and interrupts are masked by default when entering Monitor Mode, but the monitor code can explicitly unmask interrupts to allow critical interrupts to be serviced while the system is being debugged. The monitor code will typically communicate with an external debug tool, or (in cases of advanced systems like PDA’s) a debug tool running within the application (self-hosted debug- ger). Communication with the external tool may take place over any communication link present in that device (e.g. USB, RS232), if such a communication line can be reserved for debug purposes. Alternatively, the Debug Communication Mechanism in the OCD system can be used to commu- nicate between the CPU and emulator over the JTAG port. This is a set of OCD registers which can be written by the CPU or emulator, allowing a communication protocol to be developed in software. This mechanism can be used in any privileged CPU mode, including OCD Mode. Monitor Mode is exited with the retd instruction. User code Breakpointed instruction Software debugmonitor SR:D = 1 EV BA +0x300 DC:MM? 1 = Monitor Mode 0 = OCD Mode LR_DBG Instructionsfrom externaldebugger SR:D = 1 Debug Mode retd retd External Debugger DINST Inst Write Register commands |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |